-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
51 lines (51 loc) · 1.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "@braintree/browser-detection",
"version": "2.0.2",
"description": "A small lib to detect browser compatibility for braintree products",
"main": "dist/browser-detection.js",
"types": "dist/browser-detection.d.ts",
"files": [
"dist",
"*.js"
],
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.5.2",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"eslint": "^8.47.0",
"eslint-config-braintree": "^6.0.0-typescript-prep-rc.2",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.3",
"jest-environment-jsdom": "^29.6.3",
"prettier": "^3.0.2",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"scripts": {
"prepublishOnly": "npm run build",
"prebuild": "prettier --write .",
"build": "tsc --declaration",
"lint": "eslint --ext js,ts .",
"posttest": "npm run lint",
"pretest": "npm run build",
"test": "jest",
"version": "./version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/braintree/browser-detection.git"
},
"keywords": [],
"author": "Braintree <code@getbraintree.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/braintree/browser-detection/issues"
},
"homepage": "https://github.com/braintree/browser-detection#readme",
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"restoreMocks": true,
"resetMocks": true
}
}