-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.71 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
{
"name": "rpc-magic-proxy",
"version": "2.0.5",
"description": "Magical RPC proxy",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
}
},
"scripts": {
"install:examples": "cd examples && npm install && cd ..",
"install:tests": "cd tests && npm install && cd ..",
"init": "run-p install:examples install:tests",
"test": "node tests",
"prebuild": "mkdir -p dist && rm -rf dist/*",
"build": "run-s build:check build:rollup;",
"build:check": "tsc --noEmit",
"build:rollup": "rollup --config rollup.config.ts --configPlugin esbuild",
"update-version": "printf 'version: '; read ver && npm version ${ver}",
"prerelease": "run-s build update-version",
"release": "npm login; npm publish --access public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zhangyx1998/rpc-magic-proxy.git"
},
"keywords": [
"worker",
"worker_threads",
"RPC",
"proxy"
],
"author": "Yuxuan Zhang",
"license": "MIT",
"bugs": {
"url": "https://github.com/zhangyx1998/rpc-magic-proxy/issues"
},
"homepage": "https://github.com/zhangyx1998/rpc-magic-proxy#readme",
"devDependencies": {
"esbuild": "^0.19.11",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"rollup": "^4.9.4",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.0",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
]
}
}