UNPKG

express-lazy-router

Version:
74 lines (73 loc) 1.79 kB
{ "name": "express-lazy-router", "version": "1.0.6", "description": "Lazy loading for express router", "keywords": [ "express", "lazy", "performance" ], "homepage": "https://github.com/azu/express-lazy-router", "bugs": { "url": "https://github.com/azu/express-lazy-router/issues" }, "repository": { "type": "git", "url": "https://github.com/azu/express-lazy-router.git" }, "license": "MIT", "author": "azu", "sideEffects": false, "main": "lib/express-lazy-router.js", "module": "module/express-lazy-router.js", "types": "lib/express-lazy-router.d.ts", "directories": { "lib": "lib", "test": "test" }, "files": [ "bin/", "lib/", "module/", "src/" ], "scripts": { "build": "tsc -p . && tsc -p ./tsconfig.module.json", "clean": "rimraf lib/ module/", "prepare": "git config --local core.hooksPath .githooks", "prepublishOnly": "npm run clean && npm run build", "prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", "test": "mocha \"test/**/*.ts\"", "watch": "tsc -p . --watch" }, "lint-staged": { "*.{js,jsx,ts,tsx,css}": [ "prettier --write" ] }, "prettier": { "printWidth": 120, "singleQuote": false, "tabWidth": 4, "trailingComma": "none" }, "devDependencies": { "@types/express": "^4.17.11", "@types/mocha": "^8.2.0", "@types/node": "^14.14.22", "@types/supertest": "^2.0.10", "lint-staged": "^10.5.3", "mocha": "^8.2.1", "node-fetch": "^2.6.1", "prettier": "^2.2.1", "rimraf": "^3.0.2", "supertest": "^6.1.3", "ts-node": "^9.1.1", "ts-node-test-register": "^9.0.1", "typescript": "^4.1.3", "express": "^4.17.1" }, "peerDependencies": { "express": "^4.0.0" } }