-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.65 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 2.65 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
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
105
{
"name": "woodland",
"version": "20.2.10",
"description": "High-performance HTTP framework",
"type": "module",
"types": "types/woodland.d.ts",
"source": "src/woodland.js",
"main": "dist/woodland.cjs",
"exports": {
"types": "./types/woodland.d.ts",
"import": "./dist/woodland.js",
"require": "./dist/woodland.cjs"
},
"files": [
"dist",
"tpl",
"types"
],
"scripts": {
"benchmark": "npm install express fastify --no-save && node benchmark.js",
"build": "npm run test:src && npm run rollup && npm run test:cli",
"changelog": "auto-changelog -p",
"clean": "rimraf dist coverage coverage.txt",
"coverage": "c8 --reporter=text npm run mocha 2>&1 | sed -n '/^---/,$p' > coverage.txt",
"lint": "eslint --fix *.js src/*.js tests/**/*.test.js benchmarks/*.js",
"lint:check": "eslint *.js src/*.js tests/**/*.test.js benchmarks/*.js",
"mocha": "mocha tests/**/*.test.js",
"prebuild": "npm run clean",
"rollup": "rollup --config",
"test": "npm run lint && c8 npm run mocha",
"test:cli": "mocha tests/unit/cli.test.js",
"test:src": "npm run lint && c8 mocha tests/unit/constants.test.js tests/unit/utility.test.js tests/unit/woodland*.test.js tests/integration/*.test.js",
"test:watch": "npm run mocha -- --watch",
"precommit": "npm run test"
},
"pre-commit": [
"precommit"
],
"c8": {
"exclude": [
"dist/**",
"benchmarks/**",
"test-files/**",
"tpl/**",
"types/**",
"tests/**",
"rollup.config.js",
"eslint.config.js",
"benchmark.js"
],
"reporter": [
"text",
"html",
"lcov"
],
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100,
"statements": 100
},
"repository": {
"type": "git",
"url": "git+https://github.com/avoidwork/woodland.git"
},
"keywords": [
"router",
"http",
"https",
"routing",
"middleware",
"framework",
"api",
"rest"
],
"author": "Jason Mulligan <jason.mulligan@avoidwork.com>",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/avoidwork/woodland/issues"
},
"engineStrict": true,
"engines": {
"node": ">=17.0.0"
},
"homepage": "https://github.com/avoidwork/woodland",
"bin": {
"woodland": "dist/cli.cjs"
},
"dependencies": {
"mime-db": "^1.54.0",
"precise": "^4.0.3",
"tiny-coerce": "^3.0.2",
"tiny-etag": "^4.0.5",
"tiny-lru": "^11.4.5"
},
"devDependencies": {
"auto-changelog": "^2.5.0",
"c8": "^11.0.0",
"eslint": "^9.35.0",
"mocha": "^11.7.2",
"pre-commit": "^1.2.2",
"rimraf": "^6.0.1",
"rollup": "^4.50.1"
}
}