wallet-core/packages/taler-wallet-webextension/package.json
Florian Dold f56a563533
build system: get rid of prepare scripts
These don't seem to be the right location to compile packages.
The newest version of pnpm runs all those scripts on "pnpm install",
even if we filter for only one package.  That results in a build
performance issue.
2023-06-06 15:25:53 +02:00

79 lines
2.1 KiB
JSON

{
"name": "@gnu-taler/taler-wallet-webextension",
"version": "0.9.3-dev.13",
"description": "GNU Taler Wallet browser extension",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"type": "module",
"author": "Florian Dold",
"license": "AGPL-3.0-or-later",
"private": false,
"scripts": {
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"test": "./test.mjs && mocha --require source-map-support/register 'dist/test/**/*.test.js' 'dist/test/**/test.js'",
"test:coverage": "nyc pnpm test",
"compile": "./patch-linaria.sh && tsc && ./build.mjs",
"dev": "./dev.mjs",
"pretty": "prettier --write src",
"i18n:extract": "pogen extract",
"i18n:merge": "pogen merge",
"i18n:emit": "pogen emit",
"i18n": "pnpm i18n:extract && pnpm i18n:merge && pnpm i18n:emit"
},
"dependencies": {
"@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/taler-wallet-core": "workspace:*",
"date-fns": "^2.29.2",
"history": "4.10.1",
"jsqr": "^1.4.0",
"preact": "10.11.3",
"preact-router": "3.2.1",
"qrcode-generator": "^1.4.4",
"tslib": "^2.5.3"
},
"eslintConfig": {
"plugins": [
"header"
],
"rules": {
"header/header": [
2,
"copyleft-header.js"
]
}
},
"devDependencies": {
"@babel/preset-react": "^7.22.3",
"@babel/preset-typescript": "7.18.6",
"@gnu-taler/pogen": "workspace:*",
"@gnu-taler/web-util": "workspace:*",
"@linaria/babel-preset": "^4.4.5",
"@linaria/core": "^4.2.10",
"@linaria/esbuild": "^4.2.11",
"@linaria/react": "^4.3.8",
"@types/chai": "^4.3.0",
"@types/chrome": "0.0.197",
"@types/history": "^4.7.8",
"@types/mocha": "^9.0.0",
"@types/node": "^18.11.17",
"chai": "^4.3.6",
"esbuild": "^0.17.19",
"mocha": "^9.2.0",
"nyc": "^15.1.0",
"polished": "^4.1.4",
"preact-cli": "^3.3.5",
"preact-render-to-string": "^5.1.19",
"rimraf": "^3.0.2",
"typescript": "5.1.3"
},
"nyc": {
"include": [
"**"
],
"exclude": []
},
"pogen": {
"domain": "taler-wallet-webex"
}
}