-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.61 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
{
"name": "template-vue",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"remove-build": "rm -rf -d ./dist ./dist-staging",
"test:unit": "TZ=Africa vitest",
"test:unit:coverage": "TZ=Africa vitest run --coverage",
"test:unit:ci": "TZ=Africa vitest run",
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
"build-only": "vite build",
"build:staging": "npm run type-check && vite build -- --mode staging",
"type-check": "vue-tsc --build --force",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"pre-commit": "npm audit || lint-staged",
"pre-push": "npm run build && npm run test:unit:ci && npm run remove-build",
"stylelint": "stylelint --aei '**/*.{css,vue,scss}'",
"stylelint:fix": "npm run stylelint -- --fix",
"format": "prettier --write src/ && npm run stylelint",
"husky": "husky",
"generate-user": "openapi -i ./specs/user.yaml -o ./src/services/apis/user --useOptions -c axios --useUnionTypes",
"generate": "npm run generate-user"
},
"dependencies": {
"pinia": "^2.1.7",
"vue": "^3.4.29",
"vue-i18n": "^10.0.4",
"vue-router": "^4.3.3"
},
"devDependencies": {
"@pinia/testing": "^0.1.6",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.5",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/coverage-v8": "^2.1.2",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.20",
"commitizen": "^4.3.1",
"cssnano": "^7.0.6",
"cypress": "^13.12.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-config-epsvue": "^1.2.3",
"husky": "^9.1.6",
"jsdom": "^24.1.0",
"lint-staged": "^15.2.10",
"npm-run-all2": "^6.2.0",
"openapi-typescript-codegen": "^0.29.0",
"postcss": "^8.4.47",
"postcss-import": "^16.1.0",
"start-server-and-test": "^2.0.4",
"tailwindcss": "^3.4.13",
"typescript": "~5.4.0",
"vite": "^5.3.1",
"vite-plugin-vue-devtools": "^7.3.1",
"vitest": "^2.1.2",
"vue-tsc": "^2.0.21"
},
"lint-staged": {
"*.{json,ts,vue}": [
"prettier --write"
],
"*.{js,ts,vue}": [
"eslint"
],
"*.{css,vue,scss}": [
"stylelint --aei"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"engines": {
"node": ">=18.18.0"
}
}