forked from VisActor/VChart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
141 lines (141 loc) · 5.04 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
{
"name": "@visactor/vchart",
"version": "1.13.2",
"description": "charts lib based @visactor/VGrammar",
"main": "cjs/index.js",
"module": "esm/index.js",
"browser": "esm/index.js",
"types": "esm/index.d.ts",
"unpkg": "build/index.min.js",
"sideEffects": [
"./*/index-lark.js",
"./*/index-wx-simple.js",
"./*/index-wx.js",
"./*/vchart-all.js",
"./*/vchart-simple.js"
],
"scripts": {
"build": "cross-env DEBUG='Bundler*' bundle --clean && npm run build:schema && npm run build:types && npm run build:es5",
"build:es5": "rimraf lib && rollup -c --bundleConfigAsCjs",
"build:schema": "schema src/typings/spec/chart.ts ISpec --useTypeOfKeyword --ignoreErrors --required > ../vchart-schema/vchart.json",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir ../vchart-types/types",
"build:spec-types": "rimraf ./spec-types && tsc -p ./tsconfig.spec.json --declaration --emitDeclarationOnly --outDir ./spec-types",
"build:umd": "cross-env DEBUG='Bundler*' bundle -f umd",
"build:cjs": "cross-env DEBUG='Bundler*' bundle --clean -f cjs --ignorePostTasks --ignoreUmdEntries",
"build:es": "cross-env DEBUG='Bundler*' bundle --clean -f es --ignorePostTasks",
"analyze": "npm run analyze-full && npm run analyze-line && npm run analyze-simple",
"analyze-full": "cross-env BUNDLE_ANALYZE='full' DEBUG='Bundler*' bundle -f umd ",
"analyze-simple": "cross-env BUNDLE_ANALYZE='simple' DEBUG='Bundler*' bundle -f umd",
"analyze-pie": "cross-env BUNDLE_ANALYZE='pie' DEBUG='Bundler*' bundle -f umd",
"analyze-empty": "cross-env BUNDLE_ANALYZE='empty' DEBUG='Bundler*' bundle -f umd",
"dev": "cross-env DEBUG='Bundler*' bundle --clean -f es -w",
"compile": "tsc --noEmit",
"start": "ts-node __tests__/runtime/browser/scripts/initVite.ts && vite serve __tests__/runtime/browser",
"clear": "rimraf build && rimraf esm && rimraf cjs",
"prettier": "prettier --write --ignore-unknown .",
"prettier:check": "prettier --check .",
"eslint": "eslint --debug --fix src/",
"eslint:check": "eslint .",
"eslint:err": "eslint . --quiet",
"postpublish": "npm run clear",
"test": "jest",
"test-cov": "jest -w 16 --coverage",
"test-live": "npm run test-watch __tests__/unit",
"test-watch": "cross-env DEBUG_MODE=1 jest --watch",
"ci": "ts-node --transpileOnly --skipProject ./scripts/trigger-test.ts",
"size": "size-limit"
},
"files": [
"esm",
"cjs",
"build"
],
"keywords": [
"charts",
"visualization",
"VChart",
"animation",
"storytelling",
"VisActor",
"graphics",
"interaction"
],
"homepage": "https://www.visactor.io/vchart",
"bugs": "https://github.com/VisActor/VChart/issues",
"repository": {
"type": "git",
"url": "https://github.com/VisActor/VChart.git",
"directory": "packages/vchart"
},
"author": {
"name": "VisActor",
"url": "https://www.visactor.io/"
},
"license": "MIT",
"devDependencies": {
"@internal/typescript-json-schema": "workspace:*",
"@internal/bundler": "workspace:*",
"@internal/eslint-config": "workspace:*",
"@internal/ts-config": "workspace:*",
"@rushstack/eslint-patch": "~1.1.4",
"@types/jest": "^26.0.0",
"@types/node": "*",
"@types/offscreencanvas": "2019.6.4",
"eslint": "~8.18.0",
"husky": "7.0.4",
"jest": "^26.0.0",
"jest-electron": "^0.1.12",
"lint-staged": "12.3.7",
"magic-string": "^0.25.7",
"prettier": "2.6.1",
"react-device-detect": "^2.2.2",
"ts-jest": "^26.0.0",
"ts-loader": "8.0.2",
"ts-node": "10.9.0",
"tslib": "2.3.1",
"tslint": "5.12.1",
"typescript": "4.9.5",
"d3-dsv": "^3.0.1",
"d3-array": "^1.2.4",
"d3-geo": "^1.12.1",
"d3-hexbin": "^0.2.2",
"d3-hierarchy": "^3.1.1",
"vite": "3.2.6",
"@esbuild-plugins/node-globals-polyfill": "0.1.1",
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-visualizer": "5.9.2",
"rollup-plugin-gzip": "3.1.0",
"rollup-plugin-bundle-size": "1.0.3",
"rollup-plugin-sizes": "1.0.5",
"rollup": "3.20.5",
"node-fetch": "2.6.7",
"form-data": "~4.0.0",
"canvas": "2.11.2",
"size-limit": "9.0.0",
"@size-limit/file": "9.0.0",
"rimraf": "3.0.2",
"cross-env": "^7.0.3"
},
"dependencies": {
"@visactor/vutils": "~0.19.2",
"@visactor/vdataset": "~0.19.2",
"@visactor/vscale": "~0.19.2",
"@visactor/vrender-core": "0.21.4",
"@visactor/vrender-kits": "0.21.4",
"@visactor/vrender-components": "0.21.4",
"@visactor/vgrammar-core": "0.15.2",
"@visactor/vgrammar-projection": "0.15.2",
"@visactor/vgrammar-wordcloud": "0.15.2",
"@visactor/vgrammar-wordcloud-shape": "0.15.2",
"@visactor/vgrammar-hierarchy": "0.15.2",
"@visactor/vgrammar-sankey": "0.15.2",
"@visactor/vgrammar-venn": "0.15.2",
"@visactor/vgrammar-util": "0.15.2",
"@visactor/vutils-extension": "workspace:1.13.2"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}