diff --git a/package.json b/package.json index 31b9b97..278fbf4 100644 --- a/package.json +++ b/package.json @@ -2,17 +2,18 @@ "name": "tcc-front", "version": "0.0.0", "scripts": { - "dev": "SET VUE_ENV=dev && vite", - "postinstall": "npm run build", - "start": "SET VUE_ENV=prod && node server.js", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "vitest --environment jsdom", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore" -} -, + "dev": "VUE_ENV=dev vite", + "postinstall": "npm run build", + "start": "VUE_ENV=prod node server.js", + "build": "vite build", + "preview": "vite preview --port 5050", + "test:unit": "vitest --environment jsdom", + "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", + "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore", + "dev:w": "set VUE_ENV=dev && vite", + "start:w": "set VUE_ENV=prod && node server.js" + }, "dependencies": { "@element-plus/icons-vue": "^1.1.4", "axios": "^0.27.2", @@ -23,6 +24,7 @@ "moment": "^2.29.3", "pug": "^3.0.2", "serve-static": "^1.15.0", + "tcc-front": "file:", "vue": "^3.2.33", "vue-router": "^4.0.15", "vue-the-mask": "^0.11.1",