-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.59 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
{
"private": true,
"repository": {
"type": "git",
"url": "[email protected]:antvis/g.git"
},
"license": "MIT",
"author": "xiaoiver",
"scripts": {
"dev": "vite",
"build": "pnpm -r --sequential --if-present run build",
"bundle-viz": "cross-env BUNDLE_VIS=1 PACKAGE=g npm run build",
"contributor": "git-contributor",
"cov": "jest --config jest.config.js --coverage",
"doc": "dumi dev",
"eslint": "eslint --ext .ts,.js ./packages --quiet",
"eslint-fix": "eslint --fix --ext .ts,.js ./packages",
"limit-size": "limit-size",
"lint": "npm run eslint",
"lint-staged": "lint-staged",
"prepare": "husky install",
"prettier": "prettier --write './packages/**/*.{js,ts,md}'",
"start": "cd ./site && npm run start",
"sync": "pnpm -r run sync",
"test": "npm run test:browser & npm run test:serverside",
"test:browser": "jest --config jest.config.js",
"test:serverside": "jest --config jest.node.config.js",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset publish",
"wasm": "wasm-pack build ./rust --target web",
"watch": "pnpm --parallel -r run watch"
},
"lint-staged": {
"*.{md,json}": [
"prettier --write"
],
"*.md": [
"markdownlint --fix",
"case-police --fix",
"prettier --write"
],
"*.{js,jsx,tsx,ts,vue}": [
"eslint --fix"
]
},
"devDependencies": {
"@antv/util": "^3.3.5",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^8.3.6",
"@commitlint/config-angular": "^9.1.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^29.5.10",
"@types/node": "^16.18.64",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"case-police": "^0.5.14",
"cross-env": "^6.0.3",
"d3": "^7.8.5",
"eslint": "^7.32.0",
"eslint-plugin-jest": "24.3.6",
"get-pixels": "3.3.3",
"git-contributor": "~1.0.11",
"hammerjs": "^2.0.8",
"husky": "^7.0.4",
"is-ci": "2.0.0",
"jest": "^29.7.0",
"jest-environment-node": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-matcher-deep-close-to": "^3.0.2",
"jsdom": "^19.0.0",
"limit-size": "^0.1.4",
"lint-staged": "^10.5.4",
"markdownlint-cli": "^0.32.2",
"npm-run-all": "^4.1.5",
"pixelmatch": "^5.3.0",
"playwright": "latest",
"pngjs": "^6.0.0",
"portfinder": "^1.0.32",
"prettier": "^2.8.8",
"rimraf": "^4.4.1",
"rollup": "^3.29.4",
"rollup-plugin-polyfill-node": "^0.8.0",
"rollup-plugin-visualizer": "^5.9.2",
"sinon": "^11.1.2",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2",
"vite": "^3.2.7",
"webfontloader": "^1.6.28"
},
"limit-size": [
{
"path": "packages/g-lite/dist/index.umd.min.js",
"limit": "150 Kb",
"gzip": true
},
{
"path": "packages/g/dist/index.umd.min.js",
"limit": "150 Kb",
"gzip": true
},
{
"path": "packages/g-canvas/dist/index.umd.min.js",
"limit": "150 Kb",
"gzip": true
},
{
"path": "packages/g-svg/dist/index.umd.min.js",
"limit": "150 Kb",
"gzip": true
},
{
"path": "packages/g-webgl/dist/index.umd.min.js",
"limit": "150 Kb",
"gzip": true
},
{
"path": "packages/g-webgpu/dist/index.umd.min.js",
"limit": "150 Kb",
"gzip": true
}
]
}