61 lines
1.8 KiB
JSON
61 lines
1.8 KiB
JSON
{
|
|
"name": "vue3-realworld-example-app",
|
|
"version": "1.1.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"serve": "vite preview",
|
|
"lint:script": "eslint \"{src/**/*.{ts,vue},cypress/**/*.js}\"",
|
|
"lint:tsc": "vue-tsc --noEmit",
|
|
"lint": "concurrently 'yarn build' 'yarn lint:tsc' 'yarn lint:script'",
|
|
"test:unit": "cypress run-ct",
|
|
"test:e2e": "yarn build && concurrently -rk -s first \"yarn serve\" \"cypress run -c baseUrl=http://localhost:5000\"",
|
|
"test:e2e:ci": "cypress run -C cypress.prod.json",
|
|
"test": "yarn test:unit && yarn test:e2e"
|
|
},
|
|
"dependencies": {
|
|
"@harlem/core": "^2.2.0",
|
|
"insane": "^2.6.2",
|
|
"marked": "^4.0.7",
|
|
"vue": "^3.2.24",
|
|
"vue-router": "^4.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.0",
|
|
"@cypress/vite-dev-server": "^2.2.1",
|
|
"@cypress/vue": "^3.0.5",
|
|
"@testing-library/cypress": "^8.0.2",
|
|
"@types/marked": "^4.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
"@typescript-eslint/parser": "^5.6.0",
|
|
"@vitejs/plugin-vue": "^1.10.2",
|
|
"@vue/compiler-sfc": "^3.2.24",
|
|
"concurrently": "^6.4.0",
|
|
"cypress": "^9.1.1",
|
|
"eslint": "^8.4.1",
|
|
"eslint-config-standard-with-typescript": "^21.0.1",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-import": "^2.25.3",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^5.2.0",
|
|
"eslint-plugin-vue": "^8.2.0",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^12.1.2",
|
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
"typescript": "^4.5.3",
|
|
"vite": "^2.7.1",
|
|
"vue-tsc": "^0.29.8"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn lint"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,vue}": "eslint --fix",
|
|
"cypress/**/*.js": "eslint --fix"
|
|
}
|
|
}
|