-
Notifications
You must be signed in to change notification settings - Fork 196
/
package.json
186 lines (186 loc) · 6.84 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
{
"name": "@antv/s2-monorepo",
"private": true,
"license": "MIT",
"homepage": "https://s2.antv.antgroup.com",
"author": "https://github.com/orgs/antvis/people",
"repository": {
"type": "git",
"url": "https://github.com/antvis/S2.git"
},
"bugs": {
"url": "https://github.com/antvis/S2/issues"
},
"keywords": [
"antv",
"S2",
"s2",
"@antv/s2",
"@antv/s2-react",
"@antv/s2-vue",
"pivot table",
"table",
"sheet",
"spreadsheet"
],
"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: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",
"build": "pnpm -r --filter './packages/*' --stream build",
"build:cjs": "pnpm -r --filter './packages/*' --stream build:cjs",
"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-shared --filter !@antv/s2-site --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'",
"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"
},
"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 --syntax less --fix"
]
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@microsoft/api-extractor": "^7.24.2",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^8.2.5",
"@rushstack/eslint-patch": "^1.1.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@size-limit/esbuild": "^11.0.0",
"@size-limit/esbuild-why": "^11.0.0",
"@size-limit/file": "^11.0.0",
"@swc/core": "^1.3.95",
"@swc/jest": "^0.2.29",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.26",
"@types/rollup-plugin-peer-deps-external": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@vitejs/plugin-react": "^1.3.1",
"@vitejs/plugin-vue": "^2.3.1",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/vue3-jest": "^27.0.0-alpha.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"case-police": "^0.5.10",
"concurrently": "^7.5.0",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.0.5",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-vue": "^8.5.0",
"gh-pages": "^3.2.3",
"glob": "^8.0.3",
"husky": "^8.0.2",
"inquirer": "^8.2.0",
"inquirer-autocomplete-prompt": "^2.0.0",
"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.1.3",
"lint-staged": "^13.0.3",
"lodash-es": "^4.17.21",
"markdownlint-cli": "^0.31.1",
"npm-run-all": "^4.1.5",
"ora": "^6.1.0",
"postcss": "^8.4.12",
"prettier": "2.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.70.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"rollup-plugin-visualizer": "^5.6.0",
"semantic-release": "^18.0.1",
"semantic-release-monorepo": "^7.0.5",
"size-limit": "^11.0.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"ts-jest": "^26.5.6",
"tslib": "^2.4.0",
"typescript": "^4.6.3",
"vite": "^2.9.5",
"vite-plugin-imp": "^2.1.8",
"vue-jest": "^5.0.0-alpha.10"
}
}