/
package.json
98 lines (98 loc) 路 2.99 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
{
"name": "mcs-lite-ui",
"version": "0.8.13",
"description": "Common UI used by MCS Lite",
"repository": "MCS-Lite/mcs-lite",
"author": "Michael Hsu <evenchange4@gmail.com>",
"bugs": {
"url": "https://github.com/MCS-Lite/mcs-lite/issues",
"email": "evenchange4@gmail.com"
},
"homepage": "https://github.com/MCS-Lite/mcs-lite#readme",
"files": ["lib"],
"main": "lib/index.js",
"license": "MIT",
"scripts": {
"clean": "rm -rf lib",
"start": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"prebuild": "npm run clean",
"build":
"NODE_ENV=production babel src --out-dir lib --ignore example.js,test.js",
"createEntryFile": "exports-all 'lib/[A-Z]*' 'lib/index.js'",
"postbuild": "npm run createEntryFile",
"test": "NODE_ENV='test' TZ='UTC' jest --coverage --runInBand",
"test:watch": "npm run test -- --watch"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/setupTests.js",
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}",
"!src/**/*.example.{js,jsx}"
],
"testPathIgnorePatterns": ["<rootDir>/node_modules/", "<rootDir>/lib/"]
},
"devDependencies": {
"@storybook/addon-actions": "3.4.5",
"@storybook/addon-info": "3.4.5",
"@storybook/addon-options": "3.4.5",
"@storybook/addon-storyshots": "3.4.5",
"@storybook/react": "3.4.5",
"babel-cli": "6.26.0",
"babel-preset-mcs-lite": "^0.3.38",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.3",
"flow-bin": "0.72.0",
"jest": "20.0.4",
"jest-specific-snapshot": "0.5.0",
"jest-styled-components": "next",
"mcs-lite-icon": "^0.3.40",
"mcs-lite-scripts": "^0.3.40",
"mcs-lite-theme": "^0.4.13",
"polished": "1.9.2",
"raf": "3.4.0",
"react": "16.3.2",
"react-addons-test-utils": "15.6.2",
"react-dom": "16.3.2",
"react-test-renderer": "16.3.2",
"styled-components": "3.2.6",
"svgr": "1.9.1"
},
"dependencies": {
"bowser": "^1.9.3",
"copy-to-clipboard": "^3.0.8",
"create-react-class": "^15.6.3",
"date-fns": "^1.29.0",
"dom-align": "^1.6.7",
"flubber": "^0.4.2",
"left-pad": "^1.3.0",
"prop-types": "^15.6.1",
"raf-throttle": "^2.0.3",
"ramda": "^0.25.0",
"react-cookie": "^1.0.5",
"react-dnd-dropzone": "^1.0.0",
"react-hammerjs": "^0.5.0",
"react-motion": "^0.5.2",
"react-motion-ui-pack": "^0.10.3",
"react-overlay-pack": "^2.0.0",
"react-overlays": "^0.8.3",
"react-render-to-json": "^0.0.6",
"react-svg-morph": "^0.1.10",
"react-syntax-highlighter": "^7.0.2",
"react-text-truncate": "^0.13.1",
"react-virtualized": "^9.18.5",
"react-waypoint": "^8.0.1",
"recharts": "^1.0.0-beta.10",
"recompose": "^0.26.0",
"rxjs": "^5.5.10",
"svgr.macro": "^1.0.4"
},
"peerDependencies": {
"mcs-lite-icon": "^0.3.10",
"mcs-lite-theme": "^0.4.1",
"react": "^15.0.0 || ^16.0.0",
"styled-components": "^3.0.0"
}
}