-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
149 lines (149 loc) · 4.9 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
{
"name": "weaveworks-ui-components",
"version": "0.22.8",
"description": "",
"main": "index.js",
"engines": {
"node": ">=8"
},
"scripts": {
"ci": "yarn lint && yarn test",
"lint": "eslint src docs styleguide && stylelint src",
"test": "jest",
"build": "yarn build:theme && yarn build:utils && yarn build:components && yarn build:index",
"build:theme": "babel src/theme --out-dir lib/theme --ignore '**/*.test.js'",
"build:utils": "babel src/utils --out-dir lib/utils --ignore '**/*.test.js'",
"build:components": "babel src/components --out-dir lib/components --ignore '**/*.test.js,**/example.js'",
"build:index": "babel src/index.js --out-file lib/index.js",
"prepublishOnly": "git push --follow-tags origin && yarn ci && yarn build",
"postpublish": "yarn docs:publish",
"release": "standard-version",
"docs:build": "export NODE_ENV=production; export RELEASE=true; rm -rf dist && webpack --config webpack.config.js",
"docs:copy-images": "cp -R src/images dist",
"docs:s3": "aws --profile default-mfa s3 sync ./dist/ s3://weaveworks-ui-components --acl public-read",
"docs:publish": "yarn docs:build && yarn docs:copy-images && yarn docs:s3",
"docs:analyze": "ANALYZE_BUNDLE=true yarn docs:build",
"start": "node bin/dev-server",
"prettify": "prettier --write '{src,docs,styleguide}/**/*.{js,jsx}'"
},
"jest": {
"setupFiles": [
"./test-shim.js",
"./test-setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": {
"type": "git",
"url": "https://github.com/weaveworks/ui-components.git"
},
"author": "Weaveworks",
"license": "Apache-2.0",
"peerDependencies": {
"@fortawesome/fontawesome-free": "^5.0.0",
"lodash": "^4.17.12",
"moment": "^2.0.0",
"react": "^16.3.0",
"react-dom": "^16.3.0",
"styled-components": "^4.3.2"
},
"dependencies": {
"classnames": "2.2.5",
"d3-drag": "1.2.3",
"d3-format": "1.3.2",
"d3-scale": "2.1.2",
"d3-selection": "1.3.2",
"d3-shape": "1.2.2",
"intersperse": "1.0.0",
"polished": "1.9.0",
"prop-types": "^15.7.2",
"react-input-autosize": "2.2.1",
"react-motion": "0.5.2",
"react-required-if": "^1.0.3",
"react-resize-aware": "2.7.0",
"react-router": "^3.2.6"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.1",
"@fortawesome/fontawesome-free": "^5.5.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-styled-components": "^1.10.7",
"css-loader": "^1.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.4.0",
"eslint": "4.19.1",
"eslint-config-airbnb": "16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-weaveworks": "^1.0.1",
"eslint-loader": "2.0.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "2.12.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "7.6.1",
"expect": "1.20.2",
"extract-text-webpack-plugin": "v4.0.0-beta.0",
"faker": "^4.1.0",
"file-loader": "^2.0.0",
"highlight.js": "10.4.1",
"html-webpack-plugin": "3.2.0",
"husky": "^1.1.3",
"jest": "^26.6.3",
"jest-styled-components": "^6.3.3",
"less": "2.7.2",
"lodash": "^4.17.12",
"marked": "0.3.19",
"moment": "2.21.0",
"node-sass": "^4.14.1",
"prettier": "1.15.2",
"react": "16.9.0",
"react-docgen": "3.0.0-rc.0",
"react-dom": "16.9.0",
"react-hot-loader": "4.3.7",
"react-test-renderer": "16.9.0",
"sass-loader": "7.1.0",
"standard-version": "^9.3.0",
"style-loader": "0.23.0",
"styled-components": "^4.3.2",
"styled-normalize": "^2.2.1",
"stylelint": "^13.13.1",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-custom-processor-loader": "0.4.0",
"stylelint-declaration-use-variable": "^1.7.3",
"stylelint-processor-styled-components": "1.3.1",
"superagent": "^3.6.0",
"terser-webpack-plugin": "^4.2.3",
"url-loader": "^0.5.7",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2"
}
}