-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
344fe3f
commit 5d83967
Showing
4 changed files
with
206 additions
and
18 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
pnpm run lint | ||
pnpm exec nano-staged |
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,4 @@ | ||
{ | ||
"*.{js,ts,vue}": ["eslint --fix", "prettier --write"], | ||
"*.{md,json,yml}": ["prettier --write"] | ||
} |
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 |
---|---|---|
|
@@ -8,37 +8,36 @@ | |
"vuepress-plugin", | ||
"i18n" | ||
], | ||
"homepage": "https://github.com/DreamOfIce/vuepress-plugin-i18n#readme", | ||
"bugs": { | ||
"url": "https://github.com/DreamOfIce/vuepress-plugin-i18n/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/DreamOfIce/vuepress-plugin-i18n.git" | ||
}, | ||
"license": "MIT", | ||
"author": "冰雪殇璃陌梦 <[email protected]> (https://www.dreamofice.cn)", | ||
"type": "module", | ||
"main": "./dist/node/index.js", | ||
"types": "./dist/node/index.d.ts", | ||
"exports": { | ||
".": "./dist/node/index.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./dist/node/index.js", | ||
"types": "./dist/node/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"README_zh-CN.md" | ||
], | ||
"scripts": { | ||
"build": "vite build", | ||
"lint": "pnpm run /^lint:.*/", | ||
"lint": "pnpm run \"/^lint:.*/\"", | ||
"lint:eslint": "eslint --ext .ts --fix ./src", | ||
"lint:prettier": "prettier --write .", | ||
"prepare": "husky install", | ||
"release": "bumpp --execute=\"pnpm exec commit-and-tag-version && git add CHANGELOG.md\" --commit \"chore: release v%s\" --all --tag", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "冰雪殇璃陌梦 <[email protected]> (https://www.dreamofice.cn)", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/DreamOfIce/vuepress-plugin-i18n.git" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/DreamOfIce/vuepress-plugin-i18n/issues" | ||
}, | ||
"homepage": "https://github.com/DreamOfIce/vuepress-plugin-i18n#readme", | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@vuepress/client": "2.0.0-beta.61", | ||
"@vuepress/core": "2.0.0-beta.61", | ||
|
@@ -67,20 +66,23 @@ | |
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-vue": "^9.11.0", | ||
"husky": "^8.0.3", | ||
"nano-staged": "^0.8.0", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-packagejson": "^2.4.3", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.3.5", | ||
"vite-plugin-dts": "^2.3.0" | ||
}, | ||
"peerDependencies": { | ||
"vuepress": "2.0.0-beta.61" | ||
}, | ||
"packageManager": "[email protected]", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"ts-node": "npm:@dreamofice/ts-node@^10.9.2" | ||
} | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
} | ||
} |
Oops, something went wrong.