Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUB Terra
SMS
Frontend
Commits
6809292a
Commit
6809292a
authored
4 years ago
by
Marc Hanisch
Browse files
Options
Downloads
Patches
Plain Diff
adds usage information about running tests and the linter
parent
ae4501f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!57
WIP: Feature oidc gfz integrated work
,
!55
npm script for `eslint --fix`
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+27
-0
27 additions, 0 deletions
README.md
with
27 additions
and
0 deletions
README.md
+
27
−
0
View file @
6809292a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment