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, "private": false,
"scripts": { "scripts": {
"test": "tsc && ava", "test": "tsc && ava",
"compile": "tsc", "compile": "tsc --build",
"clean": "rimraf dist lib tsconfig.tsbuildinfo", "clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src" "pretty": "prettier --write src"
}, },

View File

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

View File

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

View File

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

View File

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