75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"name": "listhen",
|
|
"version": "1.9.0",
|
|
"description": "👂 Elegant HTTP Listener",
|
|
"repository": "unjs/listhen",
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./cli": {
|
|
"types": "./dist/cli.d.ts",
|
|
"import": "./dist/cli.mjs",
|
|
"require": "./dist/cli.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"listen": "./bin/listhen.mjs",
|
|
"listhen": "./bin/listhen.mjs"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"lib",
|
|
"bin",
|
|
"cli.d.ts"
|
|
],
|
|
"dependencies": {
|
|
"@parcel/watcher": "^2.4.1",
|
|
"@parcel/watcher-wasm": "^2.4.1",
|
|
"citty": "^0.1.6",
|
|
"clipboardy": "^4.0.0",
|
|
"consola": "^3.2.3",
|
|
"crossws": ">=0.2.0 <0.4.0",
|
|
"defu": "^6.1.4",
|
|
"get-port-please": "^3.1.2",
|
|
"h3": "^1.12.0",
|
|
"http-shutdown": "^1.2.2",
|
|
"jiti": "^2.1.2",
|
|
"mlly": "^1.7.1",
|
|
"node-forge": "^1.3.1",
|
|
"pathe": "^1.1.2",
|
|
"std-env": "^3.7.0",
|
|
"ufo": "^1.5.4",
|
|
"untun": "^0.1.3",
|
|
"uqr": "^0.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.7.4",
|
|
"@types/node-forge": "^1.3.11",
|
|
"@vitest/coverage-v8": "^2.1.2",
|
|
"automd": "^0.3.9",
|
|
"changelogen": "^0.5.7",
|
|
"eslint": "^9.11.1",
|
|
"eslint-config-unjs": "^0.4.1",
|
|
"ip-regex": "^5.0.0",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^5.6.2",
|
|
"unbuild": "^2.0.0",
|
|
"vitest": "^2.1.2"
|
|
},
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"dev": "vitest",
|
|
"lint": "eslint . && prettier -c src test",
|
|
"lint:fix": "eslint --fix . && prettier -w src test",
|
|
"listhen": "node ./scripts/listhen.mjs",
|
|
"play": "node ./scripts/listhen.mjs -w ./playground --ws",
|
|
"release": "pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
|
|
"test": "pnpm lint && vitest run --coverage"
|
|
}
|
|
} |