es6-workflow v0.6.4
Chialab ES6 workflow
Build bundles, test your code and generate documentation using ES6 modules.
Proposal
- Use
npm
as package manager. - Write your code in the
src
folder. - Write your tests in the
test
folder. - Build your code in the
dist
folder. - Generate documentation in the
docs
folder.
Features
Use
Install this package in your project:
npm install Chialab/es6-workflow --save-dev
Link scripts in your package.json:
...
"scripts": {
"build": "node ./node_modules/es6-workflow/scripts/build.js",
"doc": "node ./node_modules/es6-workflow/scripts/doc.js",
"test": "node ./node_modules/es6-workflow/scripts/test.js"
},
...
Run a script:
npm run build|doc|test
Override configuration
You can override or extend the default SystemJS configuration (or Karma configuration) adding a new system.conf.js
(or karma.conf.js
) file to your project root.
Extras
Run the following script to add ESLint support for your project:
npm run add-eslint
Run the following script to add EditorConfig support for your project:
npm run add-eslint
Run the following script to add TravisCI support for your project:
npm run add-travis
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago