-
Notifications
You must be signed in to change notification settings - Fork 197
/
package.json
196 lines (196 loc) · 7.34 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "@antv/s2-monorepo",
"private": true,
"keywords": [
"antv",
"S2",
"s2",
"@antv/s2",
"@antv/s2-react",
"@antv/s2-react-components",
"@antv/s2-vue",
"pivot table",
"pivot sheet",
"pivot chart",
"table",
"sheet",
"spreadsheet"
],
"repository": {
"type": "git",
"url": "https://github.com/antvis/S2.git"
},
"license": "MIT",
"files": [],
"scripts": {
"preinstall": "npx only-allow pnpm",
"bootstrap": "pnpm install",
"bootstrap:ci": "pnpm bootstrap --frozen-lockfile",
"prepare": "husky install",
"clean": "pnpm -r --parallel exec rm -rf node_modules && rm -rf node_modules",
"clean:lock-file": "rm -rf pnpm-lock.yaml",
"update:deps": "pnpm update -i",
"core:start": "pnpm --filter @antv/s2 start",
"core:watch": " pnpm --filter @antv/s2 watch",
"core:build": "pnpm --filter @antv/s2 build",
"core:build-esm": "pnpm --filter @antv/s2 build:esm",
"core:test": "pnpm --filter @antv/s2 test",
"core:test-coverage": "pnpm --filter @antv/s2 test:coverage",
"core:sync-event": "pnpm --filter @antv/s2 sync-event",
"react:start": "pnpm --filter @antv/s2-react test:live",
"react:playground": "pnpm --filter @antv/s2-react start",
"react:build": "pnpm --filter @antv/s2-react build",
"react:test": "pnpm --filter @antv/s2-react test",
"react:test-coverage": "pnpm --filter @antv/s2-react test:coverage",
"react:watch": " pnpm --filter @antv/s2-react watch",
"vue:playground": "pnpm --filter @antv/s2-vue start",
"vue:build": "pnpm --filter @antv/s2-vue build",
"vue:test": "pnpm --filter @antv/s2-vue test",
"vue:watch": " pnpm --filter @antv/s2-vue watch",
"react-components:start": "pnpm --filter @antv/s2-react-components test:live",
"react-components:playground": "pnpm --filter @antv/s2-react-components start",
"react-components:build": "pnpm --filter @antv/s2-react-components build",
"react-components:test": "pnpm --filter @antv/s2-react-components test",
"react-components:test-coverage": "pnpm --filter @antv/s2-react-components test:coverage",
"build": "pnpm -r --filter './packages/*' --stream build",
"build:esm": "pnpm -r --filter './packages/*' --stream build:esm",
"build:umd": "pnpm -r --filter './packages/*' --stream build:umd",
"build:size-limit": "pnpm -r --filter './packages/*' --stream build:size-limit",
"build:size-limit-json": "pnpm -r --filter './packages/*' --stream build:size-limit-json",
"release": "pnpm -r --filter !@antv/s2-site --filter !@antv/s2-vue --workspace-concurrency=1 exec npx --no-install semantic-release",
"release:preview": "pnpm release --dry-run --no-ci",
"release:bump-version": "node ./scripts/bump-version.js",
"test": "pnpm -r --filter './packages/*' --stream test",
"test:coverage": "pnpm -r --filter './packages/*' --stream test:coverage",
"test:ci": "pnpm -r --filter './packages/*' --stream test:ci",
"test:ci-coverage": "pnpm -r --filter './packages/*' --stream test:ci-coverage",
"lint": "run-s lint:type lint:script lint:style lint:docs lint:word",
"lint:type": "pnpm -r --filter './packages/*' --stream tsc",
"lint:script": "eslint . --ext '.js,.jsx,.ts,.tsx,.vue' --quiet",
"lint:style": "stylelint packages/**/*.less",
"lint:docs": "markdownlint '**/*.md'",
"lint:word": "case-police '**/*.md'",
"lint:fix": "run-s lint:fix-script lint:fix-style lint:fix-docs lint:fix-word",
"lint:fix-word": "pnpm lint:word --fix",
"lint:fix-script": "pnpm lint:script --fix",
"lint:fix-style": "pnpm lint:style --fix",
"lint:fix-docs": "pnpm lint:docs --fix",
"site:start": "pnpm --filter @antv/s2-site start",
"site:build": "NODE_OPTIONS='--max-old-space-size=4096' pnpm --filter @antv/s2-site build",
"site:preview": "pnpm --filter @antv/s2-site preview",
"site:deploy": "pnpm --filter @antv/s2-site deploy",
"format": "prettier . --write"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{less,md,json}": [
"prettier --write"
],
"*.md": [
"markdownlint --fix",
"case-police --fix",
"prettier --write"
],
"*.{js,jsx,tsx,ts,vue}": [
"eslint --fix"
],
"*.less": [
"stylelint --custom-syntax --fix"
]
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@microsoft/api-extractor": "^7.46.2",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rushstack/eslint-patch": "^1.10.3",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@size-limit/esbuild": "^11.1.4",
"@size-limit/esbuild-why": "^11.1.4",
"@size-limit/file": "^11.1.4",
"@swc/core": "^1.5.24",
"@swc/jest": "^0.2.36",
"@types/jest": "^27.5.2",
"@types/lodash": "4.17.4",
"@types/node": "^20.14.0",
"@types/rollup-plugin-peer-deps-external": "^2.2.5",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/vue3-jest": "^29.2.6",
"babel-core": "^7.0.0-bridge.0",
"case-police": "^0.6.1",
"concurrently": "^8.2.2",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-vue": "^9.17.0",
"gh-pages": "^3.2.3",
"glob": "^10.3.10",
"husky": "^8.0.3",
"inquirer": "^9.2.11",
"inquirer-autocomplete-prompt": "^3.0.1",
"jest": "^26.6.3",
"jest-electron": "^0.1.12",
"jest-extended": "^0.11.5",
"jest-less-loader": "^0.2.0",
"jest-raw-loader": "^1.0.1",
"jest-url-loader": "^0.1.0",
"less": "^4.2.0",
"lint-staged": "^15.2.5",
"lodash": "^4.17.21",
"markdownlint-cli": "^0.41.0",
"npm-run-all": "^4.1.5",
"ora": "^8.0.1",
"postcss": "^8.4.38",
"postcss-less": "^6.0.0",
"prettier": "3.3.0",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-packagejson": "^2.5.0",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-visualizer": "^5.12.0",
"semantic-release": "^19.0.5",
"semantic-release-monorepo": "^7.0.8",
"size-limit": "^11.1.4",
"stylelint": "^15.11.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^34.0.0",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"vite-plugin-imp": "^2.4.0",
"vue-jest": "^5.0.0-alpha.10"
},
"tnpm": {
"mode": "pnpm"
}
}