vue3-realworld-example-app/package.json

62 lines
2.1 KiB
JSON

{
"name": "vue3-realworld-example-app",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"prepare": "simple-git-hooks",
"dev": "vite",
"build": "vite build",
"serve": "vite preview --port 4173",
"type-check": "vue-tsc --noEmit",
"lint": "eslint --fix .",
"test": "npm run test:unit && npm run test:e2e:ci",
"test:e2e": "npm run build && concurrently -rk -s first \"npm run serve\" \"cypress open --e2e -c baseUrl=http://localhost:4173\"",
"test:e2e:ci": "npm run build && concurrently -rk -s first \"npm run serve\" \"cypress run --e2e -c baseUrl=http://localhost:4173\"",
"test:e2e:local": "cypress open --e2e -c baseUrl=http://localhost:5173",
"test:e2e:prod": "cypress run --e2e -c baseUrl=https://vue3-realworld-example-app-mutoe.vercel.app",
"test:unit": "vitest run",
"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": "^12.0.0",
"pinia": "^2.1.7",
"vue": "^3.4.27",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@mutoe/eslint-config": "^2.8.3",
"@pinia/testing": "^0.1.3",
"@testing-library/cypress": "^10.0.1",
"@testing-library/user-event": "^14.5.1",
"@testing-library/vue": "^8.0.1",
"@vitejs/plugin-vue": "^4.5.0",
"@vitest/coverage-v8": "^1.0.4",
"concurrently": "^8.2.2",
"cypress": "^13.6.0",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^3.4.0",
"eslint-plugin-vitest": "^0.5.4",
"eslint-plugin-vue": "^9.27.0",
"happy-dom": "^12.10.3",
"lint-staged": "^15.2.0",
"msw": "^2.3.5",
"rollup-plugin-analyzer": "^4.0.0",
"simple-git-hooks": "^2.9.0",
"swagger-typescript-api": "^13.0.3",
"typescript": "~5.5.4",
"vite": "^5.0.7",
"vitest": "^1.0.4",
"vitest-dom": "^0.1.1",
"vue-tsc": "^2.0.29"
},
"simple-git-hooks": {
"pre-commit": "npm exec lint-staged",
"pre-push": "npm run lint && npm run build"
},
"lint-staged": {
"*": "eslint --fix"
}
}