vue3-realworld-example-app/package.json

64 lines
2.2 KiB
JSON

{
"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",
"lint": "concurrently \"npm run lint:tsc\" \"npm run lint:script\"",
"test:unit": "vitest run",
"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 && 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.5",
"pinia": "^2.1.6",
"vue": "^3.3.4",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@mutoe/eslint-config-preset-vue": "~2.1.2",
"@pinia/testing": "^0.1.3",
"@testing-library/cypress": "^9.0.0",
"@testing-library/user-event": "^14.4.3",
"@testing-library/vue": "^7.0.0",
"@types/marked": "^4.0.8",
"@vitejs/plugin-vue": "^4.3.4",
"@vitest/coverage-v8": "^0.34.3",
"concurrently": "^7.6.0",
"cypress": "^13.1.0",
"eslint": "^8.31.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.14.0",
"happy-dom": "^11.0.2",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"msw": "^1.3.0",
"rollup-plugin-analyzer": "^4.0.0",
"swagger-typescript-api": "^12.0.2",
"typescript": "~5.0.4",
"vite": "^4.4.9",
"vitest": "^0.34.3",
"vitest-dom": "^0.1.0",
"vue-tsc": "^1.8.8"
},
"overrides": {
"@testing-library/cypress": {
"cypress": "^13"
}
},
"lint-staged": {
"src/**/*.{ts,vue,js}": "eslint --fix",
"cypress/**/*.{ts,js}": "eslint --fix"
}
}