UNPKG

nostr-deploy-server

Version:

Node.js server for hosting static websites under npub subdomains using Nostr protocol and Blossom servers

68 lines (67 loc) 1.92 kB
{ "name": "nostr-deploy-server", "version": "2.0.2", "description": "Node.js server for hosting static websites under npub subdomains using Nostr protocol and Blossom servers", "main": "dist/index.js", "scripts": { "build": "tsc", "dev": "ts-node src/server.ts", "start": "node dist/server.js", "test": "jest", "test:watch": "jest --watch", "test:cache": "jest --testPathPattern=cache", "test:invalidation": "jest --testPathPattern=cache-invalidation", "test:coverage": "jest --coverage", "debug:cache-invalidation": "npm run build && node debug-cache-invalidation.js", "debug:test-publish": "npm run build && node debug-cache-invalidation.js test-publish", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix" }, "keywords": [ "nostr", "blossom", "static-site", "hosting", "decentralized", "npub", "server" ], "author": "Nostr Deploy Team", "license": "MIT", "dependencies": { "@keyv/redis": "^4.3.2", "@keyv/sqlite": "^4.0.1", "@types/puppeteer": "^5.4.7", "axios": "^1.6.2", "cors": "^2.8.5", "dotenv": "^16.3.1", "express": "^4.18.2", "helmet": "^7.1.0", "keyv": "^5.3.2", "mime-types": "^2.1.35", "nostr-tools": "^2.1.0", "puppeteer": "^24.10.1", "websocket-polyfill": "^0.0.3", "winston": "^3.11.0", "xbytes": "^1.9.1" }, "devDependencies": { "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/jest": "^29.5.8", "@types/mime-types": "^2.1.4", "@types/node": "^20.10.5", "@types/supertest": "^6.0.2", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "eslint": "^8.56.0", "jest": "^29.7.0", "supertest": "^6.3.3", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "engines": { "node": ">=16.0.0" } }