generated from logue/vite-vue2-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
107 lines (107 loc) · 3.89 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
96
97
98
99
100
101
102
103
104
105
106
107
{
"$schema": "https://json.schemastore.org/package.json",
"name": "vite-vue2-ts-ssr-starter",
"private": true,
"version": "0.5.3",
"description": "Vue2 SSR TS Starter project for Vite.",
"author": {
"name": "Logue",
"email": "[email protected]",
"url": "https://logue.dev/"
},
"homepage": "https://github.com/logue/vite-vue2-ts-ssr-starter",
"repository": {
"type": "git",
"url": "[email protected]:logue/vite-vue2-ts-ssr-starter.git"
},
"bugs": {
"url": "https://github.com/logue/vite-vue2-ts-ssr-starter/issues"
},
"license": "MIT",
"engines": {
"node": ">=16.16.0",
"yarn": ">=1.22.4"
},
"packageManager": "[email protected]",
"scripts": {
"dev": "NODE_ENV=development node server",
"dev:prod": "NODE_ENV=production node server",
"clean": "rimraf ./node_modules/.vite",
"lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . -w -u",
"lint:style": "stylelint \"./**/*.{css,sass,scss,htm,html,vue}\" --fix --cache-location ./node_modules/.vite/vite-plugin-stylelint && prettier \"./**/*.{css,sass,scss,htm,html,vue}\" -w -u",
"lint:markup": "vue-tsc --noEmit",
"build": "vue-tsc --noEmit && npm run build:client && npm run build:server",
"build:client": "vue-tsc --noEmit && vite build --outDir dist/client --ssrManifest",
"build:server": "vue-tsc --noEmit && vite build --outDir dist/server --ssr src/entry-server.js",
"build:analyze": "vue-tsc --noEmit && vite build --outDir dist/client --ssrManifest --mode analyze && vite build --outDir dist/server --ssr src/entry-server.js --mode analyze",
"build:clean": "rimraf dist",
"preview": "vite preview",
"prepare": "husky install"
},
"dependencies": {
"@logue/vue2-helpers": "^1.2.4",
"express": "^4.18.1",
"serve-static": "^1.15.0",
"vue": "^2.7.4",
"vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.1.2",
"vue-router": "^3.5.4",
"vue-server-renderer": "^2.7.4",
"vuex": "^3.6.2"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^18.0.3",
"@types/webfontloader": "^1.6.34",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@vitejs/plugin-vue2": "^1.1.2",
"@vue/eslint-config-prettier": "^7.0.0",
"eslint": "^8.19.0",
"eslint-config-google": "^0.14.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.2.4",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint-plugin-json-schema-validator": "^3.1.3",
"eslint-plugin-jsonc": "^2.3.1",
"eslint-plugin-tsdoc": "^0.2.16",
"eslint-plugin-vue": "^9.2.0",
"eslint-plugin-vuejs-accessibility": "^1.2.0",
"eslint-plugin-yaml": "^0.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"postcss": "^8.4.14",
"postcss-html": "^1.5.0",
"postcss-scss": "^4.0.4",
"prettier": "^2.7.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.6.0",
"stylelint": "^14.9.1",
"stylelint-config-recommended-scss": "^6.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.7.4",
"vite": "^2.9.14",
"vite-plugin-checker": "^0.4.8",
"vue-eslint-parser": "^9.0.3",
"vue-template-compiler": "^2.7.4",
"vue-tsc": "^0.38.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.vue": "vue-tsc --noEmit",
"*.{js,ts,json,jsonc,json5,yaml,yml,toml,yml,yaml,vue,htm,html,md}": "eslint --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint",
"*.{css,sass,scss,vue,htm,html}": "stylelint --fix --cache --cache-location ./node_modules/.vite/vite-plugin-stylelint",
"*": "prettier -w -u"
},
"resolutions": {
"prettier": "^2.7.1"
}
}