-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 2.48 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@g2a/config",
"version": "1.5.5",
"description": "Set of utilities for loading configuration.",
"repository": {
"type": "git",
"url": "https://github.com/g2a-com/node-config"
},
"license": "MIT",
"main": "dist/index.js",
"typings": "typings/index.d.ts",
"files": [
"dist/*",
"src/*",
"typings/*"
],
"scripts": {
"build": "rm -rf dist typings && tsc",
"bump-version": "standard-version",
"lint": "standardx -v test/**/*.ts src/**/*.ts",
"prepack": "npm run build",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.ts": [
"standardx -v --fix",
"git add"
],
"package.json": [
"sort-package-json",
"git add"
]
},
"eslintConfig": {
"rules": {
"no-unused-vars": 0
}
},
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"globals": {
"ts-jest": {
"tsConfig": "./test/tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "node",
"testRegex": "/test/.*.spec.ts",
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"verbose": true
},
"dependencies": {
"@g2a/standard-error": "^1.3.0",
"ajv": "^7.2.1",
"ajv-formats": "^1.5.1",
"json-schema-ref-parser": "^7.1.1",
"lodash.camelcase": "^4.3.0",
"lodash.get": "^4.4.2",
"lodash.kebabcase": "^4.1.1",
"lodash.merge": "^4.6.2",
"lodash.set": "^4.3.2",
"lodash.snakecase": "^4.1.1"
},
"devDependencies": {
"@types/ajv-errors": "^1.0.3",
"@types/jest": "^24.0.19",
"@types/json-schema": "^7.0.3",
"@types/lodash.camelcase": "^4.3.6",
"@types/lodash.get": "^4.4.6",
"@types/lodash.kebabcase": "^4.1.6",
"@types/lodash.merge": "^4.6.6",
"@types/lodash.set": "^4.3.6",
"@types/lodash.snakecase": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"sort-package-json": "^1.22.1",
"standard-version": "^9.1.1",
"standardx": "^5.0.0",
"ts-jest": "^26.5.3",
"typescript": "^4.1.3"
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
}
}