vue3-realworld-example-app/package.json

96 lines
2.4 KiB
JSON

{
"name": "vue3-realworld-example-app",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "vite build",
"check-ts-errors": "yarn tsc && yarn vti diagnostics",
"lint": "eslint \"{src,cypress}/**/*.{js,ts,vue}\"",
"test:unit": "jest --coverage",
"test:e2e": "cypress run",
"test": "yarn check-ts-errors && yarn lint && yarn test:unit && yarn test:e2e"
},
"dependencies": {
"@harlem/core": "^1.0.16",
"deepmerge": "^4.2.2",
"dompurify": "^2.2.2",
"marked": "^1.2.3",
"vue": "^3.0.2",
"vue-router": "^4.0.0-rc.2"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/vue": "^6.0.0",
"@types/dompurify": "^2.0.4",
"@types/jest": "^24.9.1",
"@types/marked": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"@vue/compiler-sfc": "^3.0.2",
"@vue/test-utils": "^2.0.0-beta.8",
"babel-jest": "^24.9.0",
"cypress": "^5.3.0",
"eslint": "^7.13.0",
"eslint-config-standard": "^16.0.1",
"eslint-config-standard-with-typescript": "^19.0.1",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-vue": "^7.1.0",
"husky": "^4.3.0",
"jest": "^24.9.0",
"jsdom": "^16.4.0",
"lint-staged": "^10.5.1",
"ts-jest": "^24.3.0",
"typescript": "^3.9.7",
"vite": "^1.0.0-rc.9",
"vti": "^0.0.14",
"vue-jest": "^5.0.0-alpha.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn check-ts-errors"
}
},
"lint-staged": {
"src/**/*.{ts,vue}": "eslint --fix",
"cypress/**/*.js": "eslint --fix"
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {}
},
"testEnvironment": "jsdom",
"transform": {
"^.+\\.vue$": "vue-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"
]
}
}