forked from segmentio/evergreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.88 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": "evergreen-ui",
"version": "3.1.0",
"description": "🌲 React UI Kit by Segment 🌲",
"contributors": [
"Jeroen Ransijn (https://jssr.design/)",
"Roland Warmerdam (https://roland.codes)"
],
"keywords": ["evergreen", "segment", "ui", "react"],
"repository": "segmentio/evergreen",
"license": "MIT",
"main": "commonjs/index.js",
"module": "esm/index.js",
"files": ["commonjs", "esm"],
"sideEffects": false,
"scripts": {
"test": "xo && ava",
"prepublishOnly": "yarn run build",
"precommit": "lint-staged",
"dev": "start-storybook -p 6006",
"create-package": "./tools/create-package.js",
"create-package:components": "./tools/create-package-components.js",
"create-docs-template": "./tools/create-docs-template.js",
"build-storybook": "build-storybook -s .storybook/static -o .out",
"build-commonjs":
"BABEL_ENV=commonjs babel src --out-dir commonjs --ignore stories,test,docs --source-maps inline",
"build-esm":
"BABEL_ENV=esm babel src --out-dir esm --ignore stories,test,docs --source-maps inline",
"build": "yarn run build-commonjs && yarn run build-esm",
"clean": "git clean -Xdf",
"release": "np --no-publish",
"chromatic":
"chromatic test --storybook-addon --script-name dev --app-code=alj8xoz1ujt"
},
"engines": {
"node": ">=8"
},
"dependencies": {
"arrify": "^1.0.1",
"dom-helpers": "^3.2.1",
"downshift": "^1.16.0",
"fuzzaldrin-plus": "^0.6.0",
"glamor": "^2.20.40",
"lodash.debounce": "^4.0.8",
"lodash.mapvalues": "^4.6.0",
"object-values": "^1.0.0",
"prop-types": "^15.0.0",
"react-scrollbar-size": "^2.0.2",
"react-tiny-virtual-list": "^2.1.4",
"react-transition-group": "^2.2.1",
"ui-box": "^1.1.0"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"@reactions/component": "^2.0.2",
"@storybook/addon-actions": "^3.2.17",
"@storybook/addon-links": "^3.2.17",
"@storybook/addon-options": "^3.2.17",
"@storybook/addons": "^3.2.17",
"@storybook/react": "^3.2.17",
"@storybook/storybook-deployer": "^2.0.0",
"ava": "^0.24.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-xo-react": "^0.14.0",
"eslint-plugin-react": "^7.5.1",
"execa": "^0.8.0",
"file-loader": "^1.1.5",
"fs-extra": "^4.0.3",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"prettier": "^1.9.1",
"react": "^16.2.0",
"react-chromatic": "^0.7.10",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"sinon": "^4.4.2",
"size-limit": "^0.14.0",
"starwars-names": "^1.6.0",
"url-loader": "^0.6.2",
"xo": "^0.18.2"
},
"xo": {
"parser": "babel-eslint",
"extends": ["xo-react", "prettier", "prettier/react"],
"envs": ["browser"],
"space": true,
"semicolon": false,
"rules": {
"indent": ["off"],
"react/jsx-indent-props": ["off"],
"react/jsx-indent": ["off"],
"react/require-default-props": ["off"],
"react/default-props-match-prop-types": ["off"],
"react/forbid-component-props": ["off"],
"react/jsx-no-bind": ["off"],
"unicorn/filename-case": ["off"]
}
},
"prettier": {
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.js": ["xo --fix", "prettier --write", "git add"],
"*.{json,md}": ["prettier --write", "git add"]
},
"ava": {
"files": ["**/test/**/*.js"],
"require": ["babel-register", "./tools/test-setup"],
"babel": "inherit"
},
"size-limit": [
{
"path": "commonjs/index.js",
"limit": "70 KB"
}
]
}