build system: use --build argument for tsc

This commit is contained in:
Florian Dold 2023-06-06 15:30:19 +02:00
parent f56a563533
commit 8671dc37c8
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
5 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@
"private": false,
"scripts": {
"test": "tsc && ava",
"compile": "tsc",
"compile": "tsc --build",
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
},

View File

@ -7,7 +7,7 @@
"author": "Florian Dold",
"license": "GPL-2.0+",
"scripts": {
"compile": "tsc"
"compile": "tsc --build"
},
"devDependencies": {
"po2json": "^0.4.5",

View File

@ -52,7 +52,7 @@
}
},
"scripts": {
"compile": "tsc",
"compile": "tsc --build",
"test": "tsc && ava",
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
@ -76,4 +76,4 @@
"lib/**/*test.js"
]
}
}
}

View File

@ -16,7 +16,7 @@
},
"type": "module",
"scripts": {
"compile": "./build-node.mjs",
"compile": "tsc --build && ./build-node.mjs",
"test": "tsc",
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
@ -41,4 +41,4 @@
"@gnu-taler/taler-wallet-core": "workspace:*",
"tslib": "^2.5.3"
}
}
}

View File

@ -12,7 +12,7 @@
"author": "Florian Dold",
"license": "GPL-3.0",
"scripts": {
"compile": "tsc",
"compile": "tsc --build",
"pretty": "prettier --write src",
"test": "tsc && ava",
"coverage": "tsc && c8 --src src --all ava",
@ -82,4 +82,4 @@
"lib/**/*test.*"
]
}
}
}