mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(package) add watch:test:server
This commit is contained in:
parent
c731f706f8
commit
7173808ce4
1 changed files with 3 additions and 2 deletions
|
|
@ -57,9 +57,9 @@
|
|||
"fix:lint:client": "redrun lint:client -- --fix",
|
||||
"fix:lint:test": "redrun lint:test -- --fix",
|
||||
"fix:lint:server": "redrun lint:server -- --fix",
|
||||
"test": "tape 'test/**/*.js' '{client,server}/**/*.spec.js'",
|
||||
"test": "tape 'test/**/*.js' '{client,common,server}/**/*.spec.js'",
|
||||
"test:client": "tape 'test/client/**/*.js'",
|
||||
"test:server": "tape 'test/**/*.js' 'server/**/*.spec.js'",
|
||||
"test:server": "tape 'test/**/*.js' 'server/**/*.spec.js' 'common/**/*.spec.js'",
|
||||
"wisdom": "redrun lint build test",
|
||||
"wisdom:type": "bin/release.js",
|
||||
"docker:pull:node": "docker pull node",
|
||||
|
|
@ -95,6 +95,7 @@
|
|||
"watch:lint:client": "nodemon -w client -w webpack.config.js -x 'redrun lint:js:eslint:client'",
|
||||
"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\"",
|
||||
"watch:coverage": "nodemon -w server -w test -w common -x \"npm run coverage\"",
|
||||
"w:c": "redrun watch:client",
|
||||
"w:c:d": "redrun watch:client:dev",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue