UNPKG

@tunframework/tun-rest-router

Version:
83 lines (82 loc) 2.6 kB
{ "name": "@tunframework/tun-rest-router", "version": "2.0.2", "description": "rest router for tun", "main": "lib/cjs/index.js", "types": "lib/types/index.d.ts", "module": "lib/esm/index.js", "scripts": { "lint": "eslint {src,tests}/**", "build": "tsc -p tsconfig.json --incremental && tsc -p tsconfig-cjs.json --incremental && echo \"{}\" && tsc -p tsconfig.json --incremental --outDir lib/types --declaration --emitDeclarationOnly && echo {\"type\": \"commonjs\"} > ./lib/cjs/package.json", "test": "ts-mocha -n loader=ts-node/esm -p tsconfig.json tests/**/*.test.ts", "test:watch": "ts-mocha -n loader=ts-node/esm -p tsconfig.json tests/**/*.test.ts -w --watch-extensions ts", "release": "standard-version", "release:minor": "standard-version --release-as minor", "release:patch": "standard-version --release-as patch", "release:major": "standard-version --release-as major", "push-release": "git push --follow-tags", "push-release:publish": "npm run build && npm run push-release && npm publish --access public" }, "author": "", "license": "ISC", "type": "module", "devDependencies": { "@tunframework/tun": "^2.0.5", "@tunframework/tun-bodyparser": "^2.0.5", "@types/mocha": "^9.1.0", "@types/node": "^17.0.19", "@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/parser": "^5.12.1", "eslint": "^8.9.0", "eslint-define-config": "^1.2.5", "eslint-plugin-import": "^2.25.4", "eslint-plugin-node": "^11.1.0", "lint-staged": "^12.3.4", "mocha": "^9.2.1", "node-fetch": "^3.2.0", "prettier": "^2.5.1", "simple-git-hooks": "^2.7.0", "standard-version": "^9.3.2", "ts-mocha": "^9.0.2", "ts-node": "^10.5.0", "typescript": "^4.5.5" }, "files": [ "lib/types", "lib/esm", "lib/cjs" ], "engines": { "node": ">=12.2.0" }, "homepage": "https://abc.pwwhb.com/gitlab/tunframework/tun-rest-router", "keywords": [ "backend", "http-server", "web-framework", "tun", "rest", "restful", "router" ], "simple-git-hooks": { "pre-commit": "pnpm exec lint-staged --concurrent false", "commit-msg": "npx --no-install commitlint --edit \"$1\"" }, "dependencies": { "@commitlint/cli": "^16.2.1", "@commitlint/config-conventional": "^16.2.1" }, "lint-staged": { "*": [ "prettier --write --ignore-unknown" ], "{src,tests}/**/*.ts": [ "eslint --ext .ts" ], "{src,tests}/**/*.d.ts": [ "eslint --ext .ts" ] }, "packageManager": "pnpm@6.30.0" }