Browse Source

add an npm script to lint only server components

master
ansuz 1 year ago
parent
commit
6b5118cdc3
1 changed files with 1 additions and 0 deletions
  1. 1
      package.json

1
package.json

@ -40,6 +40,7 @@
"package": "PACKAGE=1 node server.js",
"lint": "jshint --config .jshintrc --exclude-path .jshintignore . && ./node_modules/lesshint/bin/lesshint -c ./.lesshintrc ./customize.dist/src/less2/",
"lint:js": "jshint --config .jshintrc --exclude-path .jshintignore .",
"lint:server": "jshint --config .jshintrc lib",
"lint:less": "./node_modules/lesshint/bin/lesshint -c ./.lesshintrc ./customize.dist/src/less2/",
"flow": "./node_modules/.bin/flow",
"test": "node scripts/TestSelenium.js",

Loading…
Cancel
Save