-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
129 lines (129 loc) · 3.78 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
{
"name": "vue3-baidu-map-gl",
"description": "A Vue 3 baidu map gl Component Library. ",
"version": "2.6.1",
"main": "es/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"unpkg": "dist/index.prod.js",
"jsdelivr": "dist/index.prod.js",
"author": "yue1123",
"license": "MIT",
"exports": {
"./es": "./es/index.js",
"./types": "./types/index.d.ts",
"./*": "./*",
".": {
"import": "./es/index.js",
"require": "./dist/index.esm.js",
"types": "./es/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"es",
"dist",
"types",
"volar.d.ts",
"README.md"
],
"repository": {
"type": "git",
"url": "git@github.com:yue1123/vue3-baidu-map-gl.git"
},
"homepage": "https://github.com/yue1123/vue3-baidu-map-gl",
"scripts": {
"prepare": "husky install",
"clean": "rimraf es dist",
"dev": "rollup -c --environment NODE_ENV:production && rollup -c ./scripts/build-package.js -w",
"build": "pnpm clean && vue-tsc && rollup -c --environment NODE_ENV:production && rollup -c ./scripts/build-package.js && rimraf *.tsbuildinfo && pnpm gen-volar-dts && pnpm merge-dts",
"test": "pnpm clean && vue-tsc && rollup -c ./scripts/build-package.js",
"link:pnpm": "pnpm link --global",
"docs:dev": "pnpm run -C docs dev",
"docs:build": "pnpm run build && pnpm run -C docs build",
"gen-volar-dts": "esbuild scripts/gen-component-declaration.js --bundle --platform=node | node",
"merge-dts": "esbuild ./scripts/merge-declaration.js --bundle --platform=node | node",
"format": "prettier -w types/* packages/*",
"release-major": "standard-version --release-as major --tag-prefix v && pnpm run build",
"release-minor": "standard-version --release-as minor --tag-prefix v && pnpm run build",
"release-patch": "standard-version --release-as patch --tag-prefix v && pnpm run build",
"lint": "eslint -f mo --ext .js,.ts,.tsx,.vue ./packages",
"lint:fix": "eslint -f mo --ext .js,.ts,.tsx,.vue --fix ./packages"
},
"dependencies": {
"mitt": "^3.0.0",
"vue": "^3.3.4"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.19.6",
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-replace": "^4.0.0",
"@types/node": "^18.11.9",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"@vue/compiler-sfc": "^3.3.4",
"conventional-changelog-cli": "2.2.2",
"deepmerge": "^4.2.2",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-formatter-mo": "^1.2.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.6.0",
"fast-glob": "^3.2.12",
"husky": "^7.0.4",
"lint-staged": "^13.2.2",
"pre-commit": "^1.2.2",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-vue": "^6.0.0",
"standard-version": "^9.5.0",
"tslib": "^2.4.0",
"typescript": "^4.8.4",
"vite": "^4.0.0",
"vue-tsc": "^1.6.5"
},
"sideEffects": false,
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
},
"engines": {
"pnpm": ">=8.0.0",
"node": ">=12.0.0"
},
"keywords": [
"vue3",
"vue",
"baidu map",
"baidu map gl",
"vue3-baidu-map-gl",
"vue3-bmap-gl"
],
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"eslint -f mo"
],
"**/*.vue": [
"eslint -f mo"
],
"**/*.css": [
"prettier --write"
],
"**/*.md": [
"eslint -f mo"
]
}
}