@FIXME
Landing page for vuelendar vue.js component. See vuelendar at: https://github.com/codesthq/vuelendar
Based on Codest frontend starter kit for vue.js See starter pack: https://github.com/codesthq/frontend-starter-vue
nodejslatest versionnpmlatest version
- Install dependencies:
npm i
To run a development script with file watcher and dev-server run npm start command.
- Run the testing script:
npm test
Build static project
npm run build
@TODO: Add info how to deploy to gh-pages
Run local development instance of the project.
vue-cli-service serve
RUn end to end test on on development instance of the project.
cross-env VUE_APP_TEST=e2e vue-cli-service test:e2e --mode=development
Build the project for production publish.
vue-cli-service build --modern
Build the project for production publish with report.html file with analysis of bundle content.
vue-cli-service build --modern --report
Run all linting scripts on the whole project.
run-s lint:all:*
Run eslint and fix all possible errors on given files.
Used on pre-commit script.
eslint --fix
Run eslint and fix all possible errors on the whole project.
eslint --fix --ext .js,.vue .
Run stylelint and fix all possible errors on given files.
Used on pre-commit script.
stylelint --fix
Run stylelint and fix all possible errors on the whole project.
stylelint --fix "src/**/*.{vue,scss}"
Run prettier on given files.
Used on pre-commit script.
prettier --write --loglevel warn
Run prettier on the whole project.
prettier --write --loglevel warn "**/*.{js,json,css,scss,vue,html}"
Run all unit tests.
cross-env VUE_APP_TEST=unit vue-cli-service test:unit
Run unit tests for given files.
Used on precommit script.
cross-env VUE_APP_TEST=unit vue-cli-service test:unit --bail --findRelatedTests
Run all unit test on watch mode.
cross-env VUE_APP_TEST=unit vue-cli-service test:unit --watch --notify --notifyMode --passWithNoTests change
Run all unit test for CI with coverage and ci option for JEST.
cross-env VUE_APP_TEST=unit vue-cli-service test:unit --coverage --ci
Run all end to end tests.
cross-env VUE_APP_TEST=e2e vue-cli-service test:e2e --headless
Run all tests.
run-s test:unit test:e2e
Run all tests for CI.
run-s test:unit:ci test:e2e
- Mateusz Staniuk mateusz.staniuk@codesthq.com