feature(package) watch:lint:server

This commit is contained in:
coderaiser 2018-08-21 18:27:27 +03:00
parent 3a740330ec
commit 571df9cd06

View file

@ -48,7 +48,7 @@
"build:start": "redrun build:client start",
"build:start:dev": "redrun build:client:dev start:dev",
"lint": "redrun lint:*",
"lintjs": "redrun lint:client lint:server lint:test",
"lint:js": "redrun lint:client lint:server lint:test",
"lint:server": "eslint -c .eslintrc.server $npm_package_config_dirs --ignore-pattern *.spec.js",
"lint:test": "eslint $npm_package_config_dirs_test",
"lint:client": "eslint --env browser client",
@ -92,7 +92,8 @@
"watch:client:dev": "redrun 6to5:client:dev -- --watch",
"watch:server": "nodemon bin/cloudcmd.js",
"watch:lint": "nodemon -w client -w server -w webpack.config.js -x 'redrun lint:js'",
"watch:lint:client": "nodemon -w client -w webpack.config.js -x 'redrun lint:js:eslint:client'",
"watch:lint:client": "nodemon -w client -w webpack.config.js -x 'redrun lint:client'",
"watch:lint:server": "nodemon -w server -w common -x 'redrun lint:server'",
"watch:test": "nodemon -w client -w server -w test -w common -x \"npm test\"",
"watch:test:client": "nodemon -w client -w test/client -x \"npm run test:client\"",
"watch:test:server": "nodemon -w client -w test/client -x \"npm run test:server\"",