forked from Postcatlab/postcat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.59 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
124
125
126
127
128
129
130
131
132
133
134
{
"name": "postcat",
"version": "0.3.1",
"main": "out/app/electron-main/main.js",
"description": "A lightweight, extensible API tool",
"homepage": "https://github.com/Postcatlab/postcat.git",
"author": "Postcat",
"private": true,
"workspaces": [
"src/workbench/*"
],
"scripts": {
"prepare": "husky install && electron-builder install-app-deps && node ./scripts/afterInstall.js && npx patch-package",
"start": "npm-run-all -p start:web electron:dev",
"start:zh": "npm-run-all -p start:web:zh electron:dev",
"start:web": "yarn workspace postcat-web run start",
"start:web:zh": "yarn workspace postcat-web run start:zh",
"start:electron": "npm-run-all -p web:start:direct electron:dev",
"build": "npx patch-package && npm-run-all -s electron:build:web clear:electron:tsc electron:tsc && npx esno scripts/build.ts",
"build:web": "yarn workspace postcat-web run build:web",
"build:static": "npm run clear:electron:tsc&&npm run electron:tsc && npx esno scripts/build.ts",
"build:win:noSign": "npm run clear:electron:tsc&&npm run electron:tsc && npx esno scripts/buildNoSign.ts",
"electron:build:web": "yarn workspace postcat-web run build",
"electron:static": "npm run electron:tsc && electron .",
"release": "npm-run-all -s electron:build:web electron:tsc && npx esno scripts/build.ts --publish=always && node scripts/upload.js",
"test": "npm-run-all --serial test:*",
"e2e": "cd test/e2e&&npx playwright test -c playwright.config.ts",
"test:e2e": "npm-run-all -s start:web test:e2e",
"clear:electron:tsc": "tsc --build --clean",
"electron:tsc": "tsc -p tsconfig.json",
"electron:dev": "npm run electron:tsc && electron . --development",
"api:gen": "donkey run",
"web:start:direct": "yarn workspace postcat-web run start:direct",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r -0",
"lint:lint-staged": "lint-staged",
"wininstaller": "cd build && build-for-electron-postcat.bat",
"pack:win": "npm run electron:build && npm run wininstaller",
"deployWindows": "node scripts/deployWindows.js",
"releaseWindows": "npx esno scripts/releaseWindows.ts"
},
"dependencies": {
"@bqy/node-module-alias": "^1.0.1",
"@grpc/grpc-js": "1.7.3",
"@grpc/proto-loader": "0.7.3",
"@koa/cors": "4.0.0",
"axios": "1.2.6",
"cors": "2.8.5",
"crypto-js": "4.1.1",
"electron-log": "^4.4.8",
"electron-store": "^8.1.0",
"electron-updater": "^5.3.0",
"express": "4.18.1",
"fix-path": "3.0.0",
"http-server": "14.1.1",
"iconv-lite": "^0.6.3",
"jquery": "3.6.1",
"jsdom": "20.0.1",
"koa": "2.13.4",
"koa-body": "6.0.1",
"npm": "6.14.17",
"pm2": "5.2.2",
"portfinder": "1.0.32",
"qiniu": "^6.0.0",
"resolve": "^1.22.1",
"socket.io": "4.5.4",
"ws": "8.12.0",
"xml2js": "0.4.23",
"yaml": "2.2.1"
},
"devDependencies": {
"@commitlint/cli": "~17.3.0",
"@commitlint/config-conventional": "~17.3.0",
"@types/node": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"electron": "22.1.0",
"electron-builder": "23.6.0",
"electron-notarize": "1.2.1",
"electron-reload": "1.5.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-deprecation": "~1.3.2",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jsdoc": "~39.3.6",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-prettier": "~4.2.1",
"husky": "8.0.2",
"lint-staged": "~12.5.0",
"minimist": "1.2.7",
"npm-run-all": "4.1.5",
"octokit": "2.0.14",
"postcss-html": "1.5.0",
"postcss-scss": "4.0.6",
"prettier": "^2.7.1",
"ssh2": "1.11.0",
"style-loader": "3.3.1",
"stylelint": "^14.10.0",
"stylelint-config-html": "1.1.0",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "29.0.0",
"stylelint-config-standard-scss": "6.1.0",
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
"stylelint-order": "5.0.0",
"ts-node": "10.8.1",
"typescript": "~4.9.4",
"wait-on": "7.0.1"
},
"__npminstall_done": false,
"node-module-alias": {
"eo": "./out"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"*.html": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}