generated from 61040-fa22/fritter-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3.26 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
{
"name": "fritter-starter",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "cd client && vue-cli-service serve main.ts",
"build": "cd client && vue-cli-service build main.ts",
"lint": "eslint . --fix --ext=.ts,.vue",
"start": "ts-node api/index.ts",
"dev": "nodemon api/index.ts -e js,ts,json"
},
"dependencies": {
"connect-history-api-fallback": "^1.6.0",
"connect-mongo": "^4.6.0",
"cookie-parser": "~1.4.3",
"debug": "~4.3.4",
"dotenv": "^16.0.2",
"express": "^4.18.1",
"express-handlebars": "^6.0.6",
"express-session": "^1.17.3",
"moment": "^2.29.4",
"mongoose": "^6.6.2",
"morgan": "~1.10.0",
"nanoid": "^3.3.4",
"vue": "^2.7.13",
"vue-router": "^3.6.5",
"vuex": "^3.6.2",
"vuex-persistedstate": "^4.1.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@types/express": "^4.17.14",
"@types/express-session": "1.17.0",
"@types/morgan": "^1.9.3",
"@types/uuid": "^8.3.4",
"@vue/cli-plugin-router": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"eslint-config-xo": "^0.42.0",
"eslint-config-xo-typescript": "^0.53.0",
"eslint-plugin-vue": "^9.6.0",
"nodemon": "^2.0.20",
"ts-node": "^10.6.0",
"typescript": "^4.6.4",
"vue-template-compiler": "^2.7.13"
},
"eslintConfig": {
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"overrides": [
{
"files": [
"**/*.ts"
],
"excludedFiles": ["client/**"],
"extends": [
"xo",
"xo-typescript/space",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/comma-dangle": [
"error",
"never"
],
"@typescript-eslint/no-extraneous-class": "off",
"new-cap": [
"error",
{
"capIsNewExceptionPattern": "^express\\.."
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "typeParameter",
"format": [
"PascalCase"
],
"suffix": [
"Schema",
"Model"
]
}
]
}
},
{
"files": [
"**/*.vue"
],
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
]
}
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}