diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-14 15:17:59 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-14 15:17:59 -0300 |
commit | d0dd7a155fcb63dc4d4859f51a681fc084ec4d7a (patch) | |
tree | 848e8abe6caa3cb48858c3f287a78654d08814e2 /packages | |
parent | e97c808b412167d334353c7f6370e6d8b70bc0ae (diff) |
same typescript version for every package, added test deps to demobank
Diffstat (limited to 'packages')
-rw-r--r-- | packages/demobank-ui/package.json | 13 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/package.json | 4 |
2 files changed, 13 insertions, 4 deletions
diff --git a/packages/demobank-ui/package.json b/packages/demobank-ui/package.json index 0be83c61c..2c1dced98 100644 --- a/packages/demobank-ui/package.json +++ b/packages/demobank-ui/package.json @@ -3,9 +3,12 @@ "name": "@gnu-taler/demobank-ui", "version": "0.1.0", "license": "AGPL-3.0-OR-LATER", + "type": "module", "scripts": { "build": "./build.mjs", "check": "tsc", + "compile": "tsc && ./build.mjs", + "test": "pnpm compile && mocha --require source-map-support/register 'dist/**/test.js'", "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", "i18n:extract": "pogen extract", "i18n:merge": "pogen merge", @@ -41,19 +44,25 @@ "devDependencies": { "@creativebulma/bulma-tooltip": "^1.2.0", "@gnu-taler/pogen": "^0.0.5", + "@types/chai": "^4.3.0", "@types/history": "^4.7.8", + "@types/mocha": "^10.0.1", + "@types/node": "^18.11.14", "@typescript-eslint/eslint-plugin": "^5.41.0", "@typescript-eslint/parser": "^5.41.0", + "async_hooks": "^1.0.0", "bulma": "^0.9.4", "bulma-checkbox": "^1.1.1", "bulma-radio": "^1.1.1", + "chai": "^4.3.6", "esbuild": "^0.15.12", "eslint-config-preact": "^1.2.0", + "mocha": "^9.2.0", "po2json": "^0.4.5", "sass": "1.56.1", - "typescript": "^4.4.4" + "typescript": "4.8.4" }, "pogen": { "domain": "bank" } -}
\ No newline at end of file +} diff --git a/packages/merchant-backoffice-ui/package.json b/packages/merchant-backoffice-ui/package.json index 91c4c1857..a772f6296 100644 --- a/packages/merchant-backoffice-ui/package.json +++ b/packages/merchant-backoffice-ui/package.json @@ -104,7 +104,7 @@ "script-ext-html-webpack-plugin": "^2.1.5", "sirv-cli": "^1.0.11", "typedoc": "^0.20.36", - "typescript": "4.4.4" + "typescript": "4.8.4" }, "jest": { "preset": "jest-preset-preact", @@ -123,4 +123,4 @@ "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|po)$": "<rootDir>/tests/__mocks__/fileTransformer.js" } } -}
\ No newline at end of file +} |