UNPKG

@speedy/require-cache

Version:

Speed up Node load time by caching resolved module paths to avoid module resolution and refetching each time the application is loaded.

59 lines (58 loc) 2.02 kB
{ "name": "@speedy/require-cache", "version": "1.2.0", "description": "Speed up Node load time by caching resolved module paths to avoid module resolution and refetching each time the application is loaded.", "main": "./dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/alan-agius4/speedy-require-cache.git" }, "keywords": [ "node", "require", "cache", "modules", "module", "fast", "boot", "performance" ], "author": "Alan Agius", "license": "ISC", "bugs": { "url": "https://github.com/alan-agius4/speedy-require-cache/issues" }, "homepage": "https://github.com/alan-agius4/speedy-require-cache#readme", "scripts": { "prebuild": "npm run lint & npm run clean", "build": "tsc -p tsconfig.build.json", "test": "npm run clean && tsc -p tsconfig.test.json && jasmine JASMINE_CONFIG_PATH=jasmine.json", "clean": "rimraf ./dist & rimraf ./test", "lint": "tslint -c tslint.json ./src/**/*.ts ./benchmark/**/*.ts --format stylish", "watch": "npm run clean && tsc -p tsconfig.build.json -w", "changelog": "./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s", "preversion": "npm test", "version": "npm run build && npm run changelog", "postversion": "git commit --all -m \"chore(all): update for release\" && git push && git push --tags", "release": "npm publish", "benchmark-install": "npm i postcss stylelint fs-extra fast-glob yargs shelljs eslint", "benchmark": "npm run build && ts-node ./benchmark" }, "dependencies": { "@speedy/node-core": "^1.1.0", "fs-extra": "^3.0.0" }, "devDependencies": { "@speedy/commit-msg-hook": "^1.3.0", "@types/fs-extra": "^3.0.0", "@types/jasmine": "^2.5.41", "@types/node": "^7.0.5", "conventional-changelog-cli": "^1.3.1", "jasmine": "^2.5.3", "rimraf": "^2.6.0", "ts-node": "^3.0.2", "tslint": "^5.0.0", "typescript": "^2.3.0" }, "typings": "dist/index.d.ts" }