alp-node
Version:
framework based on koa 2
103 lines • 2.53 kB
JSON
{
"name": "alp-node",
"version": "8.0.0",
"description": "framework based on koa 2",
"keywords": [
"springbokjs",
"alp",
"framework",
"koa",
"node5"
],
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/christophehurpeau/alp.git",
"directory": "packages/alp-node"
},
"homepage": "https://github.com/christophehurpeau/alp",
"bugs": {
"url": "https://github.com/alpjs/alp-node/issues"
},
"type": "module",
"engines": {
"node": ">=20.11.0"
},
"sideEffects": false,
"main": "./dist/index-node20.mjs",
"types": "./dist/definitions/index.d.ts",
"typesVersions": {
">=3.1": {
"AlpNodeApp": [
"./dist/AlpNodeApp.d.ts"
]
}
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/definitions/index.d.ts",
"node": {
"import": "./dist/index-node20.mjs"
}
},
"./AlpNodeApp": {
"types": "./dist/definitions/AlpNodeApp.d.ts",
"node": {
"import": "./dist/AlpNodeApp-node20.mjs"
}
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
"build:definitions": "tsc -p tsconfig.json",
"clean": "yarn clean:build",
"clean:build": "pob-babel-clean-out dist",
"lint": "yarn run lint:eslint",
"lint:eslint": "yarn ../.. run eslint --quiet packages/alp-node",
"watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
},
"pob": {
"bundler": "rollup-babel",
"entries": [
"index",
"AlpNodeApp"
],
"envs": [
{
"target": "node",
"version": "20"
}
]
},
"prettier": "@pob/root/prettier-config",
"peerDependencies": {
"router-segments": "^11.0.0"
},
"dependencies": {
"@types/koa": "^3.0.0",
"@types/node": ">=20.0.0",
"deep-freeze-es6": "^4.0.1",
"error-html": "^0.3.5",
"intl-messageformat": "^10.0.0",
"koa": "^3.0.1",
"koa-compress": "^5.1.1",
"koa-static": "^5.0.0",
"minimist": "^1.2.8",
"nightingale-logger": "^15.0.0",
"object-properties": "^9.0.1"
},
"devDependencies": {
"@babel/core": "7.28.0",
"@types/koa-compress": "4.0.6",
"@types/koa-static": "4.0.4",
"@types/minimist": "1.2.5",
"pob-babel": "43.7.0",
"typescript": "5.8.3"
}
}