Skip to content
Snippets Groups Projects
Commit 6809292a authored by Marc Hanisch's avatar Marc Hanisch
Browse files

adds usage information about running tests and the linter

parent ae4501f5
No related branches found
No related tags found
2 merge requests!57WIP: Feature oidc gfz integrated work,!55npm script for `eslint --fix`
......@@ -29,6 +29,33 @@ $ npm run start
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
#### Running tests
Running all tests:
```bash
$ npm run test
```
Running a specific test:
```bash
$ npm run path/to/test.ts
```
#### Running the linter
Running the linter (eslint) over all `*.js`, `*.ts` and `*.vue` files:
```bash
$ npm run lint
```
Fixing linter problems:
```bash
$ npm run lint:fix path/to/script.ts
```
**Note:** when used with the `npm` script, the linter ignores all files and
directories that are ignored by `.gitignore` (eg. the `dist` folder).
## Run development environment with docker
### Docker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment