/
package.json
47 lines (47 loc) · 1.33 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
{
"name": "with-timeout",
"version": "0.0.1",
"description": "Add a timeout to an asynchronous function",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "https://github.com/alsiola/with-timeout.git",
"author": "Alex Young <alex.young@hive.hr>",
"license": "MIT",
"scripts": {
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch",
"test:coverage": "NODE_ENV=test jest --coverage",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"build": "yarn test && yarn lint && rimraf lib && tsc",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@types/jest": "^23.3.2",
"jest": "^23.6.0",
"prettier": "^1.14.2",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"typescript": "^3.0.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/",
"/demo/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"collectCoverageFrom": [
"src/**/*"
]
}
}