Skip to content

Commit d9411b9

Browse files
author
Kent C. Dodds
authored
Update package.json
1 parent 65f004c commit d9411b9

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

package.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@
1010
"add-contributor": "kcd-scripts contributors add",
1111
"build": "kcd-scripts build",
1212
"lint": "kcd-scripts lint",
13-
"test": "kcd-scripts test && npm run -s test:cypress",
14-
"test:update": "npm test -- --updateSnapshot --coverage",
15-
"test:cypress:serve": "node_modules/.bin/serve --clipless --local --port 13370 ./cypress/fixtures/test-app",
16-
"test:cypress:servestop": "node_modules/.bin/fkill :13370",
17-
"test:cypress:run": "CYPRESS_videoRecording=false CYPRESS_screenshotOnHeadlessFailure=false node_modules/.bin/cypress run",
18-
"test:cypress:runandservestop": "node_modules/.bin/npm-run-all --silent --serial --continue-on-error test:cypress:run test:cypress:servestop",
19-
"test:cypress:open": "node_modules/.bin/cypress open",
20-
"test:cypress:openandservestop": "node_modules/.bin/npm-run-all --silent --serial --continue-on-error test:cypress:open test:cypress:servestop",
21-
"test:cypress:ci": "node_modules/.bin/npm-run-all --silent --parallel test:cypress:serve test:cypress:runandservestop",
22-
"test:cypress:dev": "node_modules/.bin/npm-run-all --silent --parallel test:cypress:serve test:cypress:openandservestop",
23-
"test:cypress": "( [ ${CI} ] && npm run -s test:cypress:ci ) || ( [ ! ${CI} ] && npm run -s test:cypress:dev )",
13+
"test": "npm-run-all --parallel test:unit test:cypress:ci",
14+
"test:unit": "kcd-scripts test --no-watch",
15+
"test:unit:watch": "kcd-scripts test",
16+
"test:cypress:serve": "serve --clipless --local --port 13370 ./cypress/fixtures/test-app",
17+
"test:cypress:run": "cypress run",
18+
"test:cypress:open": "cypress open",
19+
"test:cypress": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:run",
20+
"test:cypress:dev": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:open",
2421
"validate": "kcd-scripts validate build,lint,test",
2522
"setup": "npm install && npm run validate -s",
2623
"precommit": "kcd-scripts precommit"
@@ -46,7 +43,6 @@
4643
},
4744
"devDependencies": {
4845
"cypress": "^2.1.0",
49-
"fkill-cli": "^4.1.0",
5046
"kcd-scripts": "^0.37.0",
5147
"npm-run-all": "^4.1.2",
5248
"serve": "^6.5.4"

0 commit comments

Comments
 (0)