same typescript version for every package, added test deps to demobank

This commit is contained in:
Sebastian 2022-12-14 15:17:59 -03:00
parent e97c808b41
commit d0dd7a155f
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 13 additions and 4 deletions

View File

@ -3,9 +3,12 @@
"name": "@gnu-taler/demobank-ui", "name": "@gnu-taler/demobank-ui",
"version": "0.1.0", "version": "0.1.0",
"license": "AGPL-3.0-OR-LATER", "license": "AGPL-3.0-OR-LATER",
"type": "module",
"scripts": { "scripts": {
"build": "./build.mjs", "build": "./build.mjs",
"check": "tsc", "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}'", "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"i18n:extract": "pogen extract", "i18n:extract": "pogen extract",
"i18n:merge": "pogen merge", "i18n:merge": "pogen merge",
@ -41,19 +44,25 @@
"devDependencies": { "devDependencies": {
"@creativebulma/bulma-tooltip": "^1.2.0", "@creativebulma/bulma-tooltip": "^1.2.0",
"@gnu-taler/pogen": "^0.0.5", "@gnu-taler/pogen": "^0.0.5",
"@types/chai": "^4.3.0",
"@types/history": "^4.7.8", "@types/history": "^4.7.8",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.14",
"@typescript-eslint/eslint-plugin": "^5.41.0", "@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0", "@typescript-eslint/parser": "^5.41.0",
"async_hooks": "^1.0.0",
"bulma": "^0.9.4", "bulma": "^0.9.4",
"bulma-checkbox": "^1.1.1", "bulma-checkbox": "^1.1.1",
"bulma-radio": "^1.1.1", "bulma-radio": "^1.1.1",
"chai": "^4.3.6",
"esbuild": "^0.15.12", "esbuild": "^0.15.12",
"eslint-config-preact": "^1.2.0", "eslint-config-preact": "^1.2.0",
"mocha": "^9.2.0",
"po2json": "^0.4.5", "po2json": "^0.4.5",
"sass": "1.56.1", "sass": "1.56.1",
"typescript": "^4.4.4" "typescript": "4.8.4"
}, },
"pogen": { "pogen": {
"domain": "bank" "domain": "bank"
} }
} }

View File

@ -104,7 +104,7 @@
"script-ext-html-webpack-plugin": "^2.1.5", "script-ext-html-webpack-plugin": "^2.1.5",
"sirv-cli": "^1.0.11", "sirv-cli": "^1.0.11",
"typedoc": "^0.20.36", "typedoc": "^0.20.36",
"typescript": "4.4.4" "typescript": "4.8.4"
}, },
"jest": { "jest": {
"preset": "jest-preset-preact", "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" "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|po)$": "<rootDir>/tests/__mocks__/fileTransformer.js"
} }
} }
} }