dummy
Dummy project - used as a starting point for new libraries
Init project
- Download latest zip
- Extract entire folder (including .gitignore, .npmignore and .travis.yml files) to a new location
- Edit :
- package.json
- README.md (links at the end)
git init
git add --all
git commit -m 'Initial commit'
- Create a new repository on GitHub. (DO NOT INITIALIZE IT)
- Push the initial code to GitHub (the two commands to use are provided at the end of the new repository wizard)
Install a new dependency
You may go on http://www.npmjs.org and look for an interesting project
After you will enter
npm install theNameOfTheProject --save
This will add this dependency in package.json
You can then load it in the project with a usual require('theNameOfTheProject')
Configure release hooks
First release
- Build using the lactame interface
- On your computer:
git pull
(get code from fresh release, especially version number)npm publish
npm author add cheminfo-bot dummy
Next releases
- Build using the lactame interface
- Publish on NPM using the same interface (NPM button)