UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

67 lines (66 loc) 3.36 kB
{ "name": "rjweb-server", "version": "8.4.2", "description": "Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/typings/index.d.ts", "engines": { "node": "16.x || 18.x || 20.x" }, "scripts": { "build:dev": "rm -rf lib && cd dashboard && yarn build:dev && cd .. && rjbuild build src --format='cjs' --out='lib/cjs' && rjbuild build src --format='esm' --out='lib/esm' && cp package.json lib/cjs/pckg.json && cp dashboard/dist/index.html lib/cjs/functions/web/dashboard.html && cp package.json lib/esm/pckg.json && cp dashboard/dist/index.html lib/esm/functions/web/dashboard.html", "build:dev:s": "rm -rf lib && rjbuild build src --format='cjs' --out='lib/cjs' && rjbuild build src --format='esm' --out='lib/esm' && cp package.json lib/cjs/pckg.json && cp dashboard/dist/index.html lib/cjs/functions/web/dashboard.html && cp package.json lib/esm/pckg.json && cp dashboard/dist/index.html lib/esm/functions/web/dashboard.html", "build": "rm -rf lib && cd dashboard && yarn build && cd .. && tsc && rm -rf lib/typings/tests && mv lib/typings/src/* lib/typings && rm -rf lib/typings/src && rjbuild build src --format='cjs' --out='lib/cjs' && rjbuild build src --format='esm' --out='lib/esm' && cp package.json lib/cjs/pckg.json && cp dashboard/dist/index.html lib/cjs/functions/web/dashboard.html && cp package.json lib/esm/pckg.json && cp dashboard/dist/index.html lib/esm/functions/web/dashboard.html", "build:s": "rm -rf lib && tsc && rm -rf lib/typings/tests && mv lib/typings/src/* lib/typings && rm -rf lib/typings/src && rjbuild build src --format='cjs' --out='lib/cjs' && rjbuild build src --format='esm' --out='lib/esm' && cp package.json lib/cjs/pckg.json && cp dashboard/dist/index.html lib/cjs/functions/web/dashboard.html && cp package.json lib/esm/pckg.json && cp dashboard/dist/index.html lib/esm/functions/web/dashboard.html", "docs": "rm -rf docs && typedoc --out docs src/index.ts && sed -i -e 's|<meta charSet=\"utf-8\"/>|<meta charSet=\"utf-8\"/><link rel=\"icon\" type=\"image/png\" href=\"https://img.rjansen.de/rjweb/icon.png\">|' docs/**/*.html && chmod -R a+rw docs", "test": "jest", "install:dev": "npm install -g --install-links ." }, "repository": { "type": "git", "url": "git+https://github.com/0x7d8/NPM_WEB-SERVER.git" }, "bin": { "rjweb": "lib/cjs/cli.js" }, "keywords": [ "webserver", "web-server", "lightweight", "server", "restful", "rest", "node", "http", "easy", "api", "web", "backend" ], "author": "0x7d8 (0x4096 / Robert Jansen)", "license": "MIT", "bugs": { "url": "https://github.com/0x7d8/NPM_WEB-SERVER/issues" }, "homepage": "https://github.com/0x7d8/NPM_WEB-SERVER#readme", "devDependencies": { "@types/inquirer": "^9.0.3", "@types/jest": "^29.5.1", "@types/node": "^18.11.18", "@types/yargs": "^17.0.24", "jest": "^29.5.0", "rjbuild-typescript": "^1.0.1", "rjweb-server": "link:.", "ts-jest": "^29.1.0", "typedoc": "^0.24.4", "typescript": "^5.0.0" }, "dependencies": { "@rjweb/uws": "1.5.0", "inquirer": "^9.2.5", "rjutils-collection": "^1.7.0", "ts-arithmetic": "^0.1.1", "yargs": "^17.7.2" } }