-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.13 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
{
"name": "single-spa-juicy-team",
"version": "1.0.0",
"description": "Single SPA With React And Typescript",
"private": true,
"dependencies": {
"react": "17.0.1",
"react-dom": "17.0.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
"single-spa": "^5.8.3",
"single-spa-layout": "^1.3.0",
"single-spa-react": "^3.2.0",
"typescript": "^4.1.3",
"worktime": "git+https://github.com/mun4kin/single-spa-app.git#master"
},
"devDependencies": {
"@babel/helper-builder-react-jsx": "^7.10.4",
"@types/jest": "24.0.13",
"@types/node": "^12.0.2",
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"@types/react-router-dom": "^5.1.7",
"@types/single-spa-react": "^3.0.1",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "^0.3.7",
"eslint-loader": "^4.0.2",
"eslint-plugin-unused-imports": "^1.0.1",
"react-app-rewired": "^2.1.8",
"react-generator-cmd": "^1.5.2"
},
"scripts": {
"clear": "rimraf node_modules/worktime && rimraf yarn.lock && yarn && yarn start",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "node scripts/test.js",
"rflink": "yarn link worktime && yarn link react && yarn link react-dom && yarn link react-router-dom",
"rfunlink": "yarn unlink worktime && yarn unlink react && yarn unlink react-dom && yarn unlink react-router-dom && yarn",
"g": "node node_modules/react-generator-cmd/dist"
},
"eslintConfig": {
"extends": "react-app",
"settings": {
"ignorePatterns": [
"src/source/"
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jest-environment-jsdom-fourteen",
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"babel": {
"presets": [
"react-app"
],
"plugins": [
"@babel/plugin-transform-react-jsx"
]
}
}