ci: scripts/create 调整 package.json 生成
This commit is contained in:
parent
e57f70a75b
commit
df921c8a48
@ -2,6 +2,12 @@
|
|||||||
"name": "@vuepress-plume/vuepress-{{ pkgName }}",
|
"name": "@vuepress-plume/vuepress-{{ pkgName }}",
|
||||||
"version": "{{ version }}",
|
"version": "{{ version }}",
|
||||||
"description": "The Plugin for VuePres 2",
|
"description": "The Plugin for VuePres 2",
|
||||||
|
"keyword": [
|
||||||
|
"VuePress",
|
||||||
|
"vuepress plugin",
|
||||||
|
"{{ lowerName }}",
|
||||||
|
"vuepress-plugin-{{ pkgName }}"
|
||||||
|
],
|
||||||
"homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme",
|
"homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/pengzhanbo/vuepress-theme-plume/issues"
|
"url": "https://github.com/pengzhanbo/vuepress-theme-plume/issues"
|
||||||
@ -17,9 +23,11 @@
|
|||||||
"lib"
|
"lib"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm run clean && pnpm run ts",
|
"build": "pnpm run clean && pnpm run copy && pnpm run ts",
|
||||||
"clean": "rimraf lib *.tsbuildinfo",
|
"clean": "rimraf lib *.tsbuildinfo",
|
||||||
"dev": "pnpm run ts:watch",
|
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
|
||||||
|
"copy:watch": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib -w",
|
||||||
|
"dev": "concurrently \"pnpm copy:watch\" \"pnpm ts:watch\"",
|
||||||
"ts": "tsc -b tsconfig.build.json",
|
"ts": "tsc -b tsconfig.build.json",
|
||||||
"ts:watch": "tsc -b tsconfig.build.json --watch"
|
"ts:watch": "tsc -b tsconfig.build.json --watch"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user