| 5 | "description": "Node.js hook to import modules from HTTP(S) URLs", |
| 6 | "keywords": [ |
| 7 | "node", |
| 8 | "http", |
| 9 | "import", |
| 10 | "require", |
| 11 | "loader", |
| 12 | "hook", |
| 13 | "esm", |
| 14 | "url", |
| 15 | "deno" |
| 16 | ], |
| 17 | "main": "dist/index.js", |
| 18 | "files": [ |
| 19 | "src", |
| 20 | "dist", |
| 21 | "!*.test.*" |
| 22 | ], |
| 23 | "exports": { |
| 24 | ".": { |
| 25 | "default": "./dist/index.js" |
| 26 | }, |
| 27 | "./register": { |
| 28 | "default": "./dist/register-hooks.js" |
| 29 | }, |
| 30 | "./loader": { |
| 31 | "default": "./dist/loader.js" |
| 32 | } |
| 33 | }, |
| 34 | "bin": { |
| 35 | "node-url-import": "./dist/cli.js" |
| 36 | }, |
| 37 | "engines": { |
| 38 | "node": ">=18.19.0" |
| 39 | }, |
| 40 | "scripts": { |
| 41 | "cli": "node src/cli.ts", |
| 42 | "node:import": "node --import ./src/register-hooks.ts", |
| 43 | "test": "node --import ./src/register-hooks.ts --test src/*.test.ts", |
| 44 | "cov": "node --import ./src/register-hooks.ts --test --experimental-test-coverage --test-coverage-exclude='src/*.test.ts' src/*.test.ts", |
| 45 | "typecheck": "tsc --noEmit", |
| 46 | "build": "tsc --declaration" |
| 47 | }, |
| 48 | "devDependencies": { |
| 49 | "@types/node": "^26.6.6", |
| 50 | "typescript": "^6.0.3" |
| 51 | }, |
| 52 | "repository": { |
| 53 | "type": "git", |
| 54 | "url": "git+https://github.com/YieldRay/node-url-import.git" |
| 55 | }, |
| 56 | "bugs": { |
| 57 | "url": "https://github.com/YieldRay/node-url-import/issues" |
| 58 | }, |
| 59 | "homepage": "https://github.com/YieldRay/node-url-import#readme", |
| 60 | "publishConfig": { |
| 61 | "registry": "https://registry.npmjs.org" |
| 62 | } |
| 63 | } |
| 64 |