46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"name": "mbank-mt940",
|
|
"version": "0.1.0",
|
|
"description": "module template",
|
|
"main": "lib/cli.js",
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"build": "npm run build-node && npm run build-browser",
|
|
"build-node": "tsc",
|
|
"build-browser": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js",
|
|
"clean-coverage": "rm -rf coverage .nyc_output .xunit",
|
|
"coverage": "npm run clean-coverage && nyc mocha",
|
|
"test-reports": "npm run clean-coverage && nyc --reporter clover mocha --reporter xunit --reporter-option output=.xunit",
|
|
"coverage-html": "npm run test-reports && nyc report --reporter lcov && xdg-open coverage/lcov-report/index.html",
|
|
"start": "http-server public -p 8080"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
"@typescript-eslint/parser": "^5.58.0",
|
|
"eslint": "^8.38.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-with-tsc-error": "^0.0.8",
|
|
"mocha": "^10.2.0",
|
|
"mri": "^1.2.0",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.8.7",
|
|
"source-map-support": "^0.5.21",
|
|
"ts-node": "^10.9.1"
|
|
},
|
|
"types": "./@types/index.d.ts",
|
|
"dependencies": {
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "^20.10.4",
|
|
"@types/yargs": "^17.0.32",
|
|
"esbuild": "^0.19.9",
|
|
"http-server": "^14.1.1",
|
|
"iconv-lite": "^0.6.3",
|
|
"yargs": "^17.7.2",
|
|
"typescript": "^5.0.4"
|
|
}
|
|
}
|