1 | {
|
2 | "name": "yasd-helper",
|
3 | "version": "0.1.3",
|
4 | "description": "An ad-hoc host for proxying Surge HTTP API",
|
5 | "repository": "https://github.com/geekdada/yasd-helper.git",
|
6 | "author": "Roy Li <me@dada.li>",
|
7 | "license": "MIT",
|
8 | "private": false,
|
9 | "main": "build/index.js",
|
10 | "typings": "build/index.d.ts",
|
11 | "bin": {
|
12 | "yasd-helper": "bin/yasd-helper.js"
|
13 | },
|
14 | "scripts": {
|
15 | "dev": "tsc -p tsconfig.json --watch",
|
16 | "test": "run-s test:*",
|
17 | "test:lint": "eslint -c .eslintrc.js --ext .js,.ts .",
|
18 | "test:unit": "run-s build && jest",
|
19 | "coverage": "jest --forceExit --coverage",
|
20 | "clean": "rimraf build",
|
21 | "build": "run-s clean && tsc -p tsconfig.json",
|
22 | "build:binary": "pkg --target node12-macos,node12-win,node12-linux,node12-alpine --out-path ./binary-build .",
|
23 | "prepublish": "run-s build",
|
24 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
25 | "pub": "np",
|
26 | "version": "npm run changelog && git add ."
|
27 | },
|
28 | "dependencies": {
|
29 | "@hapi/boom": "^9.1.0",
|
30 | "@hapi/h2o2": "^9.0.2",
|
31 | "@hapi/hapi": "^20.0.1",
|
32 | "@surgio/logger": "^1.1.3",
|
33 | "axios": "^0.21.0",
|
34 | "chalk": "^4.1.0",
|
35 | "common-bin": "^2.9.0",
|
36 | "fs-extra": "^9.0.1",
|
37 | "hapi-pino": "^8.3.0",
|
38 | "ini": "^1.3.5",
|
39 | "lodash": "^4.17.20",
|
40 | "node-forge": "^0.10.0",
|
41 | "source-map-support": "^0.5.18"
|
42 | },
|
43 | "devDependencies": {
|
44 | "@commitlint/cli": "^11.0.0",
|
45 | "@commitlint/config-angular": "^11.0.0",
|
46 | "@types/fs-extra": "^9.0.2",
|
47 | "@types/hapi-pino": "^8.0.1",
|
48 | "@types/hapi__h2o2": "^8.3.2",
|
49 | "@types/hapi__hapi": "^20.0.1",
|
50 | "@types/ini": "^1.3.30",
|
51 | "@types/jest": "^26.0.15",
|
52 | "@types/lodash": "^4.14.162",
|
53 | "@types/node": "^14.14.5",
|
54 | "@types/node-forge": "^0.9.5",
|
55 | "@typescript-eslint/eslint-plugin": "^4.6.0",
|
56 | "@typescript-eslint/parser": "^4.6.0",
|
57 | "conventional-changelog-cli": "^2.0.31",
|
58 | "eslint": "^7.12.1",
|
59 | "eslint-config-prettier": "^6.11.0",
|
60 | "husky": "^4.3.0",
|
61 | "jest": "^26.6.1",
|
62 | "lint-staged": "^10.3.0",
|
63 | "nodemon": "^2.0.6",
|
64 | "np": "^6.3.1",
|
65 | "npm-debug-log-cleaner": "^1.0.3",
|
66 | "npm-run-all": "^4.1.5",
|
67 | "pkg": "^4.4.9",
|
68 | "prettier": "^2.1.2",
|
69 | "ts-jest": "^26.4.3",
|
70 | "type-fest": "^0.18.0",
|
71 | "typescript": "^4.0.2"
|
72 | },
|
73 | "files": [
|
74 | "bin",
|
75 | "build",
|
76 | "README.md",
|
77 | "README_zh-CN.md",
|
78 | "yarn.lock"
|
79 | ],
|
80 | "engines": {
|
81 | "node": ">=12.0.0"
|
82 | },
|
83 | "lint-staged": {
|
84 | "*.js": "eslint",
|
85 | "*.ts": "eslint --ext .ts"
|
86 | },
|
87 | "husky": {
|
88 | "hooks": {
|
89 | "commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS",
|
90 | "pre-commit": "npm-debug-log-cleaner && lint-staged"
|
91 | }
|
92 | },
|
93 | "keywords": [
|
94 | "yasd",
|
95 | "surge"
|
96 | ],
|
97 | "pkg": {
|
98 | "scripts": "build/**/*.js"
|
99 | }
|
100 | }
|