加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
龚旭 提交于 2022-12-29 15:20 . 上传
{
"name": "vue3-realworld-example-app",
"private": true,
"license": "MIT",
"scripts": {
"prepare": "husky install",
"dev": "vite",
"build": "vite build",
"serve": "vite preview --port 4137",
"lint:script": "eslint \"{src/**/*.{ts,vue},cypress/**/*.ts}\"",
"lint:tsc": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
"lint": "concurrently \"npm run lint:tsc\" \"npm run lint:script\"",
"test:unit": "cypress open --component",
"test:unit:ci": "cypress run --component --quiet --reporter spec",
"test:e2e": "npm run build && concurrently -rk -s first \"npm run serve\" \"cypress open --e2e -c baseUrl=http://localhost:4137\"",
"test:e2e:local": "cypress open --e2e -c baseUrl=http://localhost:5173",
"test:e2e:ci": "npm run build && concurrently -rk -s first \"npm run serve\" \"cypress run --e2e -c baseUrl=http://localhost:4137\"",
"test:e2e:prod": "cypress run --e2e -c baseUrl=https://vue3-realworld-example-app-mutoe.vercel.app",
"test": "npm run test:unit:ci && npm run test:e2e:ci",
"generate:api": "curl -sL https://raw.githubusercontent.com/gothinkster/realworld/main/api/openapi.yml -o ./src/services/openapi.yml && sta -p ./src/services/openapi.yml -o ./src/services -n api.ts"
},
"dependencies": {
"insane": "^2.6.2",
"marked": "^4.2.3",
"pinia": "^2.0.27",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@cypress/vue": "^5.0.3",
"@mutoe/eslint-config-preset-vue": "~2.1.2",
"@pinia/testing": "^0.0.14",
"@testing-library/cypress": "^8.0.7",
"@types/marked": "^4.0.7",
"@vitejs/plugin-vue": "^3.2.0",
"@vue/tsconfig": "^0.1.3",
"concurrently": "^7.6.0",
"cypress": "^11.2.0",
"eslint": "^8.29.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"husky": "^8.0.2",
"lint-staged": "^13.0.4",
"rollup-plugin-analyzer": "^4.0.0",
"swagger-typescript-api": "^12.0.2",
"typescript": "~4.9.3",
"vite": "^3.2.4",
"vue-tsc": "^1.0.11"
},
"lint-staged": {
"src/**/*.{ts,vue}": "eslint --fix",
"cypress/**/*.ts": "eslint --fix"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化