-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.56 KB
/
package.json
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
{
"name": "moneymoney-sankey",
"description": "An extension for the great MoneyMoney app to export an interactive HTML Sankey Chart based on the transaction categories",
"version": "1.3.0",
"private": true,
"dependencies": {
"bootstrap": "^5.3.2",
"highcharts": "^11.4.8"
},
"devDependencies": {
"@playwright/test": "^1.46.1",
"clean-css-cli": "^5.6.3",
"html-validate": "^8.20.1",
"http-server": "^14.1.1",
"npm-run-all": "^4.1.5",
"replace-in-file": "^8.0.1",
"terser": "^5.31.1",
"typescript": "^5.5.2"
},
"author": "Christoph Massmann <[email protected]>",
"license": "MIT",
"scripts": {
"build:css": "cleancss src/*.css",
"build:js": "tsc && terser --compress --mangle -- $npm_package_config_outputDir/*.js",
"build": "npm-run-all build:* && mkdir -p $npm_package_config_outputDir && cp src/SankeyChart.lua $npm_package_config_outputDir && INLINE_CSS=`npm run build:css --silent` INLINE_JS=`npm run build:js --silent` node ./build.mjs",
"test": "npm-run-all test:*",
"test:validate": "npm-run-all test:validate:*",
"test:validate:compile": "mkdir -p tmp && lua ./src/SankeyChartTest.lua > tmp/index.html && html-validate tmp/index.html",
"test:validate:placeholder": "grep -qE '{{ ([a-zA-Z_]+) }}' $npm_package_config_outputDir/*.lua && (echo 'error: placeholders have not been replaced in dist!' && exit 1) || exit 0",
"test:e2e": "npx playwright test",
"start": "http-server tmp/"
},
"config": {
"outputDir": "dist/"
},
"browserslist": [
"last 2 versions, not dead"
]
}