60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "h3",
|
|
"version": "1.0.2",
|
|
"description": "Tiny JavaScript Server",
|
|
"repository": "unjs/h3",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"cookie-es": "^0.5.0",
|
|
"destr": "^1.2.2",
|
|
"radix3": "^1.0.0",
|
|
"ufo": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"0x": "^5.4.1",
|
|
"@types/express": "^4.17.14",
|
|
"@types/node": "^18.11.14",
|
|
"@types/supertest": "^2.0.12",
|
|
"@vitest/coverage-c8": "^0.25.8",
|
|
"autocannon": "^7.10.0",
|
|
"changelogen": "^0.4.0",
|
|
"connect": "^3.7.0",
|
|
"eslint": "^8.29.0",
|
|
"eslint-config-unjs": "^0.0.3",
|
|
"express": "^4.18.2",
|
|
"get-port": "^6.1.2",
|
|
"jiti": "^1.16.0",
|
|
"listhen": "^1.0.1",
|
|
"node-fetch-native": "^1.0.1",
|
|
"prettier": "^2.8.1",
|
|
"supertest": "^6.3.3",
|
|
"typescript": "^4.9.4",
|
|
"unbuild": "^1.0.2",
|
|
"vitest": "^0.25.8"
|
|
},
|
|
"packageManager": "pnpm@7.18.2",
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"dev": "vitest",
|
|
"lint": "eslint --ext ts,mjs,cjs . && prettier -c src test playground",
|
|
"play": "jiti ./playground/index.ts",
|
|
"profile": "0x -o -D .profile -P 'autocannon -c 100 -p 10 -d 40 http://localhost:$PORT' ./playground/server.cjs",
|
|
"release": "pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
|
|
"test": "pnpm lint && vitest run --coverage"
|
|
}
|
|
} |