@@ -4,79 +4,11 @@ const contents = (options) => `{
4
4
"description": "${ options . description } ",
5
5
"main": "src/index.js",
6
6
"scripts": {
7
- "build": "webpack --mode production",
8
- "start": "cross-env NODE_ENV=localhost node ./scripts/start-server.js",
9
- "lint": "eslint",
10
- "storybook": "start-storybook -h dev-developer.cloud.unity3d.com -c .storybook",
11
- "test": "jest",
12
- "test:generate-output": "jest --json --outputFile=jest-results.json",
13
7
"postinstall": "node ./node_modules/@packagedcomponents/dev-scripts/service-init"
14
8
},
15
- "jest": {
16
- "setupFiles": [
17
- "./.jest/config.js",
18
- "jest-canvas-mock"
19
- ],
20
- "snapshotSerializers": [
21
- "enzyme-to-json/serializer"
22
- ],
23
- "transform": {
24
- "^.+\\\\.jsx?$": "babel-jest"
25
- },
26
- "moduleNameMapper": {
27
- "^.+\\\\.(css|scss)$": "identity-obj-proxy"
28
- }
29
- },
30
9
"author": "Unity Technologies",
31
10
"devDependencies": {
32
- "@packagedcomponents/dev-scripts": "^1.4.7",
33
- "@babel/core": "^7.2.2",
34
- "@babel/plugin-proposal-class-properties": "^7.3.0",
35
- "@babel/preset-env": "^7.3.1",
36
- "@babel/preset-react": "^7.0.0",
37
- "@storybook/addon-jest": "^5.0.5",
38
- "@storybook/addon-options": "^5.0.5",
39
- "babel-eslint": "^10.0.1",
40
- "babel-jest": "^24.1.0",
41
- "babel-loader": "^8.0.5",
42
- "enzyme": "^3.8.0",
43
- "enzyme-adapter-react-16": "^1.9.1",
44
- "enzyme-to-json": "^3.3.5",
45
- "eslint": "^5.3.0",
46
- "eslint-config-airbnb": "^17.1.0",
47
- "eslint-plugin-import": "^2.16.0",
48
- "eslint-plugin-jest": "^22.3.0",
49
- "eslint-plugin-jsx-a11y": "^6.2.1",
50
- "eslint-plugin-react": "^7.13.0",
51
- "identity-obj-proxy": "^3.0.0",
52
- "jest": "^24.1.0",
53
- "jest-canvas-mock": "^2.0.0-beta.1",
54
- "react-test-renderer": "^16.8.1",
55
- "webpack": "^4.31.0",
56
- "webpack-cli": "^3.3.2"
57
- },
58
- "dependencies": {
59
- "@material-ui/core": "^3.9.2",
60
- "@material-ui/icons": "^3.0.2",
61
- "@storybook/addon-knobs": "^5.0.11",
62
- "@storybook/react": "^5.0.11",
63
- "@unity/react-components": "1.3.0",
64
- "classnames": "^2.2.6",
65
- "custom-env": "^1.0.2",
66
- "formik": "^1.5.7",
67
- "highcharts": "^7.0.3",
68
- "dotenv": "^6.0.0",
69
- "highcharts-more": "^0.1.7",
70
- "highcharts-react-official": "^2.0.0",
71
- "moment": "^2.24.0",
72
- "prop-types": "^15.7.1",
73
- "react": "^16.8.1",
74
- "react-copy-to-clipboard": "^5.0.1",
75
- "react-dom": "^16.8.1",
76
- "react-intl": "^2.9.0",
77
- "react-refetch": "^2.0.3",
78
- "uuid": "^3.3.2",
79
- "yup": "^0.26.10"
11
+ "@packagedcomponents/dev-scripts": "^1.4.9",
80
12
}
81
13
}
82
14
` ;
0 commit comments