forked from antvis/S2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
178 lines (178 loc) · 6.43 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
{
"name": "@antv/s2",
"private": true,
"workspaces": [
"packages/*"
],
"keywords": [
"antv",
"S2",
"s2",
"@antv/s2",
"@antv/s2-react",
"@antv/s2-vue",
"pivot table",
"table",
"sheet",
"spreadsheet"
],
"scripts": {
"bootstrap": "yarn",
"clean": "lerna clean -y && rimraf node_modules",
"clean:lock-file": "rm -rf yarn.lock",
"core:start": "yarn workspace @antv/s2 start",
"core:watch": " yarn workspace @antv/s2 watch",
"core:build": "yarn workspace @antv/s2 build",
"core:test": "yarn workspace @antv/s2 test",
"core:sync-event": "yarn workspace @antv/s2 sync-event",
"react:start": "yarn workspace @antv/s2-react test:live",
"react:playground": "yarn workspace @antv/s2-react start",
"react:build": "yarn workspace @antv/s2-react build",
"react:test": "yarn workspace @antv/s2-react test",
"react:watch": " yarn workspace @antv/s2-react watch",
"vue:playground": "yarn workspace @antv/s2-vue start",
"vue:build": "yarn workspace @antv/s2-vue build",
"vue:test": "yarn workspace @antv/s2-vue test",
"vue:watch": " yarn workspace @antv/s2-vue watch",
"build": "lerna run build --include-dependencies --stream",
"build:esm": "lerna run build:esm --include-dependencies --stream",
"build:umd": "lerna run build:umd --include-dependencies --stream",
"bundle:size": "lerna run bundle:size --stream",
"release": "lerna exec --ignore @antv/s2-shared --concurrency 1 -- npx --no-install semantic-release",
"release:bump-latest":"node ./scripts/latest-bump-version.js",
"release:preview": "yarn release --dry-run --no-ci",
"prepublish:manual": "yarn build",
"publish:manual": "lerna publish",
"test": "lerna run test --stream",
"test:coverage": "lerna run test:coverage --stream",
"test:ci": "lerna run test:ci --stream",
"test:ci-coverage": "lerna run test:ci-coverage --stream",
"test:watch": "lerna run test:watch --stream",
"site:bootstrap": "cd ./s2-site && yarn",
"site:start": "cd ./s2-site && yarn start",
"site:build": "cd ./s2-site && NODE_OPTIONS='--max-old-space-size=4096' yarn build",
"site:clean": "cd ./s2-site && yarn clean",
"site:deploy": "cd ./s2-site && yarn deploy",
"site:preview": "cd ./s2-site && yarn preview",
"site:clear": "cd ./s2-site && yarn rimraf node_modules",
"site:sync-s2-lock": "cd ./s2-site && yarn sync:s2-lock",
"lint": "yarn lint:type && yarn lint:script && yarn lint:style && yarn lint:docs && yarn lint:word",
"lint:type": "lerna run tsc --stream",
"lint:script": "eslint . --ext '.js,.jsx,.ts,.tsx,.vue'",
"lint:style": "stylelint packages/**/*.less --syntax less",
"lint:docs": "markdownlint '**/*.md'",
"lint:word": "case-police '**/*.md'",
"lint:fix-word": "yarn lint:word --fix",
"lint:fix": "yarn lint:fix-script && yarn lint:fix-style && yarn lint:fix-docs && yarn lint:fix-word",
"lint:fix-script": "yarn lint:script --fix",
"lint:fix-style": "yarn lint:style --fix",
"lint:fix-docs": "yarn lint:docs --fix && yarn lint:fix-word",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && lerna run changelog --stream",
"update:deps": "yarn upgrade-interactive",
"prepare": "husky install",
"validate:deps": "node ./scripts/validate-deps.js"
},
"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-typescript": "^8.2.5",
"@rushstack/eslint-patch": "^1.1.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@swc/core": "^1.2.171",
"@swc/jest": "^0.2.20",
"@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",
"bundlesize": "^0.18.1",
"case-police": "^0.5.3",
"concurrently": "^7.1.0",
"conventional-changelog-cli": "^2.2.2",
"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",
"husky": "^7.0.4",
"jest": "^26.6.3",
"jest-electron": "^0.1.12",
"jest-extended": "^0.11.5",
"jest-less-loader": "^0.1.2",
"jest-raw-loader": "^1.0.1",
"jest-url-loader": "^0.1.0",
"lerna": "^4.0.0",
"less": "^4.1.2",
"lint-staged": "^12.4.0",
"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-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"rollup-plugin-visualizer": "^5.6.0",
"semantic-release": "^18.0.1",
"semantic-release-monorepo": "^7.0.5",
"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"
},
"license": "MIT"
}