-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
195 additions
and
863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
arrowParens: 'always', | ||
bracketSpacing: true, | ||
endOfLine: 'lf', | ||
htmlWhitespaceSensitivity: 'ignore', | ||
insertPragma: false, | ||
singleAttributePerLine: false, | ||
bracketSameLine: false, | ||
jsxBracketSameLine: false, | ||
jsxSingleQuote: true, | ||
printWidth: 120, | ||
proseWrap: 'preserve', | ||
quoteProps: 'as-needed', | ||
requirePragma: false, | ||
semi: false, | ||
singleQuote: true, | ||
tabWidth: 2, | ||
trailingComma: 'none', | ||
useTabs: false, | ||
vueIndentScriptAndStyle: true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,130 +1,124 @@ | ||
{ | ||
"name": "vue3-baidu-map-gl", | ||
"description": "A Vue 3 baidu map gl Component Library. ", | ||
"version": "0.0.25", | ||
"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", | ||
"./*": "./*", | ||
".": { | ||
"import": "./es/index.js", | ||
"types": "./es/index.d.ts" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"es", | ||
"dist", | ||
"types", | ||
"volar.d.ts", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"clean": "rimraf es dist", | ||
"dev": "pnpm clean && rollup -c", | ||
"build": "pnpm clean && vue-tsc && rollup -c --environment NODE_ENV:production && rollup -c ./scripts/build-package.js && rimraf *.tsbuildinfo && pnpm gen-volar-dts", | ||
"docs:dev": "vitepress dev docs", | ||
"test": "vitest", | ||
"docs:build": "vitepress build docs", | ||
"link:pnpm": "pnpm link --global", | ||
"fix-dot": "fixdot docs/zh/base/* docs/zh/control/* docs/zh/guide/* docs/zh/overlay/* docs/index.md -d -p", | ||
"gen-volar-dts": "esbuild scripts/gen-component-declaration.js --bundle --platform=node | node" | ||
}, | ||
"dependencies": { | ||
"mitt": "^3.0.0", | ||
"vue": "^3.2.40" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.17.9", | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@rollup/plugin-babel": "^5.3.1", | ||
"@rollup/plugin-commonjs": "^21.0.3", | ||
"@rollup/plugin-node-resolve": "^14.1.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@types/ws": "^8.5.3", | ||
"@vitejs/plugin-vue": "3.1.0", | ||
"@vue/test-utils": "^2.0.2", | ||
"deepmerge": "^4.2.2", | ||
"esbuild": "^0.15.10", | ||
"husky": "^7.0.4", | ||
"jsdom": "^20.0.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.70.1", | ||
"rollup-plugin-css-porter": "^1.0.2", | ||
"rollup-plugin-esbuild": "^4.10.1", | ||
"rollup-plugin-node-externals": "^5.0.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript": "^1.0.1", | ||
"rollup-plugin-typescript2": "^0.34.1", | ||
"rollup-plugin-vue": "^6.0.0", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.6.3", | ||
"vite": "3.1.4", | ||
"vitepress": "1.0.0-alpha.21", | ||
"vitest": "^0.23.4", | ||
"vue-tsc": "^1.0.0" | ||
}, | ||
"sideEffects": false, | ||
"pnpm": { | ||
"peerDependencyRules": { | ||
"ignoreMissing": [ | ||
"@algolia/client-search" | ||
] | ||
} | ||
}, | ||
"packageManager": "pnpm", | ||
"engines": { | ||
"pnpm": ">=6.0.0", | ||
"node": ">=12.0.0" | ||
}, | ||
"keywords": [ | ||
"vue3", | ||
"vue", | ||
"baidu map", | ||
"baidu map gl", | ||
"vue3-baidu-map-gl", | ||
"vue3-bmap-gl" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "echo commit", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write", | ||
"eslint --fix" | ||
], | ||
"*.ts": [ | ||
"prettier --write", | ||
"eslint --fix" | ||
], | ||
"*.tsx": [ | ||
"prettier --write", | ||
"eslint --fix" | ||
], | ||
"*.vue": [ | ||
"prettier --parser=vue --write", | ||
"eslint --fix" | ||
], | ||
"*.css": [ | ||
"prettier --write" | ||
], | ||
"*.md": [ | ||
"prettier --write --parser markdown --prose-wrap never", | ||
"eslint --fix" | ||
] | ||
} | ||
"name": "vue3-baidu-map-gl", | ||
"description": "A Vue 3 baidu map gl Component Library. ", | ||
"version": "0.0.25", | ||
"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", | ||
"./*": "./*", | ||
".": { | ||
"import": "./es/index.js", | ||
"types": "./es/index.d.ts" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"es", | ||
"dist", | ||
"types", | ||
"volar.d.ts", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"clean": "rimraf es dist", | ||
"dev": "pnpm clean && rollup -c", | ||
"build": "pnpm clean && vue-tsc && rollup -c --environment NODE_ENV:production && rollup -c ./scripts/build-package.js && rimraf *.tsbuildinfo && pnpm gen-volar-dts", | ||
"docs:dev": "vitepress dev docs", | ||
"test": "vitest", | ||
"docs:build": "prettier -w docs/zh/* && vitepress build docs", | ||
"link:pnpm": "pnpm link --global", | ||
"fix-dot": "fixdot docs/zh/base/* docs/zh/control/* docs/zh/guide/* docs/zh/overlay/* docs/index.md -d -p", | ||
"gen-volar-dts": "esbuild scripts/gen-component-declaration.js --bundle --platform=node | node", | ||
"format": "prettier -w docs/zh/* packages/*" | ||
}, | ||
"dependencies": { | ||
"mitt": "^3.0.0", | ||
"vue": "^3.2.40" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.17.9", | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@rollup/plugin-babel": "^5.3.1", | ||
"@rollup/plugin-commonjs": "^21.0.3", | ||
"@rollup/plugin-node-resolve": "^14.1.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@types/ws": "^8.5.3", | ||
"@vitejs/plugin-vue": "3.1.0", | ||
"deepmerge": "^4.2.2", | ||
"husky": "^7.0.4", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.70.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", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.6.3", | ||
"vite": "3.1.4", | ||
"vitepress": "1.0.0-alpha.21", | ||
"vue-tsc": "^1.0.0" | ||
}, | ||
"sideEffects": false, | ||
"pnpm": { | ||
"peerDependencyRules": { | ||
"ignoreMissing": [ | ||
"@algolia/client-search" | ||
] | ||
} | ||
}, | ||
"packageManager": "pnpm", | ||
"engines": { | ||
"pnpm": ">=6.0.0", | ||
"node": ">=12.0.0" | ||
}, | ||
"keywords": [ | ||
"vue3", | ||
"vue", | ||
"baidu map", | ||
"baidu map gl", | ||
"vue3-baidu-map-gl", | ||
"vue3-bmap-gl" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "echo commit", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write", | ||
"eslint --fix" | ||
], | ||
"*.ts": [ | ||
"prettier --write", | ||
"eslint --fix" | ||
], | ||
"*.tsx": [ | ||
"prettier --write", | ||
"eslint --fix" | ||
], | ||
"*.vue": [ | ||
"prettier --parser=vue --write", | ||
"eslint --fix" | ||
], | ||
"*.css": [ | ||
"prettier --write" | ||
], | ||
"*.md": [ | ||
"prettier --write --parser markdown --prose-wrap never", | ||
"eslint --fix" | ||
] | ||
} | ||
} |
Oops, something went wrong.