Skip to content

Commit

Permalink
chore: prepare needs to move proto file to src
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Apr 16, 2021
1 parent 91849c1 commit 954fa45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
"scripts": {
"lint": "eslint --ext .ts ts",
"release": "aegir release --no-types",
"prebuild": "tsc && cp -R ts/message src",
"prebuild": "tsc",
"postbuild": "cp -R ts/message src",
"build": "npm run build:proto && npm run build:proto-types && npm run build:types",
"build:proto": "pbjs -t static-module --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o ts/message/rpc.js ./ts/message/rpc.proto",
"build:proto-types": "pbts -o ts/message/rpc.d.ts ts/message/rpc.js",
"build:types": "aegir build --no-types",
"prepare": "tsc",
"pretest": "tsc",
"prepare": "npm run build",
"pretest": "npm run build",
"test": "aegir test",
"test:node": "aegir test --target node",
"test:browser": "aegir test --target browser"
Expand Down

0 comments on commit 954fa45

Please sign in to comment.