forked from rbuels/librpc-web
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.49 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.49 KB
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
{
"name": "librpc-web-mod",
"version": "2.1.1",
"description": "Promise-based RPC client and server for web workers (forked from @librpc/web)",
"keywords": [
"rpc",
"worker",
"web-worker",
"threads",
"concurrency"
],
"license": "MIT",
"homepage": "https://github.com/GMOD/librpc-web",
"repository": {
"type": "git",
"url": "https://github.com/GMOD/librpc-web"
},
"author": {
"name": "Colin Diesh",
"email": "colin.diesh@gmail.com",
"url": "https://github.com/cmdcolin"
},
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"import": "./esm/index.js"
},
"require": {
"require": "./dist/index.js"
}
},
"files": [
"dist",
"esm",
"src"
],
"devDependencies": {
"eslint": "^9.39.2",
"eslint-plugin-import": "^2.32.0",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"typescript": "^5.1.6",
"typescript-eslint": "^8.51.0",
"vitest": "^4.0.16"
},
"scripts": {
"clean": "rimraf dist esm",
"format": "prettier --write .",
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
"prebuild": "yarn clean",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc --outDir esm",
"build:cjs": "tsc --module commonjs --outDir dist",
"postbuild:cjs": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
"test": "vitest",
"preversion": "yarn test --run && yarn build",
"postversion": "git push --follow-tags"
}
}