forked from segmentio/evergreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
203 lines (203 loc) · 6.03 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"name": "evergreen-ui",
"version": "6.8.1",
"description": "🌲 React UI Kit by Segment 🌲",
"contributors": [
"Jeroen Ransijn (https://jssr.design/)",
"Roland Warmerdam (https://roland.codes)",
"Matt Shwery (https://mattshwery.com)",
"Colin Lohner (https://www.colinlohner.com)",
"Allen Kleiner (http://allenk.me/)",
"Chris Chuck (https://github.com/Chrischuck)"
],
"keywords": [
"evergreen",
"segment",
"ui",
"react"
],
"repository": "segmentio/evergreen",
"license": "MIT",
"main": "commonjs/index.js",
"module": "esm/index.js",
"unpkg": "umd/evergreen.min.js",
"types": "index.d.ts",
"files": [
"commonjs",
"esm",
"umd",
"index.d.ts",
"codemods"
],
"sideEffects": false,
"scripts": {
"test": "yarn lint && yarn tsd && yarn jest",
"test:watch": "yarn run test -- --watch",
"lint": "eslint \"src/**/*.js\" --cache",
"prepublishOnly": "rm -rf esm commonjs umd && yarn build",
"dev": "start-storybook -p 6006",
"create-package": "./tools/create-package.js",
"create-package:components": "./tools/create-package-components.js",
"generate-icons": "./tools/generate-icons.js",
"build-storybook": "build-storybook",
"build-commonjs": "BABEL_ENV=commonjs babel src --out-dir commonjs --ignore '**/stories','**/test' --source-maps inline",
"build-esm": "BABEL_ENV=esm babel src --out-dir esm --ignore '**/stories','**/test' --source-maps inline",
"build-umd": "rollup -c",
"build": "yarn generate-icons && concurrently --names 'commonjs,esm,umd' 'yarn build-commonjs' 'yarn build-esm' 'yarn build-umd'",
"size": "size-limit",
"clean": "git clean -Xdf",
"release": "np",
"deploy-docs": "cd docs && yarn install && yarn deploy",
"postpublish": "branch=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD); if [[ $branch == \"master\" ]]; then yarn deploy-docs; else echo \"not on main branch, skipping docs deploy\"; fi;",
"storybook": "start-storybook -p 6006",
"chromatic": "npx chromatic"
},
"engines": {
"node": ">=12"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@segment/react-tiny-virtual-list": "^2.2.1",
"@types/react": "^16.9.5",
"@types/react-transition-group": "^4.4.0",
"arrify": "^1.0.1",
"classnames": "^2.2.6",
"downshift": "^5.2.0",
"fuzzaldrin-plus": "^0.6.0",
"glamor": "^2.20.40",
"lodash.debounce": "^4.0.8",
"lodash.merge": "^4.6.2",
"prop-types": "^15.6.2",
"react-fast-compare": "^3.2.0",
"react-transition-group": "^4.4.1",
"tinycolor2": "^1.4.1",
"tsd": "^0.19.1",
"ui-box": "^5.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0",
"react-is": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-private-methods": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@blueprintjs/icons": "^3.31.0",
"@reactions/component": "^2.0.2",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@size-limit/preset-big-lib": "^4.5.4",
"@storybook/addon-essentials": "^6.0.21",
"@storybook/addon-options": "^5.3.21",
"@storybook/addons": "^6.0.21",
"@storybook/react": "^6.0.21",
"@storybook/theming": "^6.0.21",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^13.1.9",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.1.0",
"babel-plugin-add-react-displayname": "^0.0.5",
"camelcase": "^5.0.0",
"chromatic": "^5.1.0",
"concurrently": "^4.0.1",
"eslint": "6.2.2",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
"eslint-plugin-standard": "4.0.0",
"faker": "^5.5.3",
"file-loader": "^6.0.0",
"fs-extra": "^7.0.0",
"husky": "^4.0.10",
"jest": "^26.4.2",
"lint-staged": "^10.0.1",
"np": "^6.3.2",
"prettier": "^1.14.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup": "^2.28.2",
"rollup-plugin-terser": "^5.2.0",
"sinon": "^8.1.0",
"size-limit": "^4.5.0",
"starwars-names": "^1.6.0",
"url-loader": "^1.1.2",
"webpack": "^4.43.0",
"yarnhook": "^0.5.1"
},
"resolutions": {
"ansi-regex": "5.0.1"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"useTabs": false
},
"lint-staged": {
"!(codemods|docs)/**/*.js": [
"yarn lint --fix",
"prettier --write"
],
"docs/**/*.{ts,tsx,js,jsx}": [
"yarn --cwd ./docs run lint"
],
"*.{json,md}": [
"prettier --write"
]
},
"jest": {
"setupFilesAfterEnv": [
"./tools/test-setup-after-env"
],
"modulePathIgnorePatterns": [
"<rootDir>/docs/",
"<rootDir>/codemods/",
"<rootDir>/esm/",
"<rootDir>/commonjs/"
]
},
"size-limit": [
{
"path": "commonjs/index.js",
"limit": "287 KB",
"running": false
},
{
"path": "umd/evergreen.min.js",
"limit": "249 KB",
"running": false
},
{
"path": "esm/index.js",
"import": "{ Pane, Text, majorScale, SelectMenu, Menu, AddIcon, RemoveIcon }",
"limit": "65 KB",
"running": false
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-merge": "yarnhook",
"post-checkout": "yarnhook",
"post-rewrite": "yarnhook"
}
}
}