-
Notifications
You must be signed in to change notification settings - Fork 72
/
package.json
85 lines (85 loc) · 2.1 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "user-data-for-fraud-prevention",
"version": "1.0.2",
"description": "Detects Timezone, screen size, scaling factor, browser plugins, local device IPs etc;",
"scripts": {
"test": "jest",
"build": "webpack",
"test:coverage": "npm test -- --coverage",
"test:badges": "npm run test:coverage && jest-coverage-badges",
"lint:fix": "eslint '{src,tests}/**/*.js' --fix",
"lint": "eslint '{src,tests}/**/*.js'",
"format": "lint-staged",
"prettier": "prettier '{src,tests}/**/*.js' --write --single-quote --tab-width 4 --no-bracket-spacing --print-width 120",
"clean": "rm -rf node_modules",
"rebuild": "npm run clean && npm install && npm run build",
"prepublishOnly": "webpack"
},
"husky": {
"hooks": {
"pre-push": "npm test && npm run test:coverage"
}
},
"lint-staged": {
"**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/intuit/user-data-for-fraud-prevention.git"
},
"main": "dist/bundle.js",
"keywords": [
"Fraud",
"Prevention",
"Headers"
],
"author": "skodamarthi",
"license": "ISC",
"files": [
"src/js/index.js",
"src/js/browserInfoHelper.js",
"src/js/globalsUtil.js",
"src/js/hmrc/mtdFraudPrevention.js"
],
"publishConfig": {
"registry": "https://registry.npmjs.com/"
},
"dependencies": {
"@babel/preset-env": "^7.10.4",
"moment": "^2.24.0",
"uuid": "^3.3.3"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"babel-jest": "^26.1.0",
"eslint": "^7.4.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest-cli": "^26.1.0",
"jest-coverage-badges": "^1.1.2",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"react-addons-test-utils": "^15.6.2",
"sinon": "^7.5.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"jest": {
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/test/**"
]
},
"directories": {
"test": "tests"
}
}