-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.48 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.48 KB
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
{
"name": "web-interface",
"version": "0.1.0",
"description": "node接口开发",
"main": "index.js",
"license": "MIT",
"author": "wanglei",
"keywords": [
"node",
"web",
"interface"
],
"engines": {
"node": ">= 0.10.0"
},
"repository": {
"type": "git",
"url": "git@github.com:wanglei8381/interface.git"
},
"bugs": {
"url": "https://github.com/wanglei8381/interface/issues"
},
"scripts": {
"lint": "eslint lib test",
"test": "jest test",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"format": "prettier-eslint --no-semi --write \"lib/**/*.js\" \"test/**/*.js\"",
"precommit": "npm run lint"
},
"dependencies": {
"path-to-regexp": "^2.2.0",
"raw-body": "^2.3.2",
"formidable": "^1.2.0",
"send": "^0.16.2",
"uid-safe": "^2.1.5",
"cookie-signature": "^1.1.0",
"redis": "^2.8.0",
"generic-pool": "^3.4.2"
},
"devDependencies": {
"eslint": "^4.15.0",
"eslint-config-standard": "^11.0.0-beta.0",
"husky": "^0.14.3",
"jest": "^22.0.5",
"prettier": "1.10.2",
"prettier-eslint-cli": "^4.7.0"
},
"jest": {
"collectCoverage": false,
"moduleNameMapper": {
"^@$": "<rootDir>/src",
"^@/(.*)$": "<rootDir>/src/$1"
},
"collectCoverageFrom": [
"lib/**"
],
"setupFiles": [
"<rootDir>/test/unit/setup"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/unit/index",
"coverageDirectory": "test/coverage"
}
}