-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 2.13 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
86
87
88
89
90
91
92
93
94
95
96
{
"name": "data-guardian",
"version": "1.1.3",
"description": "Tiny, zero-dependencies, package which tries to mask sensitive data in arbitrary collections, errors, objects and strings.",
"main": ".build/src/index.js",
"files": [
".build/src"
],
"engines": {
"node": ">=12"
},
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"lint": "eslint src -f table",
"format": "prettier --write '{src,tests}/**/*.ts'",
"test": "jest --coverage=true",
"test:ci": "CI=true jest --coverage=true"
},
"author": "Markus Velten",
"repository": "https://github.com/slippyex/data-guardian.git",
"homepage": "https://data-guardian.io",
"license": "MIT",
"private": false,
"keywords": [
"sensitive",
"data",
"guardian",
"logs",
"logging",
"telemetry",
"mask",
"masking",
"opaque",
"cover",
"hide"
],
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"browser": false,
"es6": true,
"node": true,
"jest": true
}
},
"devDependencies": {
"@types/jest": "^28.1.3",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"babel-eslint": "^10.1.0",
"eslint": "^8.18.0",
"eslint-formatter-table": "^7.32.1",
"jest": "^28.1.1",
"pre-commit": "^1.2.2",
"prettier": "^3.0.3",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"typescript": "^5"
},
"pre-commit": [
"format",
"lint",
"build",
"test"
],
"prettier": {
"parser": "typescript",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"tabWidth": 4,
"arrowParens": "avoid"
},
"jest": {
"collectCoverage": true,
"coverageReporters": [
"text",
"cobertura",
"html"
],
"testEnvironment": "node",
"preset": "ts-jest",
"testMatch": [
"**/tests/**/*.test.ts"
],
"testTimeout": 20000
}
}