Combine build & prebuild scripts

Yarn 2 does not support pre-scripts anymore

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-09-06 18:04:14 +02:00
parent af908a6489
commit bbca4ab1dd
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -6,8 +6,7 @@
"private": true,
"license": "AGPL-3.0",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build": "rimraf dist && nest build",
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",