$ npm install
$ npm run dev
First build the app
$ npm run build
Then serve the app
$ npm run serve
To run all tests
$ npm run test
To run tests on files's changes
$ npm run test -- --watch
To run test of a specific file, install jest globally (npm install -g jest
) and do a jest your-file.js
or do this command
$ npm run test -- --findRelatedTests my-file.js
$ npm run validate
... is a shortcut which runs eslint, tests and verify that packages aren't outdated.