-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.07 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
{
"name": "dephy-proto",
"version": "0.1.3",
"description": "Protobuf definitions for DePHY messages.",
"homepage": "https://dephy.io/",
"repository": "https://github.com/dephy-io/dephy-message-proto",
"license": "MIT OR Apache-2.0",
"source": "src/index.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"src",
"dist"
],
"peerDependencies": {
"pbkit": "^0.0.62"
},
"devDependencies": {
"@parcel/packager-ts": "^2.10.2",
"@parcel/transformer-typescript-types": "^2.10.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.96",
"parcel": "latest",
"pbkit": "^0.0.62",
"typescript": "^5.2.2"
},
"scripts": {
"build_proto": "pb gen ts --index-filename reexport --ext-in-import \" \" -o ./src --proto-path ./proto/ ./proto/message.proto",
"build": "rm -rf dist && swc --config-file .cjs.swcrc src -d dist/cjs && swc --config-file .esm.swcrc src -d dist/esm && tsc && cp -R dist/t/ dist/esm/ && cp -R dist/t/ dist/cjs/ && rm -rf dist/t",
"test": "echo \"Error: no test specified\" && exit 1"
}
}