0.0.2 • Published 7 years ago

cphjs-inst-dev-env v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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",
    ...