70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
{
|
|
"name": "@gnu-taler/taler-wallet-webextension",
|
|
"version": "0.8.1-dev.2",
|
|
"description": "GNU Taler Wallet browser extension",
|
|
"main": "./build/index.js",
|
|
"types": "./build/index.d.ts",
|
|
"author": "Florian Dold",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"scripts": {
|
|
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
|
|
"test": "jest ./tests",
|
|
"compile": "tsc && rollup -c",
|
|
"build-storybook": "build-storybook",
|
|
"storybook": "start-storybook -p 6006",
|
|
"watch": "tsc --watch & rollup -w -c"
|
|
},
|
|
"dependencies": {
|
|
"@gnu-taler/taler-util": "workspace:*",
|
|
"@gnu-taler/taler-wallet-core": "workspace:*",
|
|
"preact": "^10.5.13",
|
|
"preact-router": "^3.2.1",
|
|
"tslib": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.0",
|
|
"@babel/plugin-transform-react-jsx-source": "^7.12.13",
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^11.1.0",
|
|
"@rollup/plugin-replace": "^2.3.4",
|
|
"@storybook/addon-a11y": "^6.2.9",
|
|
"@storybook/addon-essentials": "^6.2.9",
|
|
"@storybook/preact": "^6.2.9",
|
|
"@testing-library/preact": "^2.0.1",
|
|
"@types/chrome": "^0.0.128",
|
|
"@types/history": "^4.7.8",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/node": "^14.14.22",
|
|
"ava": "3.15.0",
|
|
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-preact-pure": "^3.1.0",
|
|
"history": "4.10.1",
|
|
"jest": "^26.6.3",
|
|
"jest-preset-preact": "^4.0.3",
|
|
"preact-cli": "^3.0.5",
|
|
"preact-render-to-string": "^5.1.19",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.37.1",
|
|
"rollup-plugin-ignore": "^1.0.9",
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"jest": {
|
|
"preset": "jest-preset-preact",
|
|
"setupFiles": [
|
|
"<rootDir>/tests/__mocks__/setupTests.ts"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|less)$": "identity-obj-proxy"
|
|
},
|
|
"transform": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|po)$": "<rootDir>/tests/__mocks__/fileTransformer.js"
|
|
}
|
|
}
|
|
}
|