diff --git a/packages/anastasis-core/package.json b/packages/anastasis-core/package.json index 2fd69799c..a339f271a 100644 --- a/packages/anastasis-core/package.json +++ b/packages/anastasis-core/package.json @@ -6,6 +6,7 @@ "module": "./lib/index.js", "types": "./lib/index.d.ts", "scripts": { + "prepare": "tsc && rollup -c", "compile": "tsc && rollup -c", "pretty": "prettier --write src", "test": "tsc && ava", @@ -39,4 +40,4 @@ "lib/**/*test.*" ] } -} +} \ No newline at end of file diff --git a/packages/idb-bridge/package.json b/packages/idb-bridge/package.json index 638a3ad34..b26ce20eb 100644 --- a/packages/idb-bridge/package.json +++ b/packages/idb-bridge/package.json @@ -11,6 +11,7 @@ "private": false, "scripts": { "test": "tsc && ava", + "prepare": "tsc && rollup -c", "compile": "tsc && rollup -c", "clean": "rimraf dist lib tsconfig.tsbuildinfo", "pretty": "prettier --write src" diff --git a/packages/pogen/package.json b/packages/pogen/package.json index 0beb12a27..5f6b99664 100644 --- a/packages/pogen/package.json +++ b/packages/pogen/package.json @@ -7,6 +7,7 @@ "author": "Florian Dold", "license": "GPL-2.0+", "scripts": { + "prepare": "tsc", "compile": "tsc" }, "devDependencies": { diff --git a/packages/taler-util/package.json b/packages/taler-util/package.json index 1933b9796..42ca8cb2a 100644 --- a/packages/taler-util/package.json +++ b/packages/taler-util/package.json @@ -22,6 +22,7 @@ "license": "AGPL-3.0-or-later", "private": false, "scripts": { + "prepare": "tsc", "compile": "tsc", "test": "tsc && ava", "clean": "rimraf dist lib tsconfig.tsbuildinfo", diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json index ce40827f6..e43090560 100644 --- a/packages/taler-wallet-cli/package.json +++ b/packages/taler-wallet-cli/package.json @@ -16,6 +16,7 @@ "taler-wallet-cli": "./bin/taler-wallet-cli" }, "scripts": { + "prepare": "tsc && rollup -c", "compile": "tsc && rollup -c", "clean": "rimraf lib dist tsconfig.tsbuildinfo", "pretty": "prettier --write src" diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json index fd882347e..65b6916c9 100644 --- a/packages/taler-wallet-core/package.json +++ b/packages/taler-wallet-core/package.json @@ -12,6 +12,7 @@ "author": "Florian Dold", "license": "GPL-3.0", "scripts": { + "prepare": "tsc && rollup -c", "compile": "tsc && rollup -c", "pretty": "prettier --write src", "test": "tsc && ava", diff --git a/packages/taler-wallet-webextension/package.json b/packages/taler-wallet-webextension/package.json index 7ab9d2682..33a13a0b1 100644 --- a/packages/taler-wallet-webextension/package.json +++ b/packages/taler-wallet-webextension/package.json @@ -13,6 +13,8 @@ "test:coverage": "nyc pnpm test", "compile": "tsc && ./build-fast-with-linaria.mjs", "dev": "./dev.mjs", + "compile:test": "rollup -c rollup.config.test.js -m", + "prepare": "rollup -c -m", "pretty": "prettier --write src", "i18n:extract": "pogen extract", "i18n:merge": "pogen merge",