Browse Source
Merge pull request #246 from chakflying/patch-4
Proj: Add npm lint commands
pull/236/head
Louis Lam
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
package.json
|
|
@ -10,6 +10,9 @@ |
|
|
|
"node": "14.*" |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .", |
|
|
|
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore", |
|
|
|
"lint": "npm run lint:js && npm run lint:style", |
|
|
|
"dev": "vite --host", |
|
|
|
"start": "npm run start-server", |
|
|
|
"start-server": "node server/server.js", |
|
|
|