ci: scripts/create 调整 package.json 生成

This commit is contained in:
pengzhanbo 2022-05-04 15:30:50 +08:00
parent e57f70a75b
commit df921c8a48

View File

@ -2,6 +2,12 @@
"name": "@vuepress-plume/vuepress-{{ pkgName }}",
"version": "{{ version }}",
"description": "The Plugin for VuePres 2",
"keyword": [
"VuePress",
"vuepress plugin",
"{{ lowerName }}",
"vuepress-plugin-{{ pkgName }}"
],
"homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme",
"bugs": {
"url": "https://github.com/pengzhanbo/vuepress-theme-plume/issues"
@ -17,9 +23,11 @@
"lib"
],
"scripts": {
"build": "pnpm run clean && pnpm run ts",
"build": "pnpm run clean && pnpm run copy && pnpm run ts",
"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:watch": "tsc -b tsconfig.build.json --watch"
},