UNPKG

5.14 kBJSONView Raw
1{
2 "name": "bizcharts",
3 "version": "4.1.11",
4 "description": "bizcharts",
5 "keywords": [
6 "bizcharts",
7 "g2"
8 ],
9 "author": "leannechn",
10 "license": "MIT",
11 "homepage": "https://bizcharts.net",
12 "repository": {
13 "type": "git",
14 "url": "https://github.com/alibaba/BizCharts"
15 },
16 "files": [
17 "lib",
18 "src",
19 "umd",
20 "es",
21 "manifest.json"
22 ],
23 "main": "lib/index.js",
24 "types": "lib/index.d.ts",
25 "module": "es/index.js",
26 "browser": "umd/BizCharts.js",
27 "scripts": {
28 "build": "run-s clean lib:* build:*",
29 "build:umd": "cross-env NODE_ENV=development gulp",
30 "build:min": "cross-env NODE_ENV=production gulp",
31 "clean": "rimraf lib es umd",
32 "lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
33 "lib:es": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir es",
34 "fix": "tslint 'src/**/*.ts?(x)' --project tsconfig.json",
35 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
36 "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
37 "prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish",
38 "prettier": "prettier -c --write **/*",
39 "start": "npm run storybook",
40 "test": "jest",
41 "test-live": "DEBUG_MODE=1 cross-env RTL_SKIP_AUTO_CLEANUP=true jest --watch",
42 "storybook": "start-storybook -p 9004",
43 "uitest:snapshot": "ice-chart-develop-cli test-multi-snapshot",
44 "uitest": "ice-chart-develop-cli test-multi",
45 "analyze": "webpack --profile --json > umd/stats.json && webpack-bundle-analyzer ./umd/stats.json"
46 },
47 "dependencies": {
48 "@antv/component": "*",
49 "@antv/g2": "4.1.19",
50 "@antv/g2plot": "2.3.25",
51 "@antv/util": "*",
52 "@babel/plugin-transform-modules-commonjs": "^7.12.1",
53 "@babel/plugin-transform-runtime": "^7.12.10",
54 "@juggle/resize-observer": "^3.3.1",
55 "babel-plugin-transform-replace-object-assign": "^2.0.0",
56 "d3-color": "^1.4.1",
57 "react-error-boundary": "3.0.2",
58 "react-reconciler": "^0.25.1",
59 "simple-statistics": "^7.1.0",
60 "warning": "^4.0.3"
61 },
62 "peerDependencies": {},
63 "devDependencies": {
64 "@antv/data-set": "^0.11.4",
65 "@babel/cli": "^7.7.7",
66 "@babel/core": "^7.7.7",
67 "@babel/preset-env": "^7.7.7",
68 "@babel/preset-es2015": "^7.0.0-beta.53",
69 "@babel/register": "^7.7.5",
70 "@babel/runtime": "^7.7.7",
71 "@storybook/addon-actions": "^5.1.11",
72 "@storybook/addon-backgrounds": "^5.2.5",
73 "@storybook/addon-docs": "^5.3.18",
74 "@storybook/addon-info": "^5.2.5",
75 "@storybook/addon-knobs": "^5.2.5",
76 "@storybook/addon-links": "^5.1.11",
77 "@storybook/addon-options": "^5.1.11",
78 "@storybook/addons": "^5.1.11",
79 "@storybook/react": "^5.1.11",
80 "@storybook/theming": "^5.3.18",
81 "@testing-library/react": "^11.2.2",
82 "@types/jest": "^25.2.3",
83 "@types/react-dom": "^17.0.0",
84 "@umijs/fabric": "^2.0.0-beta.3",
85 "@welldone-software/why-did-you-render": "^3.3.1",
86 "airbnb-js-shims": "^2.2.0",
87 "aphrodite": "^2.3.1",
88 "babel-jest": "^26.6.3",
89 "babel-loader": "^8.0.6",
90 "babel-plugin-inline-react-svg": "^1.1.0",
91 "babel-plugin-inline-svg": "^1.0.1",
92 "babel-plugin-istanbul": "^5.2.0",
93 "babel-preset-airbnb": "^4.0.1",
94 "babel-preset-react": "^6.24.1",
95 "babel-preset-umi": "^1.8.1",
96 "babel-runtime": "^6.26.0",
97 "bx-jest-electron": "^0.1.0",
98 "clean-css": "^4.2.1",
99 "coveralls": "^3.0.6",
100 "cross-env": "^5.2.0",
101 "d3-scale": "^3.2.3",
102 "declaration-bundler-webpack-plugin": "^1.0.3",
103 "eslint": "^6.2.1",
104 "git-directory-deploy": "^1.5.1",
105 "gulp": "^4.0.2",
106 "gulp-typescript": "^6.0.0-alpha.1",
107 "gulp-util": "^3.0.8",
108 "imports-loader": "^0.8.0",
109 "in-publish": "^2.0.0",
110 "jest": "^26.0.1",
111 "jest-extended": "^0.11.5",
112 "js-beautify": "^1.10.2",
113 "moment": "^2.24.0",
114 "moment-jalaali": "^0.7.4",
115 "node-sass": "^4.12.0",
116 "np": "^5.1.3",
117 "npm-run-all": "^4.1.5",
118 "numeral": "^2.0.6",
119 "nyc": "^14.1.1",
120 "pre-commit": "^1.2.2",
121 "prettier": "^1.19.1",
122 "raw-loader": "^0.5.1",
123 "react": "^16.9.0",
124 "react-dom": "^16.9.0",
125 "react-with-styles-interface-aphrodite": "^6.0.0",
126 "react-with-styles-interface-css-compiler": "^2.2.0",
127 "rimraf": "^3.0.2",
128 "safe-publish-latest": "^1.1.3",
129 "sass-loader": "^7.2.0",
130 "snapshot-diff": "^0.8.1",
131 "style-loader": "^0.20.3",
132 "ts-jest": "^26.1.0",
133 "ts-loader": "^8.0.17",
134 "typescript": "^3.6.4",
135 "webpack": "^4.41.2",
136 "webpack-bundle-analyzer": "^3.6.0",
137 "webpack-cli": "^3.3.11"
138 },
139 "jest": {
140 "runner": "bx-jest-electron/runner",
141 "testEnvironment": "bx-jest-electron/environment",
142 "preset": "ts-jest",
143 "collectCoverage": false,
144 "collectCoverageFrom": [
145 "src/**/*.{ts,js,tsx}",
146 "!**/node_modules/**",
147 "!**/vendor/**"
148 ],
149 "testRegex": "/unittest/.*-spec\\.tsx?$",
150 "moduleFileExtensions": [
151 "ts",
152 "tsx",
153 "js",
154 "json"
155 ]
156 },
157 "greenkeeper": {
158 "ignore": [
159 "mocha",
160 "webpack"
161 ]
162 }
163}