2021-10-20 08:41:50 +02:00
|
|
|
{
|
2023-04-14 17:31:11 +02:00
|
|
|
"name": "module-starter",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "module template",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"scripts": {
|
|
|
|
"test": "mocha",
|
2023-12-15 20:26:03 +01:00
|
|
|
"build": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js",
|
2023-04-14 17:31:11 +02:00
|
|
|
"prepare": "npm run build",
|
|
|
|
"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",
|
2023-12-15 20:26:03 +01:00
|
|
|
"coverage-html": "npm run test-reports && nyc report --reporter lcov && xdg-open coverage/lcov-report/index.html",
|
|
|
|
"start": "http-server public -p 8080"
|
2023-04-14 17:31:11 +02:00
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"devDependencies": {
|
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
|
|
"@types/mocha": "^10.0.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
|
|
"@typescript-eslint/parser": "^5.58.0",
|
2023-12-15 20:26:03 +01:00
|
|
|
"esbuild": "^0.19.9",
|
2023-04-14 17:31:11 +02:00
|
|
|
"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",
|
|
|
|
"typescript": "^5.0.4"
|
|
|
|
},
|
2023-12-15 20:26:03 +01:00
|
|
|
"types": "./@types/index.d.ts",
|
|
|
|
"dependencies": {
|
|
|
|
"http-server": "^14.1.1"
|
|
|
|
}
|
2021-10-20 08:41:50 +02:00
|
|
|
}
|