-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
106 lines (106 loc) · 2.9 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
{
"name": "@opd/g2plot-react",
"version": "2.13.5",
"description": "G2Plot for React",
"keywords": [
"component",
"g2",
"g2plot",
"chart"
],
"homepage": "https://g2plot.opd.cool/",
"repository": {
"type": "git",
"url": "https://github.com/open-data-plan/g2plot-react.git"
},
"license": "MIT",
"author": "kagawagao <[email protected]> (https://kingsongao.com/)",
"sideEffects": false,
"main": "lib/index.js",
"module": "es/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib",
"es",
"typings",
"*.d.ts"
],
"scripts": {
"prebuild": "npm test",
"build": "npm run build:es & npm run build:commonjs",
"postbuild": "npm run build:types",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx --delete-dir-on-start",
"build:docs": "dumi build",
"build:es": "babel src -d es --extensions .ts,.tsx --delete-dir-on-start",
"build:types": "tsc --declarationDir ./lib & tsc --declarationDir ./es",
"dev": "dumi dev",
"lint": "eslint . --ext=.ts,.tsx",
"lint:fix": "eslint . --ext=.ts,.tsx --fix",
"postpublish": "git push --follow-tags",
"sync": "ts-node ./scripts/sync.ts",
"test": "jest",
"preversion": "npm run build",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"postversion": "npm publish"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{json,md}": [
"prettier -c --write"
]
},
"prettier": "@pixas/prettier-config",
"dependencies": {
"@babel/runtime": "^7.21.0"
},
"devDependencies": {
"@antv/g2plot": "^2.4.29",
"@babel/cli": "^7.24.7",
"@commitlint/cli": "^19.1.0",
"@commitlint/config-conventional": "^19.1.0",
"@pixas/babel-preset-lib": "^0.13.0",
"@pixas/eslint-config": "^0.13.0",
"@pixas/prettier-config": "^0.13.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.4",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@types/react-test-renderer": "^19.0.0",
"@types/string-template": "^1.0.2",
"axios": "^1.7.9",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"diff-run": "^1.1.1",
"dumi": "^2.2.16",
"husky": "^9.0.7",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.7",
"lodash": "^4.17.21",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-test-renderer": "^19.0.0",
"string-template": "^1.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.5.4"
},
"peerDependencies": {
"@antv/g2plot": "^2.x",
"lodash": "^4.x",
"react": "*"
},
"publishConfig": {
"access": "public"
},
"diffrun": {
"package-lock.json": "npm ci"
}
}