1.1.0 • Published 10 years ago
oss-template v1.1.0
oss-template
A template repository for OSS npm packages.
Usage
git clone git@github.com:jonathanewerner/oss-template.git <your-new-project-name>
cd <your-new-project-name>
rm -rf .git
npm install
npm run validate # check that skeleton code worksThen some manual steps:
- Change package.json
name,description,keywords,repository,authoretc. - Create new repo for project on github
git initgit remote add <your-new-repo-origin>- Adapt badge links to repo name
semantic-release-cli setupEdit
.travis.ymlby adding / changing to the following:before_install: - npm i -g npm@^3.0.0 script: - npm run validate after_success: - npm run report-coverage && npm run semantic-release branches: only: - masterChange name in line 2 of the LICENCE file.
greenkeeper enable(npm install -g greenkeeper && greenkeeper loginif not installed)