Add the necessary boilerplate for cli.ts to provide more than one command, with the resource gathering step split out from the build step in order for it to be re-usable.
19 lines
428 B
JSON
19 lines
428 B
JSON
{
|
|
"name": "website",
|
|
"private": true,
|
|
"packageManager": "pnpm@8.6.12",
|
|
"type": "module",
|
|
"main": "build/node/index.js",
|
|
"scripts": {
|
|
"prepare": "tsc",
|
|
"build": "node --enable-source-maps build/node/cli.js build",
|
|
"test": "node --test --enable-source-maps --experimental-test-coverage"
|
|
},
|
|
"dependencies": {
|
|
"antihtml": "^0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|