78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
{
|
|
"name": "isbot",
|
|
"version": "5.1.39",
|
|
"description": "🤖/👨🦰 Recognise bots/crawlers/spiders using the user agent string.",
|
|
"keywords": [
|
|
"bot",
|
|
"crawlers",
|
|
"spiders",
|
|
"googlebot",
|
|
"useragent",
|
|
"user agent parsing",
|
|
"🤖"
|
|
],
|
|
"license": "Unlicense",
|
|
"homepage": "https://isbot.js.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/omrilotan/isbot.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"files": [
|
|
"./index*",
|
|
"./AUTHORS"
|
|
],
|
|
"type": "commonjs",
|
|
"main": "./index.js",
|
|
"module": "./index.mjs",
|
|
"browser": "./index.mjs",
|
|
"jsdelivr": "./browser.global.js",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"browser": {
|
|
"import": "./index.mjs",
|
|
"require": "./index.js"
|
|
},
|
|
"node": {
|
|
"import": "./index.mjs",
|
|
"require": "./index.js"
|
|
},
|
|
"import": "./index.mjs",
|
|
"require": "./index.js",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"types": "index.d.ts",
|
|
"scripts": {
|
|
"prepare": "./scripts/prepare/index.js",
|
|
"build": "./scripts/build/procedure.sh",
|
|
"format": "./scripts/format/procedure.sh",
|
|
"test": "./scripts/test/procedure.sh",
|
|
"prepublishOnly": "./scripts/prepublish/procedure.sh",
|
|
"prestart": "npm ls parcel-bundler --depth=0 >/dev/null 2>&1 || npm i parcel-bundler --no-save",
|
|
"start": "npx --no-install parcel-bundler page/index.pug --out-dir docs",
|
|
"prepage": "npm ls parcel-bundler --depth=0 >/dev/null 2>&1 || npm i parcel-bundler --no-save",
|
|
"page": "npx --no-install parcel-bundler build page/index.pug --out-dir docs --public-url ./",
|
|
"maintenance": "npm update && npm run prepare -- --force && npm run format && npm t"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^30.0.0",
|
|
"jest": "^30.0.2",
|
|
"prettier": "^3.6.0",
|
|
"pug": "^3.0.3",
|
|
"stdline": "^2.1.0",
|
|
"ts-jest": "^29.4.0",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^6.0.2",
|
|
"user-agents": "^2.1.4",
|
|
"yaml": "^2.8.0"
|
|
},
|
|
"overrides": {
|
|
"typescript": "^6.0.2"
|
|
}
|
|
}
|