-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
54 lines (54 loc) · 1.83 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
{
"name": "demergi",
"version": "2.2.3",
"description": "A proxy server that helps to bypass the DPI systems implemented by various ISPs",
"author": "Héctor Molinero Fernández <hector@molinero.dev>",
"license": "MIT",
"homepage": "https://github.com/hectorm/demergi",
"repository": {
"type": "git",
"url": "https://github.com/hectorm/demergi.git"
},
"bugs": {
"url": "https://github.com/hectorm/demergi/issues"
},
"type": "module",
"main": "./src/index.js",
"bin": {
"demergi": "./bin/demergi.js"
},
"files": [
"bin/",
"src/"
],
"scripts": {
"lint": "run-s lint:*",
"lint:eslint": "eslint --max-warnings 0 ./",
"lint:prettier": "prettier --list-different ./",
"format": "run-s format:*",
"format:eslint": "eslint --fix ./",
"format:prettier": "prettier --write ./",
"test": "run-s test:*",
"test:node": "node --test ./test/node.test.js",
"test:bun": "bun test ./test/bun.test.js",
"start": "node -- ./bin/demergi.js",
"watch": "nodemon -- ./bin/demergi.js",
"build": "run-s build:bundle build:binary",
"build:bundle": "esbuild --bundle --minify --format=cjs --platform=node --target=node22 --analyze --outfile=./dist/demergi.js ./bin/demergi.js",
"build:binary": "pkg --target=node22-linuxstatic-x64,node22-linuxstatic-arm64,node22-win-x64 --out-path=./dist/ ./dist/demergi.js",
"clean": "rm -rf ./dist/",
"preversion": "run-s lint test",
"version": "sed -i \"s|Demergi ${npm_old_version:?}|Demergi ${npm_new_version:?}|g\" ./bin/*.js && git add -A"
},
"devDependencies": {
"@eslint/js": "~9.18.0",
"@yao-pkg/pkg": "~6.2.0",
"esbuild": "~0.24.2",
"eslint": "~9.18.0",
"eslint-config-prettier": "~10.0.1",
"globals": "~15.14.0",
"nodemon": "~3.1.9",
"npm-run-all2": "~7.0.2",
"prettier": "~3.4.2"
}
}