vue3-realworld-example-app/package.json

96 lines
2.5 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": "jest",
"test:e2e": "yarn build && concurrently -k \"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": "^1.3.2",
"insane": "^2.6.2",
"marked": "^2.1.3",
"vue": "^3.2.2",
"vue-router": "^4.0.11"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/vue": "^6.4.2",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"@vitejs/plugin-vue": "^1.4.0",
"@vue/compiler-sfc": "^3.2.2",
"babel-jest": "^27.0.6",
"concurrently": "^6.2.1",
"cypress": "^8.2.0",
"eslint": "^7.32.0",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-vue": "^7.16.0",
"husky": "^4.3.8",
"jest": "^27.0.6",
"jsdom": "^17.0.0",
"lint-staged": "^11.1.2",
"rollup-plugin-analyzer": "^4.0.0",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5",
"vite": "^2.4.4",
"vue-tsc": "^0.2.2",
"vue3-jest": "^27.0.0-alpha.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint"
}
},
"lint-staged": {
"src/**/*.{ts,vue}": "eslint --fix",
"cypress/**/*.js": "eslint --fix"
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {}
},
"testEnvironment": "jsdom",
"transform": {
"^.+\\.vue$": "vue3-jest",
"^.+\\js$": "babel-jest"
},
"collectCoverageFrom": [
"<rootDir>/src/**/*.{ts,vue}",
"!<rootDir>/src/config.ts"
],
"moduleFileExtensions": [
"vue",
"ts",
"js",
"json",
"node"
],
"testMatch": [
"<rootDir>/src/**/*.spec.ts"
],
"modulePaths": [
"<rootDir>"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setup-test.ts"
]
}
}