forked from alibaba/BizCharts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.94 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
{
"name": "bizcharts",
"version": "3.2.2",
"description": "A powerful React chart library based G2 for browser",
"main": "umd/BizCharts.js",
"browser": "umd/BizCharts.js",
"module": "es6/index.js",
"jsnext:main": "es6/index.js",
"types": "typings/index.d.ts",
"files": [
"*.md",
"demo",
"es6",
"lib",
"umd",
"src",
"typings"
],
"keywords": [
"visualization",
"canvas",
"react",
"reactjs",
"chart",
"react-component",
"g2",
"BizCharts"
],
"scripts": {
"build": "npm run build-cjs && npm run build-es6 && rimraf umd && npm run build-umd && npm run build-min",
"build-cjs": "rimraf lib && babel ./src -d lib --plugins=transform-es2015-modules-commonjs",
"build-es6": "rimraf es6 && babel ./src -d es6",
"build-umd": "cross-env NODE_ENV=development webpack src/index.jsx umd/BizCharts.js",
"build-min": "cross-env NODE_ENV=production webpack src/index.jsx umd/BizCharts.min.js",
"demo": "webpack-dev-server --progress --port 3510 --content-base demo --inline --config demo/webpack.config.js",
"testDemo": "webpack-dev-server --progress --port 9000 --content-base testDemo --inline --config testDemo/webpack.config.js",
"test": "cross-env NODE_ENV=test karma start test/karma.conf.js",
"lint": "eslint src",
"autofix": "eslint src --fix",
"bundle-analyse": "cross-env NODE_ENV=analyse webpack src/index.jsx build/BizCharts.js"
},
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/alibaba/BizCharts.git"
},
"author": "bizcharts group",
"bugs": {
"url": "https://github.com/alibaba/BizCharts/issues"
},
"homepage": "https://alibaba.github.io/BizCharts/",
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@antv/g2": "3.2.7",
"invariant": "^2.2.2",
"warning": "^3.0.0",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@antv/data-set": "^0.9.1",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-eslint": "6.1.2",
"babel-loader": "^6.2.8",
"babel-plugin-add-module-exports": "~0.1.2",
"babel-plugin-istanbul": "3.0.0",
"babel-plugin-lodash": "^3.2.10",
"babel-plugin-transform-class-properties": "^6.19.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
"babel-plugin-transform-export-extensions": "^6.8.0",
"babel-plugin-transform-function-bind": "^6.8.0",
"babel-plugin-transform-object-assign": "~6.5.0",
"babel-plugin-transform-object-rest-spread": "^6.19.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "~6.5.0",
"bizcharts-plugin-slider": "2.0.1",
"chai": "^3.5.0",
"chai-enzyme": "^0.5.2",
"core-js": "2.5.3",
"cross-env": "^3.1.4",
"enzyme": "^2.6.0",
"escope": "^3.6.0",
"eslint": "^3.8.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-config-ais": "0.0.16",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-jsx-a11y": "^2.2.0",
"eslint-plugin-react": "^6.4.1",
"estraverse-fb": "^1.3.1",
"interface-es6": "1.0.1",
"json-loader": "^0.5.4",
"karma": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.0.0",
"karma-coveralls": "^1.1.2",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.1",
"lodash-webpack-plugin": "^0.10.5",
"mocha": "^3.1.0",
"pre-commit": "^1.1.3",
"react": "16.0.0",
"react-addons-test-utils": "^15.4.1",
"react-dom": "16.0.0",
"react-hot-loader": "^1.3.0",
"react-router": "^3.0.1",
"rimraf": "^2.5.3",
"sinon": "^1.17.0",
"webpack": "^2.2.0",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-dev-server": "^2.2.0"
},
"license": "MIT",
"directories": {
"doc": "doc",
"test": "test"
}
}