UNPKG

@lottojs/lotto

Version:

Simple, lightweight and dependency-free NodeJS web application framework.

62 lines (61 loc) 1.7 kB
{ "name": "@lottojs/lotto", "version": "0.6.0", "description": "Simple, lightweight and dependency-free NodeJS web application framework.", "author": "Pedro Harbs <harbspj@gmail.com>", "license": "MIT", "main": "lib/index.js", "files": [ "lib/**/*" ], "types": "lib/index.d.ts", "keywords": [ "nodejs", "http", "router", "typescript", "lottojs" ], "repository": { "type": "git", "url": "git+https://github.com/lottojs/router.git" }, "bugs": { "url": "https://github.com/lottojs/router/issues" }, "homepage": "https://github.com/lottojs/router#readme", "scripts": { "build": "tsc && tscpaths -p ./tsconfig.json -s src -o lib", "dev": "ts-node -r tsconfig-paths/register sample/index.ts", "dev:debug": "DEBUG=lottojs:* ts-node -r tsconfig-paths/register sample/index.ts", "lint": "eslint src --ext .ts --fix", "prepare": "husky install" }, "dependencies": { "@lottojs/body-parser": "^0.2.2", "@lottojs/cors": "^0.2.5", "@lottojs/params-parser": "^0.2.1", "@lottojs/secure-headers": "^0.1.4", "debug": "^4.3.4" }, "devDependencies": { "@lottojs/eslint-config": "^0.2.0", "@lottojs/ts-config": "^0.2.0", "@types/debug": "^4.1.8", "git-commit-msg-linter": "^5.0.4", "husky": "^8.0.3", "lint-staged": "^14.0.1", "ts-node": "^10.9.1", "tsconfig-paths": "^4.2.0", "tscpaths": "^0.0.9", "typescript": "^5.1.6", "validate-branch-name": "^1.3.0" }, "lint-staged": { "src/**/*": "npm run lint", "sample/**/*": "npm run lint" }, "validate-branch-name": { "pattern": "^(master|main|develop){1}$|^(feat|fix|imp|release)/.+$" } }