-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 1.82 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": "duration-converter",
"version": "1.3.6",
"description": "a small utility for converting between duration units. ",
"main": "dist/duration.js",
"types": "dist/duration.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"lint": "tslint -c tslint.json src/*.ts --fix --format verbose --project tsconfig.json",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"files": [
"dist/duration.js",
"dist/duration.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gnarr/duration.git"
},
"keywords": [
"duration",
"period",
"time",
"humanize",
"hours",
"minutes",
"seconds",
"days",
"years",
"months",
"decades",
"milleniums",
"milliseconds",
"nanoseconds",
"microseconds"
],
"author": "Gunnar Cortes Heimisson",
"license": "ISC",
"bugs": {
"url": "https://github.com/gnarr/duration/issues"
},
"homepage": "https://github.com/gnarr/duration#readme",
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/node": "^17.0.35",
"coveralls": "^3.0.3",
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"ts-node": "^10.8.0",
"tslint": "^6.0.0",
"typescript": "^4.7.2"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules"
],
"coverageReporters": [
"json",
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"transform": {
".ts": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts)$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
}
}