-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
137 lines (137 loc) · 4.21 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@opd/g2plot-vue",
"version": "3.6.10",
"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": "npm run test3",
"test2": "vue-demi-switch 2 vue2 && jest",
"test3": "vue-demi-switch 3 && jest",
"prebuild": "npm test",
"build": "npm run build:vue3 && npm run build:vue2",
"build:vue3": "npm run build:es && npm run build:commonjs && npm run build:types3",
"build:vue2": "npm run build:es2 && npm run build:commonjs2 && npm run build:types2",
"build:es": "vue-demi-switch 3 && babel src -d es --extensions .ts,.tsx --delete-dir-on-start",
"build:commonjs": "vue-demi-switch 3 && cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx --delete-dir-on-start",
"build:es2": "vue-demi-switch 2 vue2 && babel src -d es2 --extensions .ts,.tsx --delete-dir-on-start",
"build:commonjs2": "vue-demi-switch 2 vue2 && cross-env BABEL_ENV=commonjs babel src -d lib2 --extensions .ts,.tsx --delete-dir-on-start",
"build:types3": "vue-demi-switch 3 && tsc && tsc --declarationDir ./es",
"build:types2": "vue-demi-switch 2 && tsc --declarationDir ./lib2 && tsc --declarationDir ./es2",
"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",
"postinstall": "node ./scripts/postinstall.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": "^9.0.0",
"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",
"vue2": "npm:vue@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",
"vue-demi": "^0.14.0"
},
"peerDependencies": {
"@antv/g2plot": "^2.3.0",
"@babel/runtime": "^7.13.0",
"@vue/composition-api": "^1.7.0",
"vue": "^2.0.0 || >=3.0.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
}
}