mirror of https://github.com/espruino/BangleApps
Add a lint-modules script
parent
89898f1ce5
commit
22a43725ef
|
@ -14,7 +14,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint-apps": "node bin/sync-lint-exemptions.mjs && eslint ./apps --ext .js",
|
"lint-apps": "node bin/sync-lint-exemptions.mjs && eslint ./apps --ext .js",
|
||||||
"test": "node bin/sanitycheck.js && npm run lint-apps && eslint ./modules --ext .js",
|
"lint-modules": "eslint ./modules --ext .js",
|
||||||
|
"test": "node bin/sanitycheck.js && npm run lint-apps && npm run lint-modules",
|
||||||
"update-local-apps": "./bin/create_apps_json.sh apps.local.json",
|
"update-local-apps": "./bin/create_apps_json.sh apps.local.json",
|
||||||
"local": "npm-watch & npx http-server -a localhost -c-1",
|
"local": "npm-watch & npx http-server -a localhost -c-1",
|
||||||
"start": "npx http-server -c-1"
|
"start": "npx http-server -c-1"
|
||||||
|
|
Loading…
Reference in New Issue