{ "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:vti": "vti diagnostics", "lint": "concurrently 'yarn tsc' 'yarn lint:script' 'yarn lint:vti'", "test:unit": "jest --coverage", "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.1", "insane": "^2.6.2", "marked": "^2.0.3", "vue": "^3.0.11", "vue-router": "^4.0.6" }, "devDependencies": { "@babel/core": "^7.13.15", "@types/jest": "^26.0.22", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", "@vitejs/plugin-vue": "^1.2.1", "@vue/compiler-sfc": "^3.0.11", "@vue/test-utils": "^2.0.0-rc.4", "babel-jest": "^26.6.3", "concurrently": "^6.0.2", "cypress": "^7.1.0", "eslint": "^7.24.0", "eslint-config-standard": "^16.0.2", "eslint-config-standard-with-typescript": "^20.0.0", "eslint-plugin-cypress": "^2.11.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-vue": "^7.8.0", "husky": "^4.3.8", "jest": "^26.6.3", "jsdom": "^16.5.3", "lint-staged": "^10.5.4", "rollup-plugin-analyzer": "^4.0.0", "ts-jest": "^26.5.5", "typescript": "^4.2.4", "vite": "^2.1.5", "vti": "^0.1.1", "vue-jest": "^5.0.0-alpha.8" }, "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$": "vue-jest", "^.+\\js$": "babel-jest" }, "collectCoverageFrom": [ "/src/**/*.{ts,vue}", "!/src/config.ts" ], "moduleFileExtensions": [ "vue", "ts", "js", "json", "node" ], "testMatch": [ "/src/**/*.spec.ts" ], "modulePaths": [ "" ], "setupFilesAfterEnv": [ "/src/setup-test.ts" ] } }