This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.35 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
102
103
104
{
"name": "routex",
"version": "1.0.1",
"description": "Modern Node router",
"keywords": [
"router",
"routex"
],
"homepage": "https://routex.js.org",
"repository": {
"type": "git",
"url": "https://github.com/routexjs/routex"
},
"license": "MIT",
"author": "Charles Crete <[email protected]>",
"main": "dist/lib/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"format": "prettier --write '**/*.{js,ts,md,json}'",
"lint": "eslint 'src/**/*.ts'",
"prepublishOnly": "run-s format lint test build",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"watch": "tsc -w"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,md,json}": [
"prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"src/*.{js,ts}"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"transform": {
".ts": "ts-jest"
}
},
"dependencies": {
"@types/node": "^13.13.2",
"parseurl": "^1.3.3",
"path-to-regexp": "^6.1.0",
"qs": "^6.9.3",
"throng": "^4.0.0",
"uuid": "^7.0.3"
},
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/parseurl": "^1.3.1",
"@types/path-to-regexp": "^1.7.0",
"@types/qs": "^6.9.1",
"@types/supertest": "^2.0.8",
"@types/throng": "^4.0.2",
"@types/uuid": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"codecov": "^3.6.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"jest": "^25.4.0",
"jest-config": "^25.4.0",
"lint-staged": "^10.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"supertest": "^4.0.2",
"ts-jest": "^25.4.0",
"ts-node": "^8.9.0",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.0.0"
}
}