-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 3.62 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 3.62 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
{
"name": "quasar-contact-app",
"version": "1.7.0",
"description": "Combined landing page, Angular chat frontend, and Node.js backend",
"main": "backend/dist/server.js",
"scripts": {
"start": "cd backend && npm start",
"dev": "npm run copy:landing && cd backend && npm run dev",
"dev:landing": "cd landing && npm run dev",
"build": "npm run build:landing && npm run build:frontend && npm run copy && npm run build:backend",
"build:frontend": "cd frontend && set -a && source .env && set +a && echo 'DEBUG: NG_APP_API_URL=' $NG_APP_API_URL && echo 'DEBUG: NG_APP_WS_URL=' $NG_APP_WS_URL && echo 'DEBUG: NG_APP_TURNSTILE_SITE_KEY=' $NG_APP_TURNSTILE_SITE_KEY && echo 'DEBUG: NODE_ENV=' $NODE_ENV && npx ng build --configuration production",
"build:backend": "cd backend && npm run build",
"copy": "mkdir -p dist && if [ -d 'frontend/dist/browser' ]; then cp -r frontend/dist/browser/* dist/; elif [ -d 'frontend/dist' ]; then cp -r frontend/dist/* dist/; else echo 'No frontend dist found'; fi",
"copy:landing": "rm -rf dist && mkdir -p dist && if [ -d 'landing/dist' ]; then cp -r landing/dist/* dist/; else echo 'No landing dist found - building...'; cd landing && npm run build && cd .. && cp -r landing/dist/* dist/; fi",
"full": "npm run clean && npm run build:landing && npm run build:frontend && npm run copy && npm run build:backend && npm start",
"build:landing": "cd landing && npm run build && cd .. && mkdir -p public && cp -r landing/dist/* public/",
"install:all": "npm install && cd frontend && npm install && cd ../backend && npm install && cd ../landing && npm install",
"clean": "rm -rf dist/ && rm -rf public/ && rm -rf frontend/dist/ && rm -rf backend/dist/ && rm -rf landing/dist/",
"test": "echo 'No tests specified'",
"lint": "npm run lint:frontend && npm run lint:backend && npm run lint:landing",
"lint:frontend": "cd frontend && npm run lint",
"lint:backend": "cd backend && npm run lint",
"lint:landing": "cd landing && npm run lint",
"lint:fix": "npm run lint:fix:frontend && npm run lint:fix:backend && npm run lint:fix:landing",
"lint:fix:frontend": "cd frontend && npm run lint:fix",
"lint:fix:backend": "cd backend && npm run lint:fix",
"lint:fix:landing": "cd landing && npm run lint:fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"style": "npm run lint && npm run format:check",
"style:fix": "npm run lint:fix && npm run format",
"prepare": "husky"
},
"keywords": [
"chat",
"angular",
"socket.io",
"express",
"typescript"
],
"author": "art2url",
"license": "GPL-3.0",
"dependencies": {
"express": "^4.18.4"
},
"devDependencies": {
"typescript": "^5.4.3",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"@angular-eslint/eslint-plugin": "^19.4.0",
"@angular-eslint/template-parser": "^19.4.0",
"eslint": "^9.26.0",
"eslint-plugin-astro": "^1.0.0",
"astro-eslint-parser": "^1.0.0",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
"stylelint": "^14.16.1",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-recess-order": "^3.1.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^4.7.0",
"postcss-scss": "^4.0.9",
"postcss-html": "^1.7.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=11.0.0"
},
"lint-staged": {
"*.{js,ts,json,md}": [
"prettier --write"
],
"*.{css,scss}": [
"stylelint --fix",
"prettier --write"
]
}
}