1.4.0 • Published 8 years ago

js-pb v1.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

javascript-package-boilerplate

version status dependencies devDependencies

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

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago