mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
feature(package) watch:lint:server
This commit is contained in:
parent
3a740330ec
commit
571df9cd06
1 changed files with 3 additions and 2 deletions
|
|
@ -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\"",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue