-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 1.86 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
{
"name": "@g2a/request-id",
"version": "1.3.0",
"description": "Library providing utility functions for manipulating and generating request ids",
"repository": {
"type": "git",
"url": "https://github.com/g2a-com/node-request-id"
},
"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"
]
},
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 60,
"functions": 60,
"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/node": "^10.0.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@types/jest": "^24.0.1",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"husky": "^3.0.5",
"jest": "^24.1.0",
"lint-staged": "^9.3.0",
"sort-package-json": "^1.22.1",
"standard": "^14.3.1",
"standard-version": "^8.0.1",
"ts-jest": "^23.10.5",
"typescript": "^3.0.3"
},
"standard": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
}
}