forked from jambonz/jambonz-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 3.15 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
114
115
116
117
118
119
120
121
122
123
{
"name": "jambonz-webapp",
"description": "A simple provisioning web app for jambonz",
"version": "v1.0.0",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=14.18"
},
"contributors": [
{
"name": "Brandon Lee Kitajchuk",
"email": "[email protected]",
"url": "https://www.kitajchuk.com"
},
{
"name": "Lê Hàn Minh Khang",
"email": "[email protected]"
},
{
"name": "Dave Horton",
"email": "[email protected]",
"url": "https://drachtio.org"
}
],
"scripts": {
"prepare": "husky install",
"postinstall": "rm -rf public/fonts && cp -R node_modules/jambonz-ui/public/fonts public/fonts",
"start": "npm run dev",
"dev": "vite --port 3001",
"dev:server": "ts-node --esm server/dev.server.ts",
"prebuild": "rm -rf ./dist",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --max-warnings=0",
"format": "prettier --check .",
"test": "cypress run --component --headless",
"test:open": "cypress open --component",
"serve": "serve -s dist -l ${HTTP_PORT:-3001}",
"pm2": "pm2 start npm --name \"jambonz-webapp\" -- run serve",
"deploy": "npm i && npm run build && npm run pm2"
},
"dependencies": {
"dayjs": "^1.11.5",
"jambonz-ui": "^0.0.19",
"react": "^18.0.0",
"react-blockies": "^1.4.1",
"react-dom": "^18.0.0",
"react-feather": "^2.0.10",
"react-router-dom": "^6.3.0"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/node": "^18.6.1",
"@types/react": "^18.0.0",
"@types/react-blockies": "^1.4.1",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@vitejs/plugin-react": "^1.3.0",
"cors": "^2.8.5",
"cypress": "^10.8.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.18.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"nanoid": "^4.0.0",
"prettier": "^2.7.1",
"sass": "^1.53.0",
"serve": "^14.0.1",
"ts-node": "^10.9.1",
"typescript": "^4.6.3",
"vite": "^3.0.0"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --max-warnings=0",
"*.{ts,tsx,json,md,html,scss,css,yml}": "prettier --write"
},
"eslintConfig": {
"root": true,
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"react-hooks",
"jsx-a11y",
"react"
],
"rules": {
"react/jsx-key": [
"error",
{
"checkFragmentShorthand": true
}
],
"react/prop-types": [
0
],
"@typescript-eslint/no-non-null-assertion": [
0
]
},
"parser": "@typescript-eslint/parser",
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"dist",
"node_modules"
]
}
}