-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
69 lines (69 loc) · 2.26 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
{
"name": "chat-fusion",
"version": "1.0.0",
"scripts": {
"build": "vite build && cpx ./chrome-extension/popup/*.{svg,png} chrome-extension/dist",
"build-server": "tsc --target ES2018 --module CommonJS --outDir ./ --strict --esModuleInterop api/server.ts",
"server-dev": "nodemon --watch 'api/server.ts' --exec \"tsc --target ES2018 --module CommonJS --outDir ./ --strict --esModuleInterop api/server.ts && node ./api/server.js\"",
"lint": "eslint 'chrome-extension/**/*.ts' 'api/**/*.ts' 'chat/**/*.{ts,tsx}' --quiet",
"format": "prettier --write '**/*.{ts,tsx,json}'",
"prepare": "husky install"
},
"lint-staged": {
"chrome-extension/**/*.ts": [
"eslint --fix",
"prettier --write"
],
"api/**/*.ts": [
"eslint --fix",
"prettier --write"
],
"chat/**/*.{ts,tsx,svg}": [
"eslint --fix",
"prettier --write"
],
"**/*.json": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"author": {
"name": "Aleksandar Grbic",
"email": "[email protected]",
"url": "https://programmer.network"
},
"devDependencies": {
"@faker-js/faker": "^8.2.0",
"@types/chrome": "^0.0.248",
"@types/linkify-it": "^3.0.4",
"@types/node": "^20.8.7",
"@types/socket.io-client": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"cpx": "^1.5.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"faker": "@faker-js/faker",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"nodemon": "^2.0.15",
"typescript": "^5.2.2",
"vite": "^4.5.0"
},
"dependencies": {
"@fastify/cors": "8.4.0",
"fastify": "^4.24.3",
"fastify-cors": "^6.1.0",
"fastify-socket.io": "^5.0.0",
"linkify-it": "^4.0.1",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2"
}
}