-
Notifications
You must be signed in to change notification settings - Fork 305
/
package.json
95 lines (95 loc) · 2.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "vue3-realworld-example-app",
"version": "1.1.0",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "vite build",
"check-ts-errors": "yarn tsc --noEmit && 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.1.0",
"deepmerge": "^4.2.2",
"dompurify": "^2.2.6",
"marked": "^1.2.9",
"vue": "^3.0.6",
"vue-router": "^4.0.4"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/vue": "^6.3.4",
"@types/dompurify": "^2.2.1",
"@types/jest": "^26.0.20",
"@types/marked": "^1.2.2",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"@vitejs/plugin-vue": "^1.1.4",
"@vue/compiler-sfc": "^3.0.5",
"@vue/test-utils": "^2.0.0-rc.1",
"babel-jest": "^26.6.3",
"cypress": "^6.5.0",
"eslint": "^7.20.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": "^4.3.1",
"eslint-plugin-vue": "^7.6.0",
"husky": "^5.1.1",
"jest": "^26.6.3",
"jsdom": "^16.4.0",
"lint-staged": "^10.5.4",
"ts-jest": "^26.5.1",
"typescript": "~4.1.5",
"vite": "^2.0.2",
"vti": "^0.0.24",
"vue-jest": "^5.0.0-alpha.8"
},
"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"
]
}
}