-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
73 lines (73 loc) · 1.9 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
{
"name": "typed-path-generator",
"version": "1.5.2",
"description": "Convert path `/user/:userID` to `({ userID: string | number }) => string`",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"typed-path-generator": "./bin/typed-path-generator.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LeetCode-OpenSource/typed-path-generator.git"
},
"bugs": {
"url": "https://github.com/LeetCode-OpenSource/typed-path-generator/issues"
},
"homepage": "https://github.com/LeetCode-OpenSource/typed-path-generator#readme",
"scripts": {
"build": "rm -rf ./dist && tsc -p ./tsconfig.json",
"lint": "yarn lint:eslint && yarn lint:tsc",
"lint:tsc": "tsc -p ./tsconfig.json --noEmit",
"lint:eslint": "eslint . --ext .ts,.tsx --fix --max-warnings 0"
},
"keywords": [
"route",
"routing",
"path-to-regexp",
"typescript",
"typed-path"
],
"author": "LeetCode front-end team",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"yarn lint:eslint",
"git add"
]
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/js-yaml": "^4.0.0",
"@types/lodash": "^4.14.122",
"@types/node": "^14.0.1",
"@types/prettier": "^2.0.0",
"@types/qs": "^6.5.2",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"eslint": "7.24.0",
"eslint-config-prettier": "^8.1.0",
"husky": "^6.0.0",
"lint-staged": "^10.0.1",
"typescript": "^4.2"
},
"dependencies": {
"chalk": "^4.0.0",
"commander": "^6.0.0",
"glob": "^7.1.3",
"js-yaml": "^4.0.0",
"lodash": "^4.17.11",
"log-update": "^4.0.0",
"outdent": "^0.8.0",
"path-to-regexp": "^3.0.0",
"prettier": "^2.0.1",
"qs": "^6.6.0",
"tslib": "^2.1.0"
}
}