-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 1.88 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
{
"name": "web-errors",
"version": "1.1.0",
"description": "A javascript interface for errors",
"main": "dist/commonjs/index.js",
"module": "dist/es6/index.js",
"jsnext:main": "dist/es6/index.js",
"typings": "dist/typings/index.d.ts",
"author": "Nick Lebedev <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:nlebedevelop/web-errors.git"
},
"engines": {
"node": ">=10",
"npm": ">=6"
},
"scripts": {
"prebuild:prod": "rimraf dist",
"build": "rimraf ./dist ./node_modules/.cache ./.nyc_output && npm run lint && tsc --project tsconfig.es6.json && tsc --project tsconfig.common.json",
"build:prod": "cross-env NODE_ENV=production && npm run build",
"lint": "eslint --ext ts .",
"test": "jest"
},
"dependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^16.10.3"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"jest": "^27.4.5",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.2",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"jest": {
"rootDir": ".",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"collectCoverage": true,
"coverageReporters": [
"json",
"lcov",
"text",
"html"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 95,
"lines": 100
}
},
"verbose": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.common.json"
}
}
}
}