webby/package.json
2025-03-09 20:06:44 +01:00

55 lines
1.9 KiB
JSON

{
"name": "webby",
"version": "1.0.0",
"description": "A small static website builder written in javascript for learning purposes.",
"homepage": "https://projects.nisch.codes/nischcodes/webby#readme",
"author": "nisch.codes <nischcodes@noreply.projects.nisch.codes>",
"license": "GPL-3.0",
"keywords": [],
"repository": {
"type": "git",
"url": "https://projects.nisch.codes/nischcodes/webby.git"
},
"bugs": {
"url": "https://projects.nisch.codes/nischcodes/webby/issues"
},
"main": "dist/esm/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"engines": {
"node": ">=18"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.mjs"
}
}
},
"files": [
"dist"
],
"bin": "./dist/esm/bin.mjs",
"module": "./dist/esm/index.mjs",
"scripts": {
"clean": "rimraf ./dist",
"build": "rimraf ./dist && npm run build:full",
"build:dev": "rimraf ./dist && npm run build:debug",
"build:full": "esbuild src/index.ts src/bin.mts --outdir=dist/esm/ --platform=node --target=node18 --format=esm --out-extension:.js=.mjs",
"build:slim": "esbuild src/index.ts src/bin.mts --outdir=dist/esm/ --minify --platform=node --target=node18 --format=esm --out-extension:.js=.mjs",
"build:debug": "esbuild src/index.ts src/bin.mts --outdir=dist/debug/ --sourcemap --platform=node --target=node18 --out-extension:.js=.mjs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"glob": "^11.0.0",
"package-json-from-dist": "^1.0.0"
},
"devDependencies": {
"@types/node": "^22.13.9",
"esbuild": "^0.25.0",
"rimraf": "^6.0.1"
}
}