-
Notifications
You must be signed in to change notification settings - Fork 649
/
package.json
100 lines (100 loc) · 2.79 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
{
"name": "f2",
"private": true,
"description": "Charts for mobile visualization.",
"keywords": [
"f2",
"charts",
"mobile",
"visualization",
"data visualization",
"canvas",
"2d draw",
"mobile visualization",
"interactive"
],
"homepage": "https://github.com/antvis/f2",
"bugs": {
"url": "https://github.com/antvis/f2/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/f2"
},
"author": "https://github.com/orgs/antvis/people",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "father build",
"build-ci": "CI=true npm run build",
"build-watch": "CI=true father build -w",
"bundle-viz": "cross-env BUNDLE_VIS=1 PACKAGE=f2 npm run build",
"changelog": "generate-changelog",
"ci": "npm run lint && npm run build && npm run test",
"clean": "lerna clean",
"coverage": "jest --coverage",
"dev": "npm run test-watch",
"limit-size": "limit-size",
"lint": "eslint ./",
"lint-fix": "eslint --fix ./",
"prettier": "prettier --write './packages/**/*.{ts,tsx}'",
"canary": "npm run build && npm run test && lerna publish --canary --dist-tag next",
"release": "lerna publish from-git --yes --summary-file",
"version": "lerna version --yes",
"site:build": "cd ./site && npm run site:build",
"site:clean": "cd ./site && npm run site:clean",
"site:deploy": "cd ./site && npm run site:deploy",
"site:develop": "cd ./site && npm run site:develop",
"site:start": "cd ./site && npm run site:start",
"snapshot": "jest --updateSnapshot",
"test": "jest",
"test-cov": "jest --coverage",
"test-live": "npm run test-watch packages",
"test-watch": "DEBUG_MODE=1 jest --watch"
},
"pre-commit": {
"run": [
"lint",
"test"
],
"silent": false
},
"resolutions": {
"signal-exit": "3.0.3"
},
"devDependencies": {
"babel-plugin-search-and-replace": "^1.1.1",
"@octokit/core": "^4.2.0",
"@types/jest": "^26.0.20",
"@types/jest-image-snapshot": "^6.1.0",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"adm-zip": "^0.5.10",
"canvas-to-buffer": "^1.1.1",
"cross-env": "^6.0.3",
"danger": "^11.2.3",
"eslint": "^7.32.0",
"father": "^2.30.0",
"generate-changelog": "^1.8.0",
"glob": "^8.1.0",
"gzip-size": "^5.0.0",
"jest": "^26.6.3",
"jest-electron": "^0.1.12",
"jest-image-snapshot": "^6.1.0",
"lerna": "^8.1.2",
"limit-size": "^0.1.4",
"pre-commit": "^1.2.2",
"rollup-plugin-visualizer": "^5.6.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
},
"limit-size": [
{
"path": "packages/f2/dist/index.min.js",
"limit": "180 Kb",
"gzip": true
}
]
}