UNPKG

tiny-server-essentials

Version:

A good utility toolkit to unify Express v5 and Socket.IO v4 into a seamless development experience with modular helpers, server wrappers, and WebSocket tools.

101 lines (100 loc) 3.28 kB
{ "name": "tiny-server-essentials", "version": "1.0.3", "description": "A good utility toolkit to unify Express v5 and Socket.IO v4 into a seamless development experience with modular helpers, server wrappers, and WebSocket tools.", "scripts": { "test": "npm run test:mjs && npm run test:cjs && npm run test:js", "test:js": "npx babel-node test/index.js", "test:cjs": "node test/index.cjs", "test:mjs": "node test/index.mjs", "test:mjs:all": "node test/index.mjs all", "test:mjs:express": "node test/index.mjs express", "test:mjs:socket": "node test/index.mjs socket", "fix:prettier": "npm run fix:prettier:src && npm run fix:prettier:test && npm run fix:prettier:rollup.config", "fix:prettier:src": "prettier --write ./src/*", "fix:prettier:test": "prettier --write ./test/*", "fix:prettier:rollup.config": "prettier --write ./rollup.config.mjs", "fix:prettier:webpack.config": "prettier --write ./webpack.config.mjs", "auto-build": "npm run build", "build": "npm run build:js", "build:js": "tsc -p tsconfig.json && rollup -c && webpack --mode production", "build-clean": "npm run clean && npm run build", "build-dist": "npm run build", "clean": "rm -rf dist", "prepublishOnly": "npm run build" }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "ethereum": "jasmindreasond.x", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs" } }, "repository": { "type": "git", "url": "git+https://github.com/JasminDreasond/Tiny-Server-Essentials.git" }, "keywords": [ "express", "express-v5", "socket.io", "socket.io-v4", "websocket", "http-server", "https-server", "nodejs", "express-wrapper", "socketio-wrapper", "express-utility", "socketio-utility", "websocket-manager", "server-wrapper", "domain-matching", "ip-extractor", "devtools", "server-tools" ], "author": "Yasmin Seidel (Jasmin Dreasond)", "license": "GPL-3.0-only", "bugs": { "url": "https://github.com/JasminDreasond/Tiny-Server-Essentials/issues" }, "homepage": "https://github.com/JasminDreasond/Tiny-Server-Essentials#readme", "devDependencies": { "@babel/cli": "^7.27.0", "@babel/core": "^7.26.10", "@babel/node": "^7.26.0", "@babel/preset-env": "^7.26.9", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.2", "@types/lodash": "^4.17.16", "babel-preset-es2015": "^6.24.1", "body-parser": "^2.2.0", "cookie": "^1.0.2", "cookie-parser": "^1.4.7", "helmet": "^8.1.0", "lodash": "^4.17.21", "node-polyfill-webpack-plugin": "^4.1.0", "prettier": "3.6.0", "rollup": "^4.40.0", "rollup-preserve-directives": "^1.1.3", "tslib": "^2.8.1", "type-fest": "^4.40.0", "typescript": "^5.8.3", "webpack": "^5.99.6", "webpack-cli": "^6.0.1" }, "dependencies": { "@types/express": "^5.0.1", "@types/http-errors": "^2.0.4", "express": "^5.1.0", "http-errors": "^2.0.0", "socket.io": "^4.8.1", "tiny-essentials": "^1.12.2" } }