-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
117 lines (117 loc) · 3.41 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
{
"name": "react-openfin",
"version": "1.1.0",
"description": "React utils for openfin app development",
"homepage": "https://www.albertli90.com/openfin-react-latest",
"keywords": [
"openfin",
"react",
"albert"
],
"main": "index.ts",
"scripts": {
"prebuild": "rimraf build",
"build:es2016": "tsc",
"build:copy-files": "node ./scripts/copy-files.js",
"build": "yarn prebuild && yarn build:es2016 && yarn build:copy-files",
"release-staging": "yarn build && npm publish build --registry=https://albertli.ddns.net:9004/repository/npm-private/ --tag beta",
"release": "yarn build && npm publish build --access public",
"test": "jest --clearCache && node scripts/test.js",
"test-coveralls": "node scripts/test.js --coverage --coverageReporters=text-lcov | coveralls"
},
"repository": {
"type": "git",
"url": "[email protected]:openfin-js-app/react-openfin.git"
},
"author": "Wentao Li <[email protected]>",
"license": "MIT",
"dependencies": {
"dexie": "^2.0.4",
"fake-indexeddb": "^2.1.0",
"i18next": "15.0.7",
"openfin-browser-adapter": "^1.0.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^6.0.1",
"redux-openfin": "^1.0.0",
"redux-saga": "^1.0.2"
},
"devDependencies": {
"@material-ui/core": "^4.0.2",
"@types/history": "^4.7.2",
"@types/jest": "^24.0.13",
"@types/react": "^16.8.19",
"@types/react-dom": "^16.8.4",
"@types/react-redux": "^7.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/redux-actions": "^2.6.1",
"babel-jest": "^24.8.0",
"babel-preset-react-app": "^9.0.0",
"coveralls": "^3.0.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"enzyme-to-json": "^3.3.5",
"fs-extra": "^7.0.1",
"jest": "24.7.1",
"jest-environment-jsdom": "^24.8.0",
"jest-environment-jsdom-global": "^1.2.0",
"jest-resolve": "24.7.1",
"jest-watch-typeahead": "0.3.0",
"redux-saga-test-plan": "^4.0.0-beta.2",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.0",
"typescript": "^3.5.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx,js,jsx,mjs}",
"!src/**/*.d.ts",
"!src/utils/use*.ts",
"!src/index.tsx"
],
"setupFiles": [
"<rootDir>/config/polyfills.js",
"<rootDir>/config/jest/setupTests.js"
],
"testMatch": [
"**/__tests__/**/*.{ts,tsx,js,jsx,mjs}",
"**/?(*.)(spec|test).{ts,tsx,js,jsx,mjs}"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"roots": [
"<rootDir>/src"
],
"globals": {},
"testEnvironment": "jest-environment-jsdom-global",
"testURL": "http://localhost",
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.(ts|tsx|js|jsx|mjs)$": "<rootDir>/config/jest/babelTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"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",
"mjs"
]
}
}