-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.71 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
{
"name": "cis-scouting",
"version": "2024.3.0",
"private": true,
"engine": {
"node": ">=20.0.0"
},
"scripts": {
"serve": "vite preview --host",
"build-static": "vite build",
"lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src",
"dev": "vite --host",
"installPackages": "cd backend && npm i && cd .. && npm i && echo && echo all packages installed! && echo",
"build-backend": "npm run installPackages && cd backend && npm run build && echo",
"build-linux": "npm run installPackages && npm run build-static && npm run build-backend && mkdir -p build/static && cp -r backend/build/* backend/node_modules build/ && cp -r dist/* build/static/",
"build-windows": "npm run installPackages && npm run build-static && npm run build-backend && echo backend build complete && echo && powershell -Executionpolicy RemoteSigned -noprofile -noninteractive \"new-item -Path build/ -Name static -ItemType directory -Force | Out-Null\" && powershell copy-item backend/build/*,backend/node_modules -Destination build -recurse -Force && powershell copy-item -Path dist/* -Destination build/static/ -recurse -Force && echo full build complete!",
"run": "cd build/src && node main.js",
"run-pm2": "pm2 start build/main.js --name cis-scouting --attach",
"docker-build": "docker build -t ultimate360/scouting-app .",
"docker-run": "docker run -p 4173:4173 -d ultimate360/scouting-app",
"docker-push": "docker push ultimate360/scouting-app",
"docker-deploy": "npm run docker-build && npm run docker-push",
"generateSchema": "json2ts src/common/config.schema.json src/config.d.ts",
"knex-migrate": "cd backend && npx knex migrate:latest"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^3.0.6",
"@types/lodash": "^4.17.0",
"@types/node": "20.12.7",
"@vueuse/core": "^10.9.0",
"buffer": "^6.0.3",
"pinia": "^2.1.7",
"qrcode.vue": "^3.4.1",
"register-service-worker": "^1.7.2",
"vue": "^3.4.23",
"vue-qrcode-reader": "^5.5.3",
"vue-router": "^4.3.2",
"webdav": "^5.5.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vue-macros/reactivity-transform": "^0.4.4",
"@vue/cli-plugin-pwa": "~5.0.8",
"@vue/eslint-config-typescript": "^13.0.0",
"autoprefixer": "^10.4.19",
"common-types": "^1.33.2",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.25.0",
"json-schema-to-typescript": "^13.1.2",
"npm-check-updates": "^16.14.18",
"pm2": "^5.3.1",
"postcss": "^8.4.38",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.5.6",
"typescript": "~5.4.5",
"vite": "^5.2.9",
"vite-plugin-live-reload": "^3.0.3",
"vite-plugin-pwa": "^0.19.8"
},
"eslintConfig": {
"root": true,
"extends": [
"@vue/typescript/recommended",
"eslint:recommended",
"plugin:vue/vue3-essential"
],
"globals": {
"$$": "readonly",
"$": "readonly",
"$computed": "readonly",
"$customRef": "readonly",
"$ref": "readonly",
"$shallowRef": "readonly",
"$toRef": "readonly",
"APP_VERSION": "readonly"
},
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"no-console": "warn",
"no-debugger": "warn",
"quotes": [
"warn",
"double",
{
"avoidEscape": true
}
]
}
}
}