41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"name": "module-starter",
|
|
"version": "0.0.1",
|
|
"description": "module template",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"build": "esbuild src/browser.ts --bundle --minify --sourcemap --target=firefox120 --outfile=public/bundle.js",
|
|
"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",
|
|
"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",
|
|
"@types/mocha": "^10.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
"@typescript-eslint/parser": "^5.58.0",
|
|
"esbuild": "^0.19.9",
|
|
"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"
|
|
},
|
|
"types": "./@types/index.d.ts",
|
|
"dependencies": {
|
|
"http-server": "^14.1.1"
|
|
}
|
|
}
|