mirror of
https://github.com/lancedikson/bowser
synced 2026-09-22 12:05:23 +00:00
102 lines
2.4 KiB
JSON
102 lines
2.4 KiB
JSON
{
|
|
"name": "bowser",
|
|
"description": "Lightweight browser detector",
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"index.d.ts"
|
|
],
|
|
"keywords": [
|
|
"browser",
|
|
"useragent",
|
|
"user-agent",
|
|
"parser",
|
|
"ua",
|
|
"detection",
|
|
"ender",
|
|
"sniff"
|
|
],
|
|
"homepage": "https://github.com/bowser-js/bowser",
|
|
"author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)",
|
|
"contributors": [
|
|
{
|
|
"name": "Denis Demchenko",
|
|
"url": "http://twitter.com/lancedikson"
|
|
},
|
|
{
|
|
"name": "Naor Peled",
|
|
"url": "https://github.com/naorpeled"
|
|
}
|
|
],
|
|
"main": "./dist/umd/bowser.umd.js",
|
|
"browser": "./dist/esm/bowser.mjs",
|
|
"module": "./dist/esm/bowser.mjs",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./dist/esm/bowser.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./index.d.ts",
|
|
"default": "./dist/umd/bowser.umd.js"
|
|
}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bowser-js/bowser.git"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.29.7",
|
|
"@babel/core": "^7.29.7",
|
|
"@babel/preset-env": "^7.29.7",
|
|
"@babel/register": "^7.29.7",
|
|
"@eslint/js": "^10.0.1",
|
|
"@rolldown/plugin-babel": "0.2.3",
|
|
"ava": "^3.0.0",
|
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
"babel-plugin-istanbul": "^8.0.0",
|
|
"coveralls": "^3.0.6",
|
|
"docdash": "^1.1.1",
|
|
"core-js": "^3.49.0",
|
|
"eslint": "^10.7.0",
|
|
"eslint-config-airbnb-extended": "^3.1.0",
|
|
"eslint-plugin-ava": "^17.0.1",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"gh-pages": "^3.0.0",
|
|
"jsdoc": "^3.6.3",
|
|
"nyc": "^18.0.0",
|
|
"regenerator-runtime": "^0.14.1",
|
|
"sinon": "^22.0.0",
|
|
"testem": "^3.0.0",
|
|
"tsdown": "^0.22.12",
|
|
"yamljs": "^0.3.0"
|
|
},
|
|
"ava": {
|
|
"require": [
|
|
"@babel/register"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bowser-js/bowser/issues"
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"generate-and-deploy-docs": "pnpm generate-docs && gh-pages --dist docs --dest docs",
|
|
"watch": "tsdown --watch",
|
|
"lint:check": "eslint ./src",
|
|
"lint:fix": "eslint --fix ./src",
|
|
"testem": "testem",
|
|
"test": "nyc --reporter=html --reporter=text ava",
|
|
"test:watch": "ava --watch",
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
"generate-docs": "jsdoc -c jsdoc.json"
|
|
},
|
|
"license": "MIT"
|
|
}
|