aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/package.json
blob: 5a6775b277e76b322f5f0f10b73afbccfa123803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
  "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"
    }
  }
}