cphjs-inst-dev-env
v0.0.2
Published
Example of an installable dev environment
Downloads
6
Readme
Example of installable dev environment cphjs-inst-dev-env
Included
- bundling with Rollup (ES modules and CJS bundles)
- support for latest ES syntax with Babel
- SCSS support with importing from JS
- linting with ESlint
- autoformatting with Prettier (through ESlint fix editor support)
- testing with Jest
- TDD mode with testing on compiled output
Using
yarn add cphjs-inst-dev-env -D
yarn cphjs-tdd
yarn cphjs-build
yarn cphjs-test
Custom entry point
By default, the entry point is set to index.js
in root folder, but can be changed using entry
entry in package.json
.
...
"entry": "src/entry.js",
...