-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
62 lines (62 loc) · 1.76 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
{
"name": "vrview-react",
"version": "0.1.0",
"private": true,
"homepage": ".",
"license": "MIT",
"main": "src/index.tsx",
"dependencies": {
"@types/node": "^8.0.14",
"@types/prop-types": "^15.5.2",
"@types/react": "16.0.33",
"@types/react-dom": "16.0.3",
"office-ui-fabric-react": "^5.36.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts-ts": "2.8.0",
"typescript": "^2.3.4"
},
"devDependencies": {
"@types/enzyme": "^3.1.8",
"@types/jest": "^22.1.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"jest": "20.0.4",
"ts-jest": "^22.0.3",
"live-server": "^1.2.0",
"source-map-explorer": "^1.5.0",
"tsutils": "^2.7.1"
},
"scripts": {
"start": "react-scripts-ts start",
"build": "react-scripts-ts build",
"eject": "react-scripts-ts eject",
"test": "jest test --env=jsdom",
"test:update": "jest -u",
"test:watch": "jest --watch",
"test:debug": "jest --debug",
"coverage": "jest --no-cache --coverage",
"analyze": "source-map-explorer build/static/js/main.*"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.test.json"
}
},
"setupFiles": [
"<rootDir>/config/test-shim.js",
"<rootDir>/config/test-setup.js"
],
"mapCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/assetsTransformer.js",
"\\.(css|less)$": "<rootDir>/config/assetsTransformer.js"
},
"roots": ["src"],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js"],
"collectCoverageFrom": ["src/**/*.{tsx,ts}"]
}
}