-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.65 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
107
108
109
110
111
112
113
{
"name": "squealer-web-app",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "node build/server/index.js",
"dev:smm": "cross-env NODE_ENV=development concurrently \"nodemon\" \"nodemon -x tsoa spec-and-routes\" \"yarn workspace smm dev\"",
"dev:app:noapi": "yarn workspace app start",
"dev:app": "cross-env NODE_ENV=development concurrently \"nodemon\" \"nodemon -x tsoa spec-and-routes\" \"yarn workspace app start\"",
"dev:server": "cross-env NODE_ENV=development concurrently \"nodemon\" \"nodemon -x tsoa spec-and-routes\"",
"build": "npm run build:server && npm run build:app && npm run build:smm && npm run build:moddash",
"build:server": "tsoa spec-and-routes && tsc && resolve-tspaths",
"build:app": "yarn workspace app build",
"build:smm": "yarn workspace smm build",
"build:moddash": "rm -rf build/moddash && cp -r moddash build/moddash",
"prepare": "husky install",
"commit": "cz",
"deploy:flecs": "cd deploy && ansible-playbook playbook.yml --limit donbartolo",
"deploy:gio": "cd deploy && ansible-playbook playbook.yml --limit marullo",
"deploy:luca": "cd deploy && ansible-playbook playbook.yml --limit eufemia",
"lint": "eslint --ext .ts,.tsx .",
"prettier": "prettier --write .",
"init": "yarn install && yarn workspace app install && yarn workspace moddash install && mkdir build",
"scripts:populate": "ts-node -r tsconfig-paths/register -T deploy/scripts/scripts.ts",
"test:api": "jest api --detectOpenHandles"
},
"dependencies": {
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"jose": "^4.14.1",
"mongoose": "^7.0.4",
"multer": "^1.4.5-lts.1",
"react-bootstrap-icons": "^1.10.3",
"resolve-tspaths": "^0.8.13",
"swagger-ui-express": "^4.6.2",
"tsoa": "^5.1.1",
"typescript": "^5.0.4",
"uuid": "^9.0.0",
"winston": "^3.9.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@commitlint/cz-commitlint": "^17.5.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.1",
"@types/multer": "^1.4.7",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"commitizen": "^4.3.0",
"concurrently": "^8.0.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"inquirer": "^8.2.5",
"jest": "^29.5.0",
"lint-staged": "^13.2.1",
"nodemon": "^2.0.22",
"prettier": "2.8.7",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1"
},
"workspaces": [
"app",
"smm"
],
"nodemonConfig": {
"exec": "ts-node -r tsconfig-paths/register server/index.ts",
"watch": [
"server/*",
"model/*",
"api/*"
],
"ext": "ts",
"ignore": [
"**/test/**",
"**/docs/**"
],
"delay": "2000"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf"
}
}