1.4.0 • Published 9 years ago
js-pb v1.4.0
javascript-package-boilerplate
Boilerplate for developing javascript packages.
Usage
npm i -g js-pb
mkdir your_project
cd your_project
npm init
js-pb
npm install
Execute js-pb -h
for more information.
Develope with stable Node.js version
Develope a package for the latest Node.js.
package.json
:
{
"main": "index.js",
"scripts": {
"test": "npm run lint && tap test/*.js",
"cov": "tap --cov test/*.js",
"lint": "eslint *.js 'lib/**/*.js' test/*.js bin/*.js",
"coveralls": "COVERALLS_REPO_TOKEN=REPO_TOKEN npm run cov"
},
"devDependencies": {
"eslint": "^2.1.0",
"tap": "^5.0.0"
}
}
Run tests
Command: npm test
Run tests with tap
.
Code lint
Command: npm run lint
Apply eslint
.
Code coverage
Command: npm run coveralls
Upload code coverage data to coveralls.io. Visit the site for more information.
Related
1.4.0
9 years ago
1.3.3
9 years ago
1.3.2
10 years ago
1.3.1
10 years ago
1.3.0
10 years ago
1.2.2
10 years ago
1.2.1
10 years ago
1.2.0
10 years ago
1.1.4
10 years ago
1.1.3
10 years ago
1.1.2
10 years ago
1.1.1
10 years ago
1.1.0
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.1.6
10 years ago
0.1.5
10 years ago
0.1.4
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago