Run builds in sequence to ensure proto definition are done first

This commit is contained in:
Franck Royer 2021-03-19 15:24:34 +11:00
parent 1cf60d2615
commit e04988d98d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@
"license": "MIT",
"keywords": [],
"scripts": {
"build": "run-p build:*",
"build": "run-s build:*",
"build:1-proto": "buf generate",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"build:proto": "buf generate",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",