ccmtypes
v1.2.6
Published
# To publish to npm registery:
Downloads
7
Readme
Boilerplate for an npm package.
To publish to npm registery:
npm run build
- Make sure to change the version in package.json
npm login
npm publish
To install from git repository:
- Make sure to keep the dist folder and to not add it to gitignore. It's the most important one. It's where the code lies.
- Add the following dependency to the package.json: "nameOfThePackage": "[email protected]:FinalVossler/Node-Micro-Bundle.git#master" or "nameOfThePackage": "git+https://github.com/FinalVossler/Node-Micro-Bundle.git#master"
npm install
Good to know:
- I had to add this line in package.json for the types to be visible in another typescript project "types": "dist/index.d.ts",