2019-12-07 21:09:20 +08:00
|
|
|
{
|
2022-10-10 17:17:09 +08:00
|
|
|
"name": "universal-user-agent",
|
|
|
|
"version": "2.1.0",
|
|
|
|
"description": "Get a user agent string in both browser and node",
|
|
|
|
"repository": "https://github.com/gr2m/universal-user-agent.git",
|
|
|
|
"keywords": [],
|
|
|
|
"author": "Gregor Martynus (https://github.com/gr2m)",
|
|
|
|
"license": "ISC",
|
|
|
|
"main": "index.js",
|
2019-12-07 21:09:20 +08:00
|
|
|
"browser": "browser.js",
|
2022-10-10 17:17:09 +08:00
|
|
|
"types": "index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"coverage": "nyc report --reporter=html && open coverage/index.html",
|
|
|
|
"coverage:upload": "nyc report --reporter=text-lcov | coveralls",
|
|
|
|
"pretest": "standard",
|
|
|
|
"test": "nyc mocha \"test/*-test.js\"",
|
|
|
|
"test:browser": "cypress run --browser chrome",
|
|
|
|
"semantic-release": "semantic-release",
|
|
|
|
"travis-deploy-once": "travis-deploy-once"
|
2019-12-07 21:09:20 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "^4.1.2",
|
|
|
|
"coveralls": "^3.0.2",
|
|
|
|
"cypress": "^3.1.0",
|
|
|
|
"mocha": "^6.0.0",
|
|
|
|
"proxyquire": "^2.1.0",
|
2022-10-10 17:17:09 +08:00
|
|
|
"nyc": "^14.0.0",
|
2019-12-07 21:09:20 +08:00
|
|
|
"sinon": "^7.2.4",
|
|
|
|
"sinon-chai": "^3.2.0",
|
|
|
|
"standard": "^12.0.1",
|
|
|
|
"test": "^0.6.0",
|
2022-10-10 17:17:09 +08:00
|
|
|
"semantic-release": "^15.9.15",
|
2019-12-07 21:09:20 +08:00
|
|
|
"travis-deploy-once": "^5.0.7"
|
|
|
|
},
|
2022-10-10 17:17:09 +08:00
|
|
|
"dependencies": {
|
|
|
|
"os-name": "^3.0.0"
|
2019-12-07 21:09:20 +08:00
|
|
|
},
|
|
|
|
"standard": {
|
|
|
|
"globals": [
|
|
|
|
"describe",
|
|
|
|
"it",
|
|
|
|
"beforeEach",
|
|
|
|
"afterEach",
|
|
|
|
"expect"
|
|
|
|
]
|
2022-10-10 17:17:09 +08:00
|
|
|
}
|
2019-12-07 21:09:20 +08:00
|
|
|
}
|