1 | {
|
2 | "name": "surgio",
|
3 | "version": "2.14.2",
|
4 | "main": "build/index.js",
|
5 | "typings": "build/index.d.ts",
|
6 | "bin": {
|
7 | "surgio": "bin/surgio.js"
|
8 | },
|
9 | "repository": "https://github.com/geekdada/surgio",
|
10 | "author": "Yihang Li <me@royli.dev>",
|
11 | "license": "MIT",
|
12 | "files": [
|
13 | "bin",
|
14 | "build",
|
15 | "hygen-template"
|
16 | ],
|
17 | "bugs": {
|
18 | "url": "https://github.com/geekdada/surgio/issues"
|
19 | },
|
20 | "homepage": "https://surgio.royli.dev",
|
21 | "scripts": {
|
22 | "dev": "run-s clean && tsc -p tsconfig.json --watch",
|
23 | "test": "run-s test:*",
|
24 | "test:lint": "eslint -c .eslintrc.js --ext .js,.ts .",
|
25 | "test:unit": "run-s build && ava",
|
26 | "coverage": "cross-env TS_NODE_FILES=true nyc ava",
|
27 | "clean": "rimraf build",
|
28 | "build": "run-s clean && tsc -p tsconfig.json",
|
29 | "build:binary": "pkg --target node12-macos,node12-win,node12-linux,node12-alpine --out-path ./binary-build .",
|
30 | "prepublish": "run-s build",
|
31 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
32 | "pub": "np",
|
33 | "version": "npm run changelog && git add .",
|
34 | "docs:dev": "vuepress dev docs",
|
35 | "docs:build": "vuepress build docs"
|
36 | },
|
37 | "dependencies": {
|
38 | "@royli/hygen": "^5.0.4",
|
39 | "@surgio/eslint-config-surgio": "^1.0.3",
|
40 | "@surgio/logger": "^1.1.0",
|
41 | "@types/eslint": "^7.2.0",
|
42 | "agentkeepalive": "^4.1.0",
|
43 | "ali-oss": "^6.7.0",
|
44 | "bluebird": "^3.7.2",
|
45 | "bytes": "^3.1.0",
|
46 | "chalk": "^4.0.0",
|
47 | "check-node-version": "^4.0.3",
|
48 | "common-bin": "^2.8.3",
|
49 | "cross-env": "^7.0.2",
|
50 | "date-fns": "^2.16.1",
|
51 | "debug": "^4.1.1",
|
52 | "detect-newline": "^3.1.0",
|
53 | "emoji-regex": "^9.0.0",
|
54 | "env2": "^2.2.2",
|
55 | "eslint": "^7.8.1",
|
56 | "espree": "^7.3.0",
|
57 | "execa": "^4.0.3",
|
58 | "filesize": "^6.1.0",
|
59 | "fs-extra": "^9.0.0",
|
60 | "get-port": "^5.1.0",
|
61 | "global-agent": "^2.1.7",
|
62 | "got": "^11.6.1",
|
63 | "inquirer": "^7.1.0",
|
64 | "joi": "^17.1.1",
|
65 | "listr": "^0.14.3",
|
66 | "lodash": "^4.17.19",
|
67 | "lru-cache": "^6.0.0",
|
68 | "merge-stream": "^2.0.0",
|
69 | "ms": "^2.1.3",
|
70 | "node-dir": "^0.1.17",
|
71 | "nunjucks": "^3.2.1",
|
72 | "ora": "^5.1.0",
|
73 | "query-string": "^6.12.1",
|
74 | "rimraf": "^3.0.0",
|
75 | "shelljs": "^0.8.3",
|
76 | "source-map-support": "^0.5.19",
|
77 | "update-notifier": "^5.0.0",
|
78 | "urlsafe-base64": "^1.0.0",
|
79 | "winston": "^3.2.1",
|
80 | "yaml": "^1.9.2"
|
81 | },
|
82 | "devDependencies": {
|
83 | "@commitlint/cli": "^11.0.0",
|
84 | "@commitlint/config-angular": "^11.0.0",
|
85 | "@istanbuljs/nyc-config-typescript": "^1.0.1",
|
86 | "@types/bluebird": "^3.5.30",
|
87 | "@types/bytes": "^3.1.0",
|
88 | "@types/debug": "^4.1.5",
|
89 | "@types/fs-extra": "^9.0.13",
|
90 | "@types/hapi__joi": "^17.1.3",
|
91 | "@types/inquirer": "^7.3.0",
|
92 | "@types/listr": "^0.14.2",
|
93 | "@types/lodash": "^4.14.174",
|
94 | "@types/lru-cache": "^5.1.0",
|
95 | "@types/node": "^12",
|
96 | "@types/nunjucks": "^3.2.0",
|
97 | "@types/sinon": "^10.0.6",
|
98 | "@types/urlsafe-base64": "^1.0.28",
|
99 | "@typescript-eslint/eslint-plugin": "^5.9.1",
|
100 | "@typescript-eslint/parser": "^5.9.1",
|
101 | "@vuepress/plugin-docsearch": "^2.0.0-beta.26",
|
102 | "@vuepress/plugin-google-analytics": "^2.0.0-beta.26",
|
103 | "@vuepress/plugin-register-components": "^2.0.0-beta.26",
|
104 | "@vuepress/theme-default": "^2.0.0-beta.26",
|
105 | "@vuepress/utils": "^2.0.0-beta.25",
|
106 | "ava": "^4.0.1",
|
107 | "benchmark": "^2.1.4",
|
108 | "codecov": "^3.7.1",
|
109 | "coffee": "^5.3.0",
|
110 | "conventional-changelog-cli": "^2.0.31",
|
111 | "eslint-config-prettier": "^8.3.0",
|
112 | "eslint-plugin-prettier": "^4.0.0",
|
113 | "husky": "^4.3.0",
|
114 | "ini": "^1.3.5",
|
115 | "jsdom": "^16.2.2",
|
116 | "lint-staged": "^12.1.7",
|
117 | "nock": "^13.0.0-beta.3",
|
118 | "np": "^6.3.1",
|
119 | "npm-debug-log-cleaner": "^1.0.3",
|
120 | "npm-run-all": "^4.1.5",
|
121 | "nyc": "^15.0.1",
|
122 | "pkg": "^4.4.8",
|
123 | "prettier": "^2.4.1",
|
124 | "sinon": "^12.0.1",
|
125 | "sitemap": "^3.0.0",
|
126 | "ts-node": "^10.4.0",
|
127 | "type-fest": "^2.3.4",
|
128 | "typescript": "^4.4.3",
|
129 | "vuepress": "^2.0.0-beta.26"
|
130 | },
|
131 | "ava": {
|
132 | "failFast": false,
|
133 | "timeout": "30s",
|
134 | "extensions": [
|
135 | "ts",
|
136 | "js"
|
137 | ],
|
138 | "files": [
|
139 | "test/**/*.test.ts",
|
140 | "lib/**/*.test.ts"
|
141 | ],
|
142 | "require": [
|
143 | "ts-node/register",
|
144 | "./test/stub-axios.js"
|
145 | ]
|
146 | },
|
147 | "nyc": {
|
148 | "extends": "@istanbuljs/nyc-config-typescript",
|
149 | "reporter": [
|
150 | "html",
|
151 | "text-summary",
|
152 | "lcov"
|
153 | ]
|
154 | },
|
155 | "engines": {
|
156 | "node": ">=12.22.0"
|
157 | },
|
158 | "lint-staged": {
|
159 | "*.js": "eslint",
|
160 | "*.ts": "eslint --ext .ts"
|
161 | },
|
162 | "husky": {
|
163 | "hooks": {
|
164 | "commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS",
|
165 | "pre-commit": "npm-debug-log-cleaner && lint-staged"
|
166 | }
|
167 | },
|
168 | "pkg": {
|
169 | "scripts": "build/**/*.js",
|
170 | "assets": [
|
171 | "hygen-template/**/*"
|
172 | ]
|
173 | },
|
174 | "keywords": [
|
175 | "surgio",
|
176 | "surge",
|
177 | "quantumult",
|
178 | "clash"
|
179 | ]
|
180 | }
|