|
10 | 10 | "add-contributor": "kcd-scripts contributors add", |
11 | 11 | "build": "kcd-scripts build", |
12 | 12 | "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", |
24 | 21 | "validate": "kcd-scripts validate build,lint,test", |
25 | 22 | "setup": "npm install && npm run validate -s", |
26 | 23 | "precommit": "kcd-scripts precommit" |
|
46 | 43 | }, |
47 | 44 | "devDependencies": { |
48 | 45 | "cypress": "^2.1.0", |
49 | | - "fkill-cli": "^4.1.0", |
50 | 46 | "kcd-scripts": "^0.37.0", |
51 | 47 | "npm-run-all": "^4.1.2", |
52 | 48 | "serve": "^6.5.4" |
|
0 commit comments