-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
127 lines (127 loc) · 4.01 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "sample-app-web",
"homepage": "https://www.saucedemo.com",
"version": "3.0.0",
"private": true,
"dependencies": {
"@backtrace-labs/react": "^0.0.5",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.1",
"husky": "^6.0.0",
"js-cookie": "^2.2.1",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-app-polyfill": "^2.0.0",
"react-burger-menu": "^3.0.6",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"web-vitals": "^1.1.1"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-private-methods": "^7.13.0",
"@babel/preset-env": "^7.13.12",
"@babel/register": "^7.13.14",
"@backtrace-labs/javascript-cli": "^0.1.2",
"@storybook/addon-actions": "^6.2.5",
"@storybook/addon-essentials": "^6.2.5",
"@storybook/addon-links": "^6.2.5",
"@storybook/node-logger": "^6.2.5",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.5",
"@wdio/cli": "^7.3.1",
"@wdio/jasmine-framework": "^7.3.1",
"@wdio/local-runner": "^7.3.1",
"@wdio/sauce-service": "^7.3.1",
"@wdio/spec-reporter": "^7.3.1",
"@wdio/sync": "^7.3.1",
"chromedriver": "^119.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.1",
"prop-types": "^15.7.2",
"screener-storybook": "^0.21.2",
"storybook-react-router": "^1.0.8",
"wait-on": "^5.3.0",
"wdio-chromedriver-service": "^7.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test.coverage": "react-scripts test --coverage --watchAll=false",
"test.coverage.watch": "react-scripts test --coverage --watchAll",
"test.e2e.local": "wdio test/e2e/configs/wdio.local.chrome.conf.js",
"test.e2e.sauce.eu": "REGION=eu wdio test/e2e/configs/wdio.saucelabs.conf.js",
"test.e2e.sauce.us": "wdio test/e2e/configs/wdio.saucelabs.conf.js",
"test.e2e.sauce.us-orchestrate": "wdio test/e2e/configs/wdio.saucelabs-orchestrate.conf.js",
"test.lint": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"test.storybook.ci": "screener-storybook --conf test/visual/storybook/ci.config.js",
"test.storybook.desktop": "screener-storybook --conf test/visual/storybook/desktop.config.js",
"test.storybook.mobile": "screener-storybook --conf test/visual/storybook/mobile.config.js",
"storybook": "start-storybook -p 6006 -s public",
"build.storybook": "build-storybook -s public",
"postbuild.storybook": "cd scripts && ./postbuild.sh",
"backtrace.sourcemaps": "backtrace-js run"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"ie 11"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.stories.{js,jsx,ts,tsx}",
"!src/index.{js,jsx,ts,tsx}",
"!src/service-worker.{js,jsx,ts,tsx}",
"!src/serviceWorkerRegistration.{js,jsx,ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"\\.(jpg|png|svg)$": "<rootDir>/src/utils/__mocks__/fileMock.js"
}
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"husky": {
"hooks": {
"pre-push": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
}
}