forked from heedrox/cypress-cucumber-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "cypress-cucumber-example",
"version": "1.0.0",
"description": "An example for Cypress and Cucumber usage",
"main": "index.js",
"scripts": {
"cypress:open:local": "CYPRESS_ENV=localhost npm run cypress:open",
"cypress:open:prod": "CYPRESS_ENV=production npm run cypress:open",
"cypress:open": "cypress open",
"test:local": "CYPRESS_ENV=localhost npm run test",
"test:prod": "CYPRESS_ENV=production npm run test",
"test": "cypress run --env TAGS='@e2e-test' --spec 'cypress/integration/**/*.feature'",
"test:debug:local": "CYPRESS_ENV=localhost npm run test:debug",
"test:debug:prod": "CYPRESS_ENV=production npm run test:debug",
"test:debug": "cypress run --headed --browser chrome --env TAGS='@e2e-test' --spec 'cypress/integration/**/*.feature'",
"test:pull-features": "git submodule update --remote gherkin-features && cp -rf gherkin-features/* cypress/integration && node ./scripts/remove-old-features.js"
},
"author": "",
"license": "Private",
"dependencies": {
"axios": "^0.18.0",
"cypress": "^3.1.5",
"cypress-cucumber-preprocessor": "^1.9.1",
"fs-extra": "^7.0.1",
"glob": "^7.1.3"
},
"devDependencies": {
"eslint": "^5.13.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-prettier": "^2.6.0"
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint",
"git add"
]
}
}