UNPKG

@mojojs/core

Version:

Real-time web framework

104 lines (103 loc) 3.43 kB
{ "name": "@mojojs/core", "version": "1.26.10", "description": "Real-time web framework", "keywords": [ "mojojs", "real-time", "web", "framework", "mvc", "websockets", "websocket" ], "author": "Sebastian Riedel <kraih@mojolicious.org>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/mojolicious/mojo.js.git" }, "bugs": { "url": "https://github.com/mojolicious/mojo.js/issues" }, "homepage": "https://mojojs.org", "scripts": { "bench": "npx concurrently -k -s first \"NODE_ENV=production node benchmarks/hello/hello-mojo.js server\" \"npx autocannon -W -c 100 -d 10 -p 15 localhost:3000\"", "build": "npx tsc --build ./ ./test/support/ts/full-app", "build:bench": "npm run build && npm run bench", "build:clean": "npm run clean && npm run build", "build:coverage": "npm run build && npm run coverage", "build:lint": "npm run build && npm run lint", "build:node": "npm run build && node", "build:test": "npm run build && npm test", "build:watch": "npm run build -- --watch", "clean": "rm -rf tsconfig.tsbuildinfo test/support/ts/full-app/tsconfig.tsbuildinfo lib test/support/ts/full-app/lib", "coverage": "c8 tap --disable-coverage --allow-empty-coverage test/*.js test/*.ts", "coverage:ci": "c8 --reporter lcovonly tap --disable-coverage --allow-empty-coverage test/*.js test/*.ts", "prelint": "prettier --check \"{src,test}/**/*.{js,ts}\" eslint.config.js", "prelint:fix": "prettier --write \"{src,test}/**/*.{js,ts}\" eslint.config.js", "lint": "eslint \"test/*.js\" \"test/support/js/**/*.js\" \"test/support/ts/**/src/**/*.ts\" \"src/**/*.ts\" \"src/*.ts\"", "lint:fix": "npm run lint -- --fix", "prepublishOnly": "npm run build", "publish:minor": "npm version minor && npm publish", "publish:patch": "npm version patch && npm publish", "test": "tap --disable-coverage --allow-empty-coverage test/*.js test/*.ts" }, "exports": "./lib/core.js", "types": "./lib/core.d.ts", "type": "module", "files": [ "bin/", "lib/", "vendor/" ], "bin": { "mojo": "./bin/mojo.js" }, "devDependencies": { "@eslint/js": "^9.9.1", "@types/busboy": "^1.5.0", "@types/js-yaml": "^4.0.3", "@types/mime-types": "^2.1.0", "@types/node": "^22.5.0", "@types/nopt": "^3.0.29", "@types/react": "^19.0.0", "@types/stack-utils": "^2.0.1", "@types/tough-cookie": "^4.0.2", "@types/ws": "^8.5.3", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "autocannon": "^7.3.0", "c8": "^10.1.0", "concurrently": "^9.0.0", "eslint": "^9.9.1", "eslint-plugin-import-x": "^4.1.1", "eslint-plugin-node": "^11.1.0", "globals": "^15.9.0", "nodemon": "^3.0.0", "prettier": "^3.3.3", "tap": "^21.0.0", "typescript": "^5.5.4", "typescript-eslint": "^8.3.0" }, "engines": { "node": ">= 16" }, "dependencies": { "@eslint/compat": "^1.1.1", "@mojojs/dom": "^2.1.0", "@mojojs/path": "^1.6.0", "@mojojs/template": "^2.2.0", "@mojojs/util": "^1.6.0", "ajv": "^8.5.0", "busboy": "^1.0.0", "chalk": "^5.0.0", "form-data": "^4.0.0", "js-yaml": "^4.1.0", "mime-types": "^2.1.30", "nopt": "^8.0.0", "stack-utils": "^2.0.3", "tough-cookie": "^5.1.0", "ws": "^8.3.0" } }