oss-template
v1.1.0
Published
A template for OSS npm packages
Downloads
1
Readme
oss-template
A template repository for OSS npm packages.
Usage
git clone [email protected]: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 works
Then some manual steps:
Change package.json
name
,description
,keywords
,repository
,author
etc.Create new repo for project on github
git init
git remote add <your-new-repo-origin>
Adapt badge links to repo name
semantic-release-cli setup
Edit
.travis.yml
by 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: - master
Change name in line 2 of the LICENCE file.
greenkeeper enable
(npm install -g greenkeeper && greenkeeper login
if not installed)