Repo Template: parcel, mocha-chai, eslint.
Install Node.js, start a new repository using this template, create a local clone of your new repository, and run the following console commands within your local copy:
# install dependencies
npm install
# start a local server in development mode
npm start
Action | Command | Description |
---|---|---|
clean | npm run clean |
Clear the production build in the "dist" folder |
build | npm run build |
Create a production build into "dist" |
start | npm run start |
Start a dev server |
lint | npm run lint |
Run static code analysis |
test | npm run test |
Run unit tests |
Item | Reference |
---|---|
Node.js | https://nodejs.org |
Parcel | https://parceljs.org |
Mocha | https://mochajs.org |
Chai Assertion Library | https://www.chaijs.com |
ESLint | https://eslint.org |
Prettier | https://prettier.io |
EditorConfig | https://editorconfig.org |
Website | Reference |
---|---|
Can I Use | https://caniuse.com |
Browserslist | https://browsersl.ist |
convertacolor | https://convertacolor.com |
Polyfill.io | https://polyfill.io |
This template is released under the MIT License.