From 9f5e61057e1cf07e8aeb8d10fa8f5d1002d841ab Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 17 Jul 2020 18:00:34 +0530 Subject: upgrade rollup; bundle TS directly This also resolves a problem where symbols weren't exported correctly for the Android wallet-core bundle --- package.json | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 1ef1c1327..7ca3b1e30 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "engines": { "node": ">=0.12.0" }, - "main": "dist/node/index.js", "repository": { "type": "git", "url": "git://git.taler.net/wallet-core.git" @@ -31,41 +30,43 @@ ], "devDependencies": { "@ava/typescript": "^1.1.1", - "@rollup/plugin-json": "^4.0.2", - "@rollup/plugin-replace": "^2.3.1", + "@rollup/plugin-commonjs": "^14.0.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^8.4.0", + "@rollup/plugin-replace": "^2.3.3", + "@rollup/plugin-typescript": "^5.0.2", "@types/chrome": "^0.0.103", "@types/enzyme": "^3.10.5", "@types/enzyme-adapter-react-16": "^1.0.6", + "@types/node": "^14.0.23", "@types/react": "^16.9.6", "@types/react-dom": "^16.9.6", - "@typescript-eslint/eslint-plugin": "^2.27.0", - "@typescript-eslint/parser": "^2.27.0", - "ava": "^3.8.2", + "@typescript-eslint/eslint-plugin": "^3.6.1", + "@typescript-eslint/parser": "^3.6.1", + "ava": "^3.10.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", - "eslint": "^6.8.0", - "eslint-config-airbnb-typescript": "^8.0.0", - "eslint-plugin-import": "^2.20.2", - "eslint-plugin-jsx-a11y": "^6.2.3", - "eslint-plugin-react": "^7.20.0", - "eslint-plugin-react-hooks": "^4.0.4", + "eslint": "^7.4.0", + "eslint-config-airbnb-typescript": "^8.0.2", + "eslint-plugin-import": "^2.22.0", + "eslint-plugin-jsx-a11y": "^6.3.1", + "eslint-plugin-react": "^7.20.3", + "eslint-plugin-react-hooks": "^4.0.8", "jed": "^1.1.1", - "moment": "^2.26.0", + "moment": "^2.27.0", "nyc": "^15.1.0", "po2json": "^0.4.5", "pogen": "^0.0.5", "prettier": "^2.0.5", "react": "^16.13.1", "react-dom": "^16.13.1", - "rollup": "^2.12.1", - "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-node-resolve": "^5.2.0", + "rollup": "^2.21.0", "rollup-plugin-sourcemaps": "^0.6.2", "rollup-plugin-terser": "^6.1.0", "source-map-resolve": "^0.6.0", "structured-clone": "^0.2.2", - "typedoc": "^0.17.7", - "typescript": "^3.9.3" + "typedoc": "^0.17.8", + "typescript": "^3.9.7" }, "dependencies": { "axios": "^0.19.2", -- cgit v1.2.3