-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.9 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.9 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
{
"name": "@gratio/wg",
"version": "1.1.0",
"description": "Another flexable Wireguard web-interface",
"main": "dist/server.js",
"license": "MIT",
"type": "module",
"bin": {
"@gratio/wg": "./dist/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Gratio-tech/WireguardControl.git"
},
"author": "Gratio",
"license": "MIT",
"keywords": [ "wireguard", "ui", "web-ui" ],
"bugs": {
"url": "https://github.com/Gratio-tech/WireguardControl/issues"
},
"homepage": "https://github.com/Gratio-tech/WireguardControl#readme",
"files": [
"dist",
"public",
"docs",
"config.example.json",
"demon.json",
"package.json",
"readme.md"
],
"dependencies": {
"@gratio/crypt": "^1.0.13",
"boma": "^2.0.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.17.1",
"vanicom": "^1.1.1"
},
"devDependencies": {
"@types/node": "^22.10.1",
"@types/cookie-parser": "^1.4.9",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"esbuild": "^0.24.0",
"nodemon": "^2.0.15",
"ts-node": "^10.9.2",
"prettier": "3.5.3",
"tsc-alias": "^1.8.14",
"typescript": "^5.8.2"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon --watch src --ext ts,json --exec \"node --loader ts-node/esm ./src/server.ts\"",
"start": "cross-env NODE_ENV=production node ./dist/server.js",
"style": "prettier --write 'src/**/*.{ts,tsx}' --cache -l",
"build": "npm run style && tsc && tsc-alias && node ./scripts/minify.mjs"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 140,
"quoteProps": "consistent",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid"
},
"engines": { "node": ">=18.11.0" }
}