-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.2 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
{
"name": "@g2a/standard-error",
"version": "1.3.3",
"description": "Library extending javascript error",
"repository": {
"type": "git",
"url": "git@github.com:g2a-com/node-standard-error.git"
},
"license": "MIT",
"files": [
"dist/*",
"src/*",
"typings/*"
],
"main": "dist/index.js",
"typings": "typings/index.d.ts",
"scripts": {
"build": "rm -rf dist typings && tsc",
"bump-version": "standard-version",
"prepack": "npm run build",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.ts": [
"standard --fix",
"git add"
],
"package.json": [
"sort-package-json",
"git add"
]
},
"eslintConfig": {
"rules": {
"no-useless-constructor": 0,
"no-dupe-class-members": 0
}
},
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 60,
"functions": 50,
"lines": 60,
"statements": 60
}
},
"globals": {
"ts-jest": {
"tsConfig": "./test/tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "node",
"testRegex": "/test/.*.spec.ts",
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"verbose": true
},
"dependencies": {
"@types/lodash.camelcase": "^4.3.4",
"@types/lodash.capitalize": "^4.2.4",
"@types/lodash.kebabcase": "^4.1.3",
"@types/node": "^10.0.0",
"@types/safe-json-stringify": "^1.0.1",
"lodash.camelcase": "^4.3.0",
"lodash.capitalize": "^4.2.1",
"lodash.kebabcase": "^4.1.1",
"safe-json-stringify": "^1.2.0"
},
"devDependencies": {
"@types/jest": "^24.0.1",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"husky": "^3.0.9",
"jest": "^24.1.0",
"lint-staged": "^9.4.2",
"sort-package-json": "^1.22.1",
"standard-version": "^8.0.1",
"standardx": "^5.0.0",
"ts-jest": "^23.10.5",
"typescript": "^3.0.3"
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
}
}