-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
130 lines (130 loc) · 3.4 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
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "mcs-ui",
"version": "2.2.0",
"description": "mcs-ui",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"files": [
"es",
"lib"
],
"scripts": {
"build": "hsu-scripts build src",
"build-storybook": "build-storybook",
"start": "start-storybook -p 6006",
"test": "NODE_ENV='test' TZ='UTC' jest --coverage --runInBand",
"test:watch": "npm run test -- --watch",
"flow": "flow",
"flow-coverage": "hsu-scripts flow --threshold 89",
"eslint": "eslint ./",
"format": "prettier --write '**/*.{js,json,md,css,yaml,yml}' '*.{js,json,md,css,yaml,yml}'",
"changelog": "conventional-changelog --infile ./CHANGELOG.md --same-file --release-count 0 --output-unreleased"
},
"dependencies": {
"copy-to-clipboard": "^3.0.8",
"d3-color": "^1.2.3",
"date-fns": "^2.0.0-alpha.27",
"debug": "^4.1.1",
"echarts": "^4.2.1-rc.2",
"echarts-for-react": "^2.0.15-beta.0",
"prop-types": "^15.7.2",
"raf-throttle": "^2.0.3",
"ramda": "^0.26.1",
"react-dnd-dropzone": "^1.1.4",
"react-input-files": "^1.1.2",
"react-overlay-pack": "^3.1.1",
"react-spring": "^8.0.8",
"react-topbar-progress-indicator": "^2.0.0",
"react-virtualized": "^9.21.0",
"round-to": "^3.0.0"
},
"peerDependencies": {
"react": "16.8.3",
"styled-components": "^4.0.2"
},
"devDependencies": {
"@storybook/addon-actions": "4.2.0-alpha.10",
"@storybook/addon-info": "4.2.0-alpha.10",
"@storybook/addon-links": "4.2.0-alpha.10",
"@storybook/addon-options": "4.2.0-alpha.10",
"@storybook/addon-storyshots": "4.2.0-alpha.10",
"@storybook/addon-storysource": "4.2.0-alpha.10",
"@storybook/react": "4.2.0-alpha.10",
"codecov": "3.2.0",
"conventional-changelog-cli": "2.0.12",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.10.0",
"enzyme-to-json": "3.3.5",
"eslint": "5.14.1",
"flow-bin": "0.93.0",
"hsu-scripts": "1.0.7",
"husky": "1.3.1",
"jest": "24.1.0",
"jest-specific-snapshot": "2.0.0",
"jest-styled-components": "7.0.0-2",
"lint-staged": "8.1.4",
"polished": "3.0.0",
"prettier": "1.16.4",
"prismjs": "1.15.0",
"react": "16.8.3",
"react-dom": "16.8.3",
"styled-components": "4.1.3"
},
"author": "Michael Hsu <evenchange4@gmail.com>",
"homepage": "https://github.com/Mediatek-Cloud/mcs-ui#readme",
"license": "MIT",
"repository": "https://github.com/Mediatek-Cloud/mcs-ui",
"keywords": [
"mcs",
"mcs-ui",
"mcs-lite-ui",
"react"
],
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/setupTests.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}",
"!src/**/*.example.{js,jsx}"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/es/",
"<rootDir>/lib/"
],
"resetMocks": true,
"resetModules": true,
"coverageThreshold": {
"global": {
"branches": 71,
"functions": 81,
"lines": 88,
"statements": 86
}
}
},
"babel": {
"presets": [
"./node_modules/hsu-scripts/babel.js"
]
},
"eslintConfig": {
"extends": [
"./node_modules/hsu-scripts/eslint.js"
]
},
"lint-staged": {
"*.{js,json,md,css,yaml,yml}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}