Fix scripts

This commit is contained in:
Adria Navarro 2023-05-02 15:06:05 +01:00
parent f426ba1ac3
commit b4551bb5ca
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
},
"scripts": {
"prebuild": "rimraf dist/",
"build": "./scripts/build.js",
"build": "node ./scripts/build.js",
"tsbuild": "tsc -p tsconfig.build.json && mv dist/src/* dist/ && rimraf dist/src/",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",

View File

@ -13,7 +13,7 @@
],
"scripts": {
"prebuild": "rimraf dist/",
"build": "../../scripts/build.js",
"build": "node ../../scripts/build.js",
"tsbuild": "tsc -p tsconfig.build.json",
"postbuild": "copyfiles -u 1 src/**/*.hbs dist/",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",