forked from open-data-plan/g2plot-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.86 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.86 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
{
"name": "@opd/g2plot-react",
"version": "2.12.0",
"description": "G2Plot for React",
"keywords": [
"component",
"g2",
"g2plot",
"chart"
],
"author": "kagawagao <[email protected]> (https://kingsongao.com/)",
"homepage": "https://g2plot.opd.cool/",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib",
"es",
"typings",
"*.d.ts"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/open-data-plan/g2plot-react.git"
},
"scripts": {
"dev": "dumi dev",
"lint": "eslint . --ext=.ts,.tsx",
"lint:fix": "eslint . --ext=.ts,.tsx --fix",
"test": "jest -u",
"prebuild": "npm test",
"build": "npm run build:es & npm run build:commonjs",
"postbuild": "npm run build:types",
"build:es": "babel src -d es --extensions .ts,.tsx --delete-dir-on-start",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx --delete-dir-on-start",
"build:types": "tsc --declarationDir ./lib & tsc --declarationDir ./es",
"build:docs": "dumi build",
"preversion": "npm run build",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"postversion": "npm publish",
"postpublish": "git push --follow-tags",
"sync": "ts-node ./scripts/sync.ts"
},
"devDependencies": {
"@antv/g2plot": "^2.3.24",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@opd/babel-preset-component": "^1.11.3",
"@opd/eslint-config-pangu": "^1.12.0",
"@opd/jest-preset-pangu": "^1.11.6",
"@opd/prettier-config-pangu": "^1.8.7",
"@types/eslint": "^8.2.0",
"@types/lodash": "^4.14.177",
"@types/react": "^18.0.1",
"@types/react-dom": "^18.0.0",
"@types/react-test-renderer": "^18.0.0",
"@types/string-template": "^1.0.2",
"@umijs/plugin-analytics": "^0.2.1",
"canvas": "2.6.1",
"conventional-changelog-cli": "^2.1.0",
"cross-env": "^7.0.2",
"diff-run": "^1.0.4",
"dumi": "^2.0.3",
"husky": "^8.0.1",
"jest-canvas-mock": "^2.3.0",
"lint-staged": "^13.0.0",
"lodash": "^4.17.20",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"string-template": "^1.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.5.2"
},
"prettier": "@opd/prettier-config-pangu",
"peerDependencies": {
"@antv/g2plot": "^2.3.21",
"lodash": "^4.17.x",
"react": "^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@babel/runtime": "^7.14.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{json,md}": [
"prettier -c --write"
]
},
"diffrun": {
"package-lock.json": "npm ci"
}
}