-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 1.91 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
{
"name": "flow-middleware",
"version": "0.2.2",
"main": "dist/index.js",
"repository": "[email protected]:piglovesyou/compose-middleware.git",
"author": "piglovesyou <[email protected]>",
"license": "MIT",
"files": [
"dist"
],
"peerDependencies": {
"express": "^4.17.1"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.2",
"@types/cookie-session": "2.0.41",
"@types/eslint": "^7.2.1",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/express": "4.17.7",
"@types/express-flash": "^0.0.2",
"@types/express-session": "^1.17.0",
"@types/jest": "^26.0.10",
"@types/node": "^14.6.0",
"@types/node-fetch": "^2.5.7",
"@types/prettier": "^2.0.2",
"@types/tough-cookie": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.10.1",
"cookie-parser": "^1.4.5",
"cookie-session": "^1.4.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-prettier": "^3.1.4",
"express": "^4.17.1",
"express-flash": "^0.0.2",
"express-session": "^1.17.1",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.13",
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.5",
"portfinder": "^1.0.28",
"prettier": "^2.1.0",
"tough-cookie": "^4.0.0",
"ts-jest": "^26.2.0",
"ts-node": "^9.0.0",
"typescript": "4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"yarn fix",
"git add --force"
]
},
"scripts": {
"lint": "eslint --ext .ts,.tsx,.js --ignore-path .gitignore .",
"fix": "yarn lint --fix",
"compile": "rimraf dist && tsc --declaration --project tsconfig.compile.json",
"clean": "rimraf dist",
"test": "jest",
"build": "npm-run-all clean compile",
"prepublishOnly": "npm-run-all lint build test"
}
}