44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "@vasanko/uarite",
|
|
"version": "0.2.2",
|
|
"description": "User-Agent parsing done right. Accurate, small, dependency-free and fast.",
|
|
"keywords": [
|
|
"user-agent",
|
|
"ua-parser"
|
|
],
|
|
"homepage": "https://git.zi.fi/LeoVasanko/uarite",
|
|
"repository": "https://git.zi.fi/LeoVasanko/uarite",
|
|
"bugs": "https://github.com/LeoVasanko/uarite",
|
|
"license": "MIT OR Unlicense",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && npm run build:min",
|
|
"build:min": "esbuild src/index.ts --bundle --minify --format=esm --target=es2022 --outfile=dist/uarite.min.js",
|
|
"format": "prettier --write src test",
|
|
"format:check": "prettier --check src test",
|
|
"gen:tables": "cd .. && uv run scripts/port_tables.py && cd uarite-js && prettier --write src/tables.ts",
|
|
"test": "npm run build && node --test test/*.test.js",
|
|
"prepublishOnly": "npm run build && npm test"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.28.2",
|
|
"prettier": "^3.9.6",
|
|
"typescript": "^5.6.0"
|
|
}
|
|
}
|