James Skemp 29271c101d | ||
---|---|---|
.vscode | ||
__tests__ | ||
public | ||
src | ||
.browserslistrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.gitlab-ci.yml | ||
README.md | ||
babel.config.js | ||
jest.config.js | ||
package-lock.json | ||
package.json | ||
tsconfig.build.json | ||
tsconfig.json | ||
vue.config.js |
README.md
vuejs-tutorial
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
Out of the box Vue functionality. Automatically fixes issues when it can, and includes context.
npm run lint
This custom one uses eslint directly, and doesn't automatically fix issues.
npm run eslint
Jest testing
npm run test
npm run test:coverage
For the coverage report:
- % Stmts = percent of statements called
- % Branch = percent of if/switch branches that have been checked
- % Funcs = percent of functions called
- % Lines = percent of lines covered
- Uncovered Line #s = exactly what it sounds like
Check for specific issues
npm run lint | grep require-returns
Generate Docs
This requires that npm install --global typedoc http-server
. See https://typedoc.org/.
npm run docs