Florian Dold
f56a563533
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.
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@gnu-taler/merchant-backend",
|
|
"version": "0.0.5",
|
|
"license": "AGPL-3.0-or-later",
|
|
"scripts": {
|
|
"compile": "tsc && ./build.mjs",
|
|
"build": "pnpm compile",
|
|
"render-examples": "ts-node -O '{\"module\": \"commonjs\"}' -T render-examples.ts dist/pages dist/examples",
|
|
"lint-check": "eslint '{src,tests}/**/*.{js,jsx,ts,tsx}'",
|
|
"lint-fix": "eslint --fix '{src,tests}/**/*.{js,jsx,ts,tsx}'",
|
|
"typedoc": "typedoc src",
|
|
"clean": "rimraf dist",
|
|
"serve-dist": "sirv --port ${PORT:=8080} --cors --single dist"
|
|
},
|
|
"engines": {
|
|
"node": ">=12",
|
|
"pnpm": ">=5"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"preact",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"plugins": [
|
|
"header"
|
|
],
|
|
"rules": {
|
|
"header/header": [
|
|
2,
|
|
"copyleft-header.js"
|
|
]
|
|
},
|
|
"ignorePatterns": [
|
|
"build/"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"date-fns": "^2.21.1",
|
|
"preact": "10.11.3",
|
|
"qrcode-generator": "^1.4.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.18.9",
|
|
"@gnu-taler/pogen": "^0.0.5",
|
|
"@linaria/babel-preset": "3.0.0-beta.22",
|
|
"@linaria/core": "3.0.0-beta.22",
|
|
"@linaria/react": "3.0.0-beta.22",
|
|
"@linaria/shaker": "3.0.0-beta.22",
|
|
"@linaria/webpack-loader": "3.0.0-beta.22",
|
|
"@types/mocha": "^8.2.2",
|
|
"@types/mustache": "^4.1.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
"@typescript-eslint/parser": "^4.22.0",
|
|
"babel-loader": "^8.2.2",
|
|
"base64-inline-loader": "^1.1.1",
|
|
"eslint": "^7.25.0",
|
|
"eslint-config-preact": "^1.1.4",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"mustache": "^4.2.0",
|
|
"po2json": "^0.4.5",
|
|
"preact-render-to-string": "^5.1.19",
|
|
"rimraf": "^3.0.2",
|
|
"sirv-cli": "^1.0.11",
|
|
"ts-node": "^10.9.1",
|
|
"tslib": "2.5.3",
|
|
"typescript": "5.1.3"
|
|
}
|
|
}
|