0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

chore: add new script to lint js only

This commit is contained in:
Juan Picado @jotadeveloper 2018-12-05 23:57:55 +01:00
parent 523446f9f4
commit 545a627c03
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -177,7 +177,8 @@
"test:all": "npm run build:webui && npm run test && npm run test:functional && npm run test:e2e && npm run test:size",
"pre:ci": "npm run lint && npm run build:webui",
"coverage:publish": "codecov",
"lint": "npm run flow && eslint . && npm run lint:css",
"lint": "npm run flow && npm run lint:js && npm run lint:css",
"lint:js": "eslint . ",
"lint:css": "stylelint 'src/**/*.scss' --syntax scss",
"dev:start": "cross-env BABEL_ENV=registry babel-node src/lib/cli",
"code:build": "cross-env BABEL_ENV=registry babel src/ --out-dir build/ --ignore src/webui/ --copy-files",