UNPKG

nexurejs

Version:

High-performance Node.js framework with 100% native module success rate. Features crypto, caching, WebSocket, routing, and production-ready stability.

210 lines (209 loc) 8.34 kB
{ "name": "nexurejs", "version": "1.1.0", "description": "High-performance Node.js framework with 100% native module success rate. Features crypto, caching, WebSocket, routing, and production-ready stability.", "main": "dist/cjs/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "node scripts/build.js", "build:ts": "tsc", "watch": "tsc -w", "start": "npm run build && node dist/index.js", "dev": "npm run build:ts && node dist/index.js", "dev:watch": "nodemon --exec \"npm run build:ts && node dist/index.js\" --watch src --ext ts", "bench": "npm run build && NODE_OPTIONS=\"--loader ts-node/esm\" node -r ts-node/register benchmarks/benchmarks.ts", "benchmark": "npm run build && NODE_OPTIONS=\"--loader ts-node/esm\" node -r ts-node/register benchmarks/benchmarks.ts", "benchmark:native": "node benchmarks/index.js", "benchmark:compare": "node benchmarks/compare.js", "benchmark:report": "node benchmarks/visualize.js", "benchmark:all": "npm run benchmark:native && npm run benchmark:compare && npm run benchmark:report", "benchmark:run": "node benchmarks/run.js", "profile": "node profiling/run.js", "profile:cpu": "node profiling/run.js --cpu", "profile:memory": "node profiling/run.js --memory", "profile:stream": "node profiling/run.js --stream", "profile:dashboard": "node profiling/dashboard/server.js", "profile:test": "node profiling/run.js", "ci:profile": "node profiling/run.js --ci", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testMatch=\"**/test/unit/**/*.test.ts\"", "test:integration": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.integration.config.js", "test:compatibility": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testMatch=\"**/test/compatibility/**/*.test.ts\"", "test:native": "node test/native/integration.test.cjs", "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch", "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --coverageReporters=text --coverageReporters=json --coverageReporters=lcov", "test:run": "node scripts/run-tests.js", "test:perf": "node test/performance/http-server.js", "test:parallel": "node --experimental-vm-modules scripts/run-parallel-tests.js", "test:changed": "node --experimental-vm-modules node_modules/jest/bin/jest.js --onlyChanged", "lint": "eslint . --ext .ts --ignore-pattern \"benchmarks/**\"", "fix:lint": "node scripts/build.js --fix-lint-only", "fix:unused": "node scripts/build.js --fix-unused-vars-only", "fix:imports": "node scripts/build.js --fix-imports-only", "fix:all": "node scripts/build.js --fix-all", "clean": "node scripts/build.js --clean-only", "clean:prod": "rm -rf dist-prod", "clean:all": "rm -rf dist dist-prod build packages node_modules .nyc_output coverage", "build:native": "node scripts/build.js --force", "build:native:pack": "node scripts/build.js --pack-only", "build:script": "node scripts/build.js --create-unified-script", "bundle": "node scripts/bundle.js", "bundle:prod": "NODE_ENV=production node scripts/bundle.js", "install:native": "node scripts/build.js --install-only", "install:lite": "node scripts/build.js --install-only --lite", "release": "node scripts/release.js", "release:patch": "node scripts/release.js --type=patch", "release:minor": "node scripts/release.js --type=minor", "release:major": "node scripts/release.js --type=major", "release:pre": "node scripts/release.js --pre", "release:canary": "node scripts/release.js --canary", "release:dryrun": "node scripts/release.js --dry-run", "release:auto": "node scripts/simple-release.js", "release:1.0": "node scripts/simple-release.js major", "publish:dry": "node scripts/simple-release.js --dry-run", "publish:now": "node scripts/simple-release.js --skip-tests", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"", "prepare": "husky", "pre-commit": "lint-staged", "preinstall": "node scripts/preinstall.js", "validate": "node scripts/validate-release.js", "verify": "node scripts/verify-package.js", "generate:notes": "node scripts/generate-release-notes.js", "compare:benchmarks": "node scripts/compare-benchmarks.js", "deps:check": "node scripts/check-deps.js", "deps:update": "node scripts/check-deps.js --update", "deps:update:minor": "node scripts/check-deps.js --update --minor", "deps:update:major": "node scripts/check-deps.js --update --major", "deps:report": "node scripts/check-deps.js --markdown", "deps:fix": "node scripts/check-deps.js --fix", "ci:deps:check": "node scripts/check-deps.js --ci", "ci:release:patch": "node scripts/release.js patch --ci", "ci:release:minor": "node scripts/release.js minor --ci", "ci:release:major": "node scripts/release.js major --ci", "ci:release:pre": "node scripts/release.js pre --ci", "ci:release:canary": "node scripts/release.js canary --ci", "ci:test": "npm run build:ts && npm run test:coverage" }, "keywords": [ "nodejs", "framework", "http", "server", "web", "api", "rest", "typescript", "dependency-injection", "performance", "high-performance", "native-modules", "crypto", "caching", "websocket", "rate-limiting", "multi-threading", "production-ready" ], "author": "Mahmoud Yasser", "license": "MIT", "type": "module", "bin": { "nexure": "./bin/nexure.js" }, "devDependencies": { "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@types/express": "^5.0.1", "@types/jest": "^29.5.14", "@types/koa": "^2.15.0", "@types/node": "^22.13.10", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "ajv": "^8.12.0", "ajv-formats": "^3.0.1", "autocannon": "^8.0.0", "babel-plugin-istanbul": "^7.0.0", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "express": "^5.1.0", "fastify": "^5.2.2", "husky": "^9.1.7", "jest": "^29.7.0", "koa": "^2.16.0", "node-addon-api": "^7.1.1", "node-gyp": "^10.0.1", "nodemon": "^3.1.9", "nyc": "^15.1.0", "open": "^10.1.0", "prettier": "^3.5.3", "tar": "^7.4.3", "tar-stream": "^3.1.6", "test-exclude": "^7.0.0", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "typescript": "^5.8.2", "typescript-eslint": "^8.28.0", "ws": "^8.16.0" }, "dependencies": { "reflect-metadata": "^0.2.1", "commander": "^12.1.0" }, "optionalDependencies": { "ioredis": "^5.3.2", "nexurejs-native-darwin-arm64": "^0.1.0", "nexurejs-native-darwin-x64": "^0.1.0", "nexurejs-native-linux-x64": "^0.1.0", "nexurejs-native-win32-x64": "^0.1.0", "simdjson": "^0.9.2", "zlib-sync": "^0.1.8" }, "engines": { "node": ">=16.14.0" }, "repository": { "type": "git", "url": "https://github.com/Braineanear/nexurejs.git" }, "bugs": { "url": "https://github.com/Braineanear/nexurejs/issues" }, "homepage": "https://github.com/Braineanear/nexurejs#readme", "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "exports": { ".": { "import": "./dist/index.js", "require": "./dist/cjs/index.js" }, "./native": { "import": "./dist/native/index.js", "require": "./dist/cjs/native/index.js" }, "./http": { "import": "./dist/http/index.js", "require": "./dist/cjs/http/index.js" }, "./routing": { "import": "./dist/routing/index.js", "require": "./dist/cjs/routing/index.js" }, "./security": { "import": "./dist/security/index.js", "require": "./dist/cjs/security/index.js" } }, "overrides": { "glob": "^10.4.5", "inflight": "^2.0.0", "test-exclude": "^7.0.0", "babel-plugin-istanbul": "^7.0.0" } }