-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 4.27 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 4.27 KB
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
108
{
"name": "cis-scouting",
"version": "2026.2.0",
"private": true,
"engine": {
"node": ">=24.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",
"dev:backend": "cd backend && npm run buildAndRun",
"dev:all": "npm run dev & npm run dev:backend",
"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",
"full-send": "npm run build-windows && npm run docker-deploy",
"generateSchema": "json2ts src/common/config.schema.json src/config.d.ts",
"knex-migrate": "cd backend && npx knex migrate:latest",
"knex-migrate:staging": "cd backend && npx knex migrate:latest --env staging",
"knex-migrate:production": "cd backend && npx knex migrate:latest --env production",
"knex-status": "cd backend && npx knex migrate:status",
"knex-status:staging": "cd backend && npx knex migrate:status --env staging",
"knex-status:production": "cd backend && npx knex migrate:status --env production"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^7.2.0",
"@fortawesome/free-brands-svg-icons": "^7.2.0",
"@fortawesome/free-regular-svg-icons": "^7.2.0",
"@fortawesome/free-solid-svg-icons": "^7.2.0",
"@fortawesome/vue-fontawesome": "^3.1.3",
"@types/lodash": "^4.17.24",
"@types/node": "25.5.2",
"@vueuse/core": "^14.2.1",
"buffer": "^6.0.3",
"pinia": "^3.0.4",
"qrcode.vue": "^3.8.1",
"register-service-worker": "^1.7.2",
"vue": "^3.5.32",
"vue-qrcode-reader": "^5.7.3",
"vue-router": "^5.0.4",
"webdav": "^5.9.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@vitejs/plugin-vue": "^6.0.5",
"@vue-macros/reactivity-transform": "^3.1.2",
"@vue/cli-plugin-pwa": "~5.0.9",
"@vue/eslint-config-typescript": "^14.7.0",
"autoprefixer": "^10.4.27",
"common-types": "^1.33.2",
"eslint": "^10.2.0",
"eslint-plugin-vue": "^10.8.0",
"json-schema-to-typescript": "^15.0.4",
"npm-check-updates": "^19.6.6",
"pm2": "^6.0.14",
"postcss": "^8.5.8",
"postcss-nested": "^7.0.2",
"postcss-preset-env": "^11.2.0",
"typescript": "~6.0.2",
"vite": "^7.3.1",
"vite-plugin-live-reload": "^3.1.0",
"vite-plugin-pwa": "^1.2.0"
},
"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
}
]
}
}
}