vue3-realworld-example-app/package.json

53 lines
1.9 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 -p tsconfig.app.json --composite false",
"lint": "concurrently \"yarn lint:tsc\" \"yarn lint:script\"",
"test:unit": "cypress open --component",
"test:unit:ci": "cypress run --component --quiet --reporter spec",
"test:e2e": "yarn build && concurrently -rk -s first \"yarn serve\" \"cypress open --e2e -c baseUrl=http://localhost:4137\"",
"test:e2e:ci": "yarn build && concurrently -rk -s first \"yarn 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": "yarn test:unit:ci && yarn test:e2e:ci",
"generate:api": "sta -p https://raw.githubusercontent.com/gothinkster/realworld/main/api/openapi.yml -o ./src/services -n api.ts"
},
"dependencies": {
"insane": "^2.6.2",
"marked": "^4.0.16",
"pinia": "^2.0.14",
"vue": "^3.2.37",
"vue-router": "^4.0.15"
},
"devDependencies": {
"@cypress/vue": "^3.1.2",
"@mutoe/eslint-config-preset-vue": "~1.3.2",
"@pinia/testing": "^0.0.12",
"@testing-library/cypress": "^8.0.3",
"@types/marked": "^4.0.3",
"@vitejs/plugin-vue": "^2.3.3",
"@vue/tsconfig": "^0.1.3",
"concurrently": "^7.2.1",
"cypress": "^10.1.0",
"eslint": "^8.17.0",
"eslint-plugin-cypress": "^2.12.1",
"husky": "^8.0.0",
"lint-staged": "^13.0.0",
"rollup-plugin-analyzer": "^4.0.0",
"swagger-typescript-api": "^9.3.1",
"typescript": "~4.7.2",
"vite": "^2.9.10",
"vue-tsc": "^0.37.3"
},
"lint-staged": {
"src/**/*.{ts,vue}": "eslint --fix",
"cypress/**/*.ts": "eslint --fix"
}
}