-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 4.63 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "aaqua-web-e2e-prod",
"description": "Playwright tests for aaqua admin and partner web",
"repository": {
"url": "https://bitbucket.org/aaqua/aaqua-web-e2e-prod/src/master/"
},
"license": "MIT",
"main": "index.js",
"scripts": {
"allure": "allure generate ./allure-results --clean && allure open ./allure-report",
"build": "tsc -p tsconfig.json",
"dead-code-analysis": "ts-prune",
"debug": "PWDEBUG=1 cucumber-js src/features/ --name \"$npm_config_scenario\"",
"feature": "cucumber-js src/features/**/\"$npm_config_feature\"",
"format": "prettier .",
"format:non-js": "npm run format -- --ignore-path nonJSFiles.prettierignore --ignore-unknown --check",
"format:write": "npm run format -- --write",
"generateHTMLReport": "node cucumber-report.js",
"generateXmlReport": "node cucumber-junit-converter",
"graphql-types": "graphql-codegen",
"lint": "eslint ./ --ext .js,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"prepare": "if test \"$NODE_ENV\" != \"production\"; then npm run graphql-types ; if [ -d .git ]; then husky install ; fi ; fi",
"scenario": "cucumber-js src/features/ --name \"$npm_config_scenario\"",
"schema-update": "rover graph fetch aaqua-gateway-a4v1c@v7 > src/graphql-schema/schema.graphql",
"snapshotTest": "npx playwright test",
"test:partner:playwright:smoke_tests": "npx playwright test --grep @smoke",
"test:admin": "npx playwright test ./src/tests/moderation/admin",
"test:partner": "cucumber-js src/features/aaqua-partner/**/*.feature",
"test:partner:aaquanomy": "cucumber-js src/features/aaqua-partner/aaquanomy",
"test:partner:analytics": "cucumber-js src/features/aaqua-partner/analytics",
"test:partner:content": "cucumber-js src/features/aaqua-partner/content",
"test:partner:curation_and_targeting": "cucumber-js src/features/aaqua-partner/curation_and_targeting",
"test:partner:moderation": "cucumber-js src/features/aaqua-partner/moderation",
"test:partner:playwright:aaquanomy": "npx playwright test ./src/tests/step_definitions/aaqua_partner/aaquanomy",
"test:partner:playwright:analytics": "npx playwright test ./src/tests/analytics",
"test:partner:playwright:analytics_snapshots": "npx playwright test ./src/tests/snapshots/analytics",
"test:partner:playwright:content": "npx playwright test ./src/tests/content",
"test:partner:playwright:curation_and_targeting": "npx playwright test ./src/tests/curation_and_targeting",
"test:partner:playwright:moderation": "npx playwright test ./src/tests/moderation/partner",
"test:partner:playwright:fnu": "npx playwright test ./src/tests/step_definitions/aaqua_partner/community_and_user_management",
"test:partner:smoke": "npx playwright test --grep \"@application-partner @smoke\"",
"updateSnapshot": "npx playwright test --update-snapshots"
},
"dependencies": {
"@aaqua/aaqua-api-library": "^4.0.0",
"@apollo/client": "^3.6.3",
"@aws-amplify/auth": "^4.5.3",
"@aws-amplify/core": "^4.5.3",
"@cucumber/cucumber": "^7.3.2",
"@cucumber/gherkin": "^17.0.2",
"@cucumber/messages": "^18.0.0",
"@cucumber/pretty-formatter": "^1.0.0-alpha.2",
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/typescript": "^2.4.11",
"@graphql-codegen/typescript-graphql-request": "^4.4.8",
"@graphql-codegen/typescript-operations": "^2.4.0",
"@graphql-codegen/typescript-react-apollo": "^3.2.14",
"@graphql-codegen/typescript-resolvers": "^2.6.4",
"cucumber-console-formatter": "^1.0.0",
"cucumber-junit-convert": "^2.1.1",
"date-fns": "^2.28.0",
"glob": "^8.0.1",
"husky": "^8.0.1",
"jwt-decode": "^3.1.2",
"p-each-series": "^3.0.0",
"react": "^17.0.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"@apollo/rover": "^0.6.0",
"@faker-js/faker": "^6.3.1",
"@playwright/test": "^1.21.1",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.182",
"@types/mime-types": "^2.1.1",
"@types/node": "^16.11.33",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"allure": "^0.0.0",
"allure-playwright": "^2.0.0-beta.16",
"cucumber-html-reporter": "^5.5.0",
"dotenv": "^16.0.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"graphql": "^16.4.0",
"jira-prepare-commit-msg": "^1.6.2",
"playwright": "^1.21.1",
"prettier": "2.6.2",
"standard-version": "^9.3.2",
"ts-node": "^10.7.0",
"ts-prune": "^0.10.3",
"typescript": "^4.6.4"
},
"engines": {
"node": ">=16"
}
}