43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
|
{
|
||
|
"name": "ufo",
|
||
|
"version": "1.3.2",
|
||
|
"description": "URL utils for humans",
|
||
|
"repository": "unjs/ufo",
|
||
|
"license": "MIT",
|
||
|
"sideEffects": false,
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"require": "./dist/index.cjs",
|
||
|
"import": "./dist/index.mjs"
|
||
|
},
|
||
|
"./*": "./*"
|
||
|
},
|
||
|
"main": "./dist/index.cjs",
|
||
|
"module": "./dist/index.mjs",
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"files": [
|
||
|
"dist"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"build": "unbuild",
|
||
|
"dev": "vitest",
|
||
|
"lint": "eslint --ext .ts . && prettier -c src test",
|
||
|
"lint:fix": "eslint --fix --ext .ts . && prettier -w src test",
|
||
|
"prepack": "pnpm build",
|
||
|
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
|
||
|
"test": "pnpm lint && vitest --run typecheck && vitest run"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/node": "^20.9.0",
|
||
|
"@vitest/coverage-v8": "^0.34.6",
|
||
|
"changelogen": "^0.5.5",
|
||
|
"eslint": "^8.53.0",
|
||
|
"eslint-config-unjs": "^0.2.1",
|
||
|
"prettier": "^3.1.0",
|
||
|
"typescript": "^5.2.2",
|
||
|
"unbuild": "^2.0.0",
|
||
|
"vitest": "^0.34.6"
|
||
|
},
|
||
|
"packageManager": "pnpm@8.10.5"
|
||
|
}
|