2011-04-27 15:17:11 -07:00
|
|
|
{
|
2014-01-27 14:01:27 -08:00
|
|
|
"name": "bowser",
|
2017-04-04 23:17:27 +03:00
|
|
|
"description": "Lightweight browser detector",
|
2026-02-09 00:03:04 +02:00
|
|
|
"files": [
|
2026-06-14 23:40:58 +09:00
|
|
|
"src",
|
|
|
|
|
"dist",
|
2026-02-09 00:03:04 +02:00
|
|
|
"index.d.ts"
|
|
|
|
|
],
|
2014-01-27 14:01:27 -08:00
|
|
|
"keywords": [
|
|
|
|
|
"browser",
|
2017-04-04 23:17:27 +03:00
|
|
|
"useragent",
|
|
|
|
|
"user-agent",
|
|
|
|
|
"parser",
|
|
|
|
|
"ua",
|
|
|
|
|
"detection",
|
|
|
|
|
"ender",
|
|
|
|
|
"sniff"
|
2014-01-27 14:01:27 -08:00
|
|
|
],
|
2025-11-30 18:58:23 +02:00
|
|
|
"homepage": "https://github.com/bowser-js/bowser",
|
2014-01-27 14:01:27 -08:00
|
|
|
"author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)",
|
2018-06-27 23:04:25 +03:00
|
|
|
"contributors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "Denis Demchenko",
|
|
|
|
|
"url": "http://twitter.com/lancedikson"
|
2025-11-23 00:08:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Naor Peled",
|
|
|
|
|
"url": "https://github.com/naorpeled"
|
2018-06-27 23:04:25 +03:00
|
|
|
}
|
|
|
|
|
],
|
2026-06-14 23:40:58 +09:00
|
|
|
"main": "./dist/umd/bowser.umd.js",
|
|
|
|
|
"browser": "./dist/esm/bowser.mjs",
|
|
|
|
|
"module": "./dist/esm/bowser.mjs",
|
2019-07-30 11:18:59 +10:00
|
|
|
"types": "index.d.ts",
|
2026-06-14 23:40:58 +09:00
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"import": {
|
|
|
|
|
"types": "./index.d.ts",
|
|
|
|
|
"default": "./dist/esm/bowser.mjs"
|
|
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./index.d.ts",
|
|
|
|
|
"default": "./dist/umd/bowser.umd.js"
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-06-15 08:08:54 +09:00
|
|
|
},
|
2014-01-27 14:01:27 -08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2025-11-30 18:58:23 +02:00
|
|
|
"url": "git+https://github.com/bowser-js/bowser.git"
|
2014-01-27 14:01:27 -08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-06-14 21:51:01 +09:00
|
|
|
"@babel/cli": "^7.29.7",
|
|
|
|
|
"@babel/core": "^7.29.7",
|
|
|
|
|
"@babel/preset-env": "^7.29.7",
|
|
|
|
|
"@babel/register": "^7.29.7",
|
2026-06-16 16:58:53 +09:00
|
|
|
"@eslint/js": "^10.0.1",
|
2026-06-15 09:23:47 +09:00
|
|
|
"@rolldown/plugin-babel": "0.2.3",
|
2020-01-19 15:21:06 +00:00
|
|
|
"ava": "^3.0.0",
|
2026-06-14 21:51:01 +09:00
|
|
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
|
|
|
"babel-plugin-istanbul": "^8.0.0",
|
2019-10-02 21:44:30 +03:00
|
|
|
"coveralls": "^3.0.6",
|
2019-07-16 21:07:51 +03:00
|
|
|
"docdash": "^1.1.1",
|
2026-06-15 08:08:54 +09:00
|
|
|
"core-js": "^3.49.0",
|
2026-07-11 07:26:53 +09:00
|
|
|
"eslint": "^10.7.0",
|
2026-06-16 16:58:53 +09:00
|
|
|
"eslint-config-airbnb-extended": "^3.1.0",
|
|
|
|
|
"eslint-plugin-ava": "^17.0.1",
|
|
|
|
|
"eslint-plugin-import": "^2.32.0",
|
2026-06-17 20:17:46 +09:00
|
|
|
"gh-pages": "^3.0.0",
|
2019-07-16 21:07:51 +03:00
|
|
|
"jsdoc": "^3.6.3",
|
2026-06-14 21:51:01 +09:00
|
|
|
"nyc": "^18.0.0",
|
2026-06-15 08:08:54 +09:00
|
|
|
"regenerator-runtime": "^0.14.1",
|
2026-06-16 17:57:43 +09:00
|
|
|
"sinon": "^22.0.0",
|
2019-09-30 17:44:54 +00:00
|
|
|
"testem": "^3.0.0",
|
2026-07-15 06:12:31 +09:00
|
|
|
"tsdown": "^0.22.7",
|
2017-08-20 18:21:17 +03:00
|
|
|
"yamljs": "^0.3.0"
|
2017-04-09 17:13:00 +03:00
|
|
|
},
|
|
|
|
|
"ava": {
|
|
|
|
|
"require": [
|
2019-01-19 12:07:15 +02:00
|
|
|
"@babel/register"
|
|
|
|
|
]
|
2015-05-03 13:14:06 +02:00
|
|
|
},
|
|
|
|
|
"bugs": {
|
2025-11-30 18:58:23 +02:00
|
|
|
"url": "https://github.com/bowser-js/bowser/issues"
|
2015-05-03 13:14:06 +02:00
|
|
|
},
|
|
|
|
|
"directories": {
|
|
|
|
|
"test": "test"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2026-06-14 23:40:58 +09:00
|
|
|
"build": "tsdown",
|
2026-06-14 21:51:01 +09:00
|
|
|
"generate-and-deploy-docs": "pnpm generate-docs && gh-pages --dist docs --dest docs",
|
2026-06-14 23:40:58 +09:00
|
|
|
"watch": "tsdown --watch",
|
2023-11-13 11:11:28 +02:00
|
|
|
"lint:check": "eslint ./src",
|
|
|
|
|
"lint:fix": "eslint --fix ./src",
|
2017-08-20 18:37:01 +03:00
|
|
|
"testem": "testem",
|
2018-09-09 14:01:45 +03:00
|
|
|
"test": "nyc --reporter=html --reporter=text ava",
|
2018-12-27 17:49:58 +01:00
|
|
|
"test:watch": "ava --watch",
|
2018-07-05 22:44:43 +03:00
|
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
2019-07-16 21:56:06 +03:00
|
|
|
"generate-docs": "jsdoc -c jsdoc.json"
|
2015-05-03 13:14:06 +02:00
|
|
|
},
|
|
|
|
|
"license": "MIT"
|
2011-04-27 15:17:11 -07:00
|
|
|
}
|