You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "module-starter",
|
|
"version": "0.0.1",
|
|
"description": "module template",
|
|
"main": "lib/src/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./@types/index.d.ts",
|
|
"default": "./lib/src/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "node ./esbuild.js",
|
|
"prepare": "rm -rf @types && npm run typecheck && npm run build-declarations && npm run build",
|
|
"pretest": "npm run build",
|
|
"test": "node test.cjs",
|
|
"lint": "eslint src",
|
|
"build-declarations": "tsc --emitDeclarationOnly",
|
|
"typecheck": "tsc --noemit",
|
|
"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"
|
|
},
|
|
"type": "module",
|
|
"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.14.10",
|
|
"eslint": "^8.38.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^5.4.0",
|
|
"eslint-plugin-with-tsc-error": "^0.0.8",
|
|
"mocha": "^10.2.0",
|
|
"mri": "^1.2.0",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^3.5.3",
|
|
"source-map-support": "^0.5.21",
|
|
"tiny-glob": "^0.2.9",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"types": "./@types/index.d.ts"
|
|
}
|