Skip to content

Commit 7d14b89

Browse files
npeterkampsKent C. Dodds
authored andcommitted
chore(deps): Allow Cypress 3 within peerDep. Updated Cypress and serve deps, changed configs and scripts accordingly. (#9)
1 parent ec3b712 commit 7d14b89

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

cypress.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"baseUrl": "http://localhost:13370",
3-
"videoRecording": false,
4-
"screenshotOnHeadlessFailure": false
3+
"video": false
54
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "npm-run-all --parallel test:unit test:cypress",
1414
"test:unit": "kcd-scripts test --no-watch",
1515
"test:unit:watch": "kcd-scripts test",
16-
"test:cypress:serve": "serve --clipless --local --port 13370 ./cypress/fixtures/test-app",
16+
"test:cypress:serve": "serve -l 13370 ./cypress/fixtures/test-app",
1717
"test:cypress:run": "cypress run",
1818
"test:cypress:open": "cypress open",
1919
"test:cypress": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:run",
@@ -42,13 +42,13 @@
4242
"dom-testing-library": "^2.0.0"
4343
},
4444
"devDependencies": {
45-
"cypress": "^2.1.0",
45+
"cypress": "^3.0.1",
4646
"kcd-scripts": "^0.37.0",
4747
"npm-run-all": "^4.1.2",
48-
"serve": "^6.5.6"
48+
"serve": "^7.2.0"
4949
},
5050
"peerDependencies": {
51-
"cypress": "^2.1.0"
51+
"cypress": "^2.1.0 || ^3.0.0"
5252
},
5353
"eslintConfig": {
5454
"extends": "./node_modules/kcd-scripts/eslint.js",

0 commit comments

Comments
 (0)