summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/package.json')
-rw-r--r--packages/taler-wallet-core/package.json83
1 files changed, 46 insertions, 37 deletions
diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json
index 0d726a6d7..46b3cef4e 100644
--- a/packages/taler-wallet-core/package.json
+++ b/packages/taler-wallet-core/package.json
@@ -1,9 +1,9 @@
{
"name": "@gnu-taler/taler-wallet-core",
- "version": "0.8.1",
+ "version": "0.10.7",
"description": "",
"engines": {
- "node": ">=0.12.0"
+ "node": ">=0.18.0"
},
"repository": {
"type": "git",
@@ -12,12 +12,13 @@
"author": "Florian Dold",
"license": "GPL-3.0",
"scripts": {
- "prepare": "tsc && rollup -c",
- "compile": "tsc && rollup -c",
+ "compile": "tsc",
"pretty": "prettier --write src",
"test": "tsc && ava",
- "coverage": "tsc && nyc ava",
- "clean": "rimraf dist lib tsconfig.tsbuildinfo"
+ "typedoc": "typedoc --out dist/typedoc ./src/",
+ "coverage": "tsc && c8 --src src --all ava",
+ "coverage:html": "tsc && c8 -r html --src src --all ava",
+ "clean": "rm -rf dist lib tsconfig.tsbuildinfo"
},
"files": [
"AUTHORS",
@@ -28,47 +29,55 @@
"src/",
"lib/"
],
- "main": "./dist/taler-wallet-core.js",
- "browser": {
- "./dist/taler-wallet-core.js": "./dist/taler-wallet-core.browser.js",
- "./lib/index.node.js": "./lib/index.browser.js"
- },
- "module": "./lib/index.node.js",
"type": "module",
"types": "./lib/index.node.d.ts",
+ "exports": {
+ ".": {
+ "browser": "./lib/index.browser.js",
+ "node": "./lib/index.node.js",
+ "default": "./lib/index.js"
+ },
+ "./remote": {
+ "default": "./lib/remote.js"
+ },
+ "./dbless": {
+ "default": "./lib/dbless.js"
+ }
+ },
+ "imports": {
+ "#host-impl": {
+ "types": "./lib/host-impl.node.js",
+ "node": "./lib/host-impl.node.js",
+ "qtart": "./lib/host-impl.qtart.js",
+ "default": "./lib/host-impl.missing.js"
+ }
+ },
"devDependencies": {
- "@ava/typescript": "^1.1.1",
+ "@ava/typescript": "^4.1.0",
"@gnu-taler/pogen": "workspace:*",
- "@microsoft/api-extractor": "^7.13.0",
- "@typescript-eslint/eslint-plugin": "^4.14.0",
- "@typescript-eslint/parser": "^4.14.0",
- "ava": "^3.15.0",
- "eslint": "^7.18.0",
- "eslint-config-airbnb-typescript": "^12.0.0",
- "eslint-plugin-import": "^2.22.1",
- "eslint-plugin-jsx-a11y": "^6.4.1",
- "eslint-plugin-react": "^7.22.0",
- "eslint-plugin-react-hooks": "^4.2.0",
+ "@typescript-eslint/eslint-plugin": "^5.36.1",
+ "@typescript-eslint/parser": "^5.36.1",
+ "ava": "^6.0.1",
+ "c8": "^8.0.1",
+ "eslint": "^8.8.0",
+ "eslint-config-airbnb-typescript": "^17.1.0",
+ "eslint-plugin-import": "^2.29.1",
+ "eslint-plugin-jsx-a11y": "^6.8.0",
+ "eslint-plugin-react": "^7.33.2",
+ "eslint-plugin-react-hooks": "^4.3.0",
"jed": "^1.1.1",
- "nyc": "^15.1.0",
"po2json": "^0.4.5",
- "prettier": "^2.2.1",
- "rimraf": "^3.0.2",
- "rollup": "^2.37.1",
- "rollup-plugin-sourcemaps": "^0.6.3",
- "source-map-resolve": "^0.6.0",
- "typedoc": "^0.20.16",
- "typescript": "^4.1.3"
+ "prettier": "^3.1.1",
+ "typedoc": "^0.25.4",
+ "typescript": "^5.3.3"
},
"dependencies": {
"@gnu-taler/idb-bridge": "workspace:*",
"@gnu-taler/taler-util": "workspace:*",
- "@types/node": "^14.14.22",
- "axios": "^0.21.1",
- "big-integer": "^1.6.48",
- "fflate": "^0.6.0",
- "source-map-support": "^0.5.19",
- "tslib": "^2.1.0"
+ "@types/node": "^18.11.17",
+ "big-integer": "^1.6.52",
+ "fflate": "^0.8.1",
+ "tslib": "^2.6.2"
},
"ava": {
"files": [