-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 898 Bytes
/
Copy pathpackage.json
File metadata and controls
28 lines (28 loc) · 898 Bytes
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
{
"name": "hackseoul-shared",
"version": "1.0.0",
"author": "plebea",
"license": "MIT",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"scripts": {
"build": "rimraf ./lib && npm run build:proto && npm run build:tsc && npm run build:copy",
"build:tsc": "tsc -b",
"build:copy": "copyfiles --up 1 src/protocols/* lib && copyfiles --up 1 src/protocols/**/* lib && copyfiles --up 1 src/schemes/* lib",
"build:proto": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto.cmd --ts_proto_opt=nestJs=true --ts_proto_opt=fileSuffix=.proto --ts_proto_out=./src/generated -I ./src/protocols ./src/protocols/*.proto --ts_proto_opt=useDate=true"
},
"devDependencies": {
"copyfiles": "^2.4.1",
"dotenv": "^16.4.5",
"rimraf": "^5.0.0",
"ts-proto": "^1.147.3"
},
"dependencies": {
"protobufjs": "^7.4.0"
}
}