-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.3 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
{
"name": "shareit-web",
"version": "0.2.1",
"description": "A web frontend to ShareIt.",
"repository": "https://github.com/pls-shareit/web",
"author": "Artemis <me@arty.li>",
"license": "MIT",
"scripts": {
"serve": "vite serve",
"build": "vue-tsc --noEmit && vite build --emptyOutDir",
"lint": "eslint --ext .vue,.js,.ts src"
},
"dependencies": {
"highlight.js": "^11.2.0",
"vue": "^3.0.0",
"vue-router": "4",
"vuex": "^4.0.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"@vitejs/plugin-vue": "^1.6.1",
"@vue/compiler-sfc": "^3.0.0",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.0.0",
"lint-staged": "^9.5.0",
"prettier": "^2.2.1",
"pug": "^3.0.2",
"sass": "^1.26.5",
"typescript": "^4.3.2",
"vite": "^2.5.4",
"vite-tsconfig-paths": "^3.3.14",
"vue-tsc": "^0.3.0",
"yorkie": "^2.0.0"
},
"vue": {
"pages": {
"index": "src/index.ts",
"share": "src/share.ts"
},
"outputDir": "frontend",
"assetsDir": "static",
"productionSourceMap": false
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"semi": [
"error",
"always"
],
"comma-dangle": [
"error",
"always-multiline"
],
"quotes": [
"error",
"double"
],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off"
},
"globals": {
"defineProps": "readonly",
"defineEmits": "readonly",
"defineExpose": "readonly",
"withDefaults": "readonly"
},
"ignorePatterns": [
"node_modules",
"frontend"
]
},
"prettier": {
"trailingComma": "all"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"eslint --ext .vue,.js,.ts src",
"git add"
]
}
}