-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
152 lines (152 loc) · 4.79 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "vcr",
"version": "0.9.62",
"private": true,
"homepage": "http://tv.slyox.de",
"dependencies": {
"@sentry/browser": "^4.0.6",
"axios": "^0.18.0",
"firebase": "^5.4.1",
"font-awesome": "^4.7.0",
"glob": "^7.1.3",
"glob-all": "^3.1.0",
"html-webpack-plugin-crossorigin": "^1.0.8",
"object-assign": "4.1.1",
"promise": "8.0.1",
"purgecss-webpack-plugin": "^1.3.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.3.1",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",
"typesafe-actions": "^2.0.4",
"whatwg-fetch": "^2.0.4"
},
"devDependencies": {
"@firebase/app-types": "^0.3.2",
"@storybook/addon-actions": "^3.2.17",
"@storybook/addon-links": "^3.2.17",
"@storybook/react": "^3.2.17",
"@types/enzyme": "^3.1.13",
"@types/jest": "^23.3.1",
"@types/react": "16.7.18",
"@types/react-dom": "16.0.11",
"@types/react-redux": "^6.0.6",
"@types/react-router": "4.4.3",
"@types/react-router-dom": "4.3.1",
"autoprefixer": "^9.1.3",
"babel-core": "^6.26.3",
"babel-jest": "^23.4.2",
"babel-loader": "^7.1.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-react-app": "^3.1.2",
"babel-runtime": "6.26.0",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"chalk": "^2.4.1",
"css-loader": "^1.0.0",
"dotenv": "^6.0.0",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.0",
"file-loader": "^2.0.0",
"fs-extra": "^7.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.5.0",
"jest-junit": "^5.1.0",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.2",
"moment": "^2.22.2",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-loader": "^3.0.0",
"raf": "^3.4.0",
"react-dev-utils": "^5.0.2",
"style-loader": "^0.23.0",
"sw-precache-webpack-plugin": "^0.11.5",
"ts-jest": "^23.1.4",
"ts-loader": "^4.5.0",
"tslint": "^5.11.0",
"tslint-loader": "^3.6.0",
"typescript": "^3.0.3",
"uglifyjs-webpack-plugin": "^1.3.0",
"url-loader": "^1.1.1",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7",
"webpack-manifest-plugin": "^2.0.3"
},
"jest-junit": {
"suiteName": "jest tests",
"output": "./junit.xml",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.js",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.(css|less)$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"@service/(.*)": "<rootDir>/src/service/$1",
"@components/(.*)": "<rootDir>/src/components/$1",
"@scenes/(.*)": "<rootDir>/src/scenes/$1",
"@converter/(.*)": "<rootDir>/src/converter/$1",
"@environment/(.*)": "<rootDir>/src/environment/$1",
"@model/(.*)": "<rootDir>/src/model/$1",
"@details/(.*)": "<rootDir>/src/details/$1",
"@utils/(.*)": "<rootDir>/src/utils/$1",
"vcr-shared/(.*)": "<rootDir>/src/vcr-shared/$1"
},
"moduleFileExtensions": [
"ts",
"tsx",
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"babel": {
"presets": [
"react-app"
]
},
"scripts": {
"start": "NODE_ENV='development' ./node_modules/.bin/webpack-dev-server -d --config ./config/webpack.config.dev.js",
"replace-title": "node scripts/cd-build-prepare.js",
"build": "node scripts/build.js",
"build-debug": "NODE_ENV='production' webpack --verbose --progress --config ./config/webpack.config.prod.js",
"test": "node scripts/test.js --env=jsdom",
"test-watch": "node scripts/test.js --env=jsdom --verbose --watch",
"test-ci": "node scripts/test.js --coverage --env=jsdom --verbose --ci --reporters=jest-junit",
"storybook": "npm run build-css && npm-run-all -p watch-css start-storybook",
"start-storybook": "start-storybook -p 6006 -c config/storybook",
"build-storybook": "build-storybook"
}
}