-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
121 lines (121 loc) · 3.32 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
{
"name": "@opd/g2plot-vue",
"version": "4.0.0",
"description": "G2Plot for vue, both v2 and v3",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib",
"es",
"lib2",
"es2",
"scripts",
"*.d.ts"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "vitepress dev docs",
"lint": "eslint . --ext=.ts,.tsx",
"lint:fix": "eslint . --ext=.ts,.tsx --fix",
"test": "jest",
"prebuild": "npm test",
"build": "npm run build:es && npm run build:commonjs && 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 && tsc --declarationDir ./es",
"build:docs": "vitepress build docs",
"preversion": "npm run build",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"postversion": "npm publish",
"sync": "node ./scripts/sync.js",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-data-plan/g2plot-vue.git"
},
"keywords": [
"g2plot",
"vue3",
"vue",
"g2",
"chart"
],
"author": "kagawagao <[email protected]> (https://kingsongao.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/open-data-plan/g2plot-vue/issues"
},
"homepage": "https://github.com/open-data-plan/g2plot-vue#readme",
"devDependencies": {
"@antv/g2plot": "^2.4.31",
"@babel/cli": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@opd/jest-preset-pangu": "^1.11.6",
"@opd/prettier-config-pangu": "^1.8.7",
"@types/eslint": "^8.2.0",
"@types/lodash": "^4.14.162",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vue/babel-preset-app": "^5.0.1",
"@vue/babel-preset-jsx": "^1.3.0",
"@vue/composition-api": "^1.7.0",
"@vue/test-utils": "^2.0.0-beta.7",
"@vue/tsconfig": "^0.7.0",
"canvas": "^3.0.0",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.2",
"diff-run": "^1.0.4",
"eslint": "8.57.0",
"eslint-config-prettier": "^10.0.1",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^7.0.0",
"eslint-plugin-vue": "^9.0.0",
"husky": "^9.0.2",
"jest-canvas-mock": "^2.3.0",
"lint-staged": "^15.0.1",
"lodash": "^4.17.20",
"ts-node": "^10.0.0",
"typescript": "^5.0.3",
"vitepress": "^1.0.0-alpha.4",
"vue": "^3.0.2"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{md,json}": [
"prettier --write"
]
},
"diffrun": {
"package-lock.json": "npm ci"
},
"prettier": "@opd/prettier-config-pangu",
"dependencies": {
"core-js": "^3.12.1"
},
"peerDependencies": {
"@antv/g2plot": "^2.3.0",
"@babel/runtime": "^7.13.0",
"vue": ">=3.0.0"
}
}