forked from cypress-io/code-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
17 lines (17 loc) · 817 Bytes
/
Copy pathpackage.json
File metadata and controls
17 lines (17 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"name": "example-before-each-visit",
"description": "Getting code coverage when cy.visit is used in beforeEach hook",
"devDependencies": {
"@babel/core": "7.9.0"
},
"scripts": {
"start": "../../node_modules/.bin/parcel serve index.html",
"build": "../../node_modules/.bin/parcel build index.html",
"serve": "../../node_modules/.bin/serve dist",
"cy:open": "../../node_modules/.bin/cypress open",
"coverage": "../../node_modules/.bin/nyc report --report-dir ./coverage --temp-dir .nyc_output --reporter=lcov",
"coverage:check": "../../node_modules/.bin/nyc report --check-coverage true --lines 100",
"dev": "../../node_modules/.bin/start-test 1234 cy:open",
"dev:dist": "CYPRESS_baseUrl=http://localhost:5000 ../../node_modules/.bin/start-test serve 5000 cy:open"
}
}