|
@@ -1,17 +1,18 @@
|
|
|
{
|
|
{
|
|
|
"name": "vue-project",
|
|
"name": "vue-project",
|
|
|
- "version": "0.0.2",
|
|
|
|
|
|
|
+ "version": "0.1.1",
|
|
|
"private": true,
|
|
"private": true,
|
|
|
"type": "module",
|
|
"type": "module",
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"dev": "vite --host --mode development --port 3000",
|
|
"dev": "vite --host --mode development --port 3000",
|
|
|
"dev:test": "vite --host --mode test --port 4000",
|
|
"dev:test": "vite --host --mode test --port 4000",
|
|
|
"dev:pro": "vite --host --mode production --port 5000",
|
|
"dev:pro": "vite --host --mode production --port 5000",
|
|
|
|
|
+ "build:dev": "vite build --mode development",
|
|
|
|
|
+ "build:test": "vite build --mode test",
|
|
|
"build": "vite build",
|
|
"build": "vite build",
|
|
|
- "build:test": "node version-script.js test",
|
|
|
|
|
- "build:publish": "node version-script.js publish",
|
|
|
|
|
- "build:tag:test": "node version-script.js test-by-tag",
|
|
|
|
|
- "build:tag:pro": "node version-script.js pro-by-tag",
|
|
|
|
|
|
|
+ "bump": "npm version patch -m \"new version published: v%s\"",
|
|
|
|
|
+ "release": "npm run bump && git push && git push --tags && node scripts/release-message.js",
|
|
|
|
|
+ "deploy:test": "pwsh -ExecutionPolicy Bypass -File scripts/deploy.ps1",
|
|
|
"preview": "vite preview",
|
|
"preview": "vite preview",
|
|
|
"type-check": "vue-tsc --build",
|
|
"type-check": "vue-tsc --build",
|
|
|
"lint": "eslint . --fix",
|
|
"lint": "eslint . --fix",
|
|
@@ -59,4 +60,4 @@
|
|
|
"vite-plugin-vue-devtools": "^7.7.7",
|
|
"vite-plugin-vue-devtools": "^7.7.7",
|
|
|
"vue-tsc": "^2.2.10"
|
|
"vue-tsc": "^2.2.10"
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
|
|
+}
|