-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.07 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.07 KB
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
{
"name": "@antv/s2",
"version": "2.6.0",
"private": false,
"description": "effective spreadsheet render core lib",
"keywords": [
"antv",
"s2",
"S2",
"s2-core",
"spreadsheet",
"pivot table",
"table"
],
"homepage": "https://s2.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/S2/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/S2.git"
},
"license": "MIT",
"author": "https://github.com/orgs/antvis/people",
"sideEffects": [
"*.css",
"dist/*"
],
"exports": {
".": {
"import": "./esm/index.js",
"require": "./lib/index.js"
},
"./extends": {
"import": "./esm/extends/index.js",
"require": "./lib/extends/index.js"
},
"./*": "./*"
},
"main": "lib/index.js",
"unpkg": "dist/s2.min.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"directories": {
"lib": "lib",
"test": "tests"
},
"files": [
"esm",
"lib",
"dist",
"README.md"
],
"scripts": {
"build": "npm-run-all clean --parallel build:cjs build:esm build:umd",
"build:analysis": "cross-env FORMAT=esm ANALYSIS=true rollup -c rollup.config.mjs",
"build:cjs": "tsc --module commonjs --outDir lib -p tsconfig.build.json && pnpm build:sync-assets lib/",
"build:esm": "tsc --module ESNext --outDir esm -p tsconfig.build.json && pnpm build:sync-assets esm/",
"build:size-limit": "size-limit",
"build:size-limit-json": "pnpm build:size-limit -- --json",
"build:sync-assets": "copyfiles -u 1 \"src/**/*.{css,less,svg}\"",
"build:umd": "cross-env FORMAT=umd rollup -c rollup.config.mjs",
"clean": "rimraf lib esm dist temp",
"start": "pnpm test:live",
"sync-event": "node ./scripts/sync-event.mjs",
"test": "jest --passWithNoTests --detectOpenHandles",
"test:ci": "pnpm test test:ci-coverage --verbose --detectOpenHandles --maxWorkers=3",
"test:ci-coverage": "pnpm test:coverage --verbose --detectOpenHandles --maxWorkers=3",
"test:coverage": "pnpm test -- --coverage",
"test:live": "node ./scripts/test-live.mjs",
"test:watch": "pnpm test -- --watch",
"tsc": "tsc --noEmit",
"watch": "rimraf esm && pnpm build:esm -w"
},
"dependencies": {
"@antv/event-emitter": "^0.1.3",
"@antv/g": "^6.3.1",
"@antv/g-canvas": "^2.2.0",
"@antv/g-lite": "^2.7.0",
"@antv/vendor": "^1.0.11",
"decimal.js": "^10.5.0",
"flru": "^1.0.2",
"lodash": "^4.17.21",
"tinycolor2": "^1.6.0"
},
"devDependencies": {
"@antv/g2": "^5.3.3",
"@testing-library/dom": "^10.4.0",
"@types/tinycolor2": "^1.4.6",
"csstype": "^3.1.3"
},
"peerDependencies": {
"@antv/g2": ">=5.1.21"
},
"peerDependenciesMeta": {
"@antv/g2": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"size-limit": [
{
"path": "./dist/s2.min.js",
"import": "{ createComponent }",
"limit": "300 kB"
},
{
"path": "./dist/s2.min.css",
"limit": "5 kB"
}
],
"src": "src/index.ts",
"tnpm": {
"mode": "pnpm"
}
}