-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.45 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.45 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
{
"name": "woodland",
"version": "22.3.0",
"description": "Secure HTTP framework for Node.js. Express-compatible with built-in security, no performance tradeoff.",
"keywords": [
"api",
"cors",
"framework",
"http",
"https",
"lightweight",
"middleware",
"nodejs",
"performance",
"rest",
"router",
"routing",
"security",
"server",
"typescript"
],
"homepage": "https://github.com/avoidwork/woodland",
"bugs": {
"url": "https://github.com/avoidwork/woodland/issues"
},
"license": "BSD-3-Clause",
"author": "Jason Mulligan <jason.mulligan@avoidwork.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/avoidwork/woodland.git"
},
"bin": {
"woodland": "dist/cli.cjs"
},
"source": "src/woodland.js",
"files": [
"dist",
"tpl",
"types"
],
"type": "module",
"main": "dist/woodland.cjs",
"types": "types/woodland.d.ts",
"exports": {
"types": "./types/woodland.d.ts",
"import": "./dist/woodland.js",
"require": "./dist/woodland.cjs"
},
"scripts": {
"benchmark": "npm install express fastify --no-save && node benchmark.js",
"build": "npm run rollup",
"changelog": "auto-changelog -p",
"clean": "rimraf dist",
"coverage": "node --test --experimental-test-coverage --test-coverage-exclude=dist/** --test-coverage-exclude=tests/** --test-reporter=spec tests/**/*.test.js 2>&1 | grep -A 1000 \"start of coverage report\" > coverage.txt && ! grep -q \"failing tests\" coverage.txt",
"fix": "oxlint --fix *.js benchmarks src tests && oxfmt *.js benchmarks src tests/unit --write",
"lint": "oxlint *.js benchmarks src tests && oxfmt *.js benchmarks src tests/unit --check",
"prepare": "husky",
"prebuild": "npm run clean",
"rollup": "rollup --config",
"sample": "node sample.js",
"test": "npm run lint && WOODLAND_LOG_ENABLED=false node --test tests/**/*.test.js",
"test:cli": "node --test tests/unit/cli.test.js",
"test:watch": "node --test --watch tests/**/*.test.js"
},
"dependencies": {
"jsonschema": "^1.5.0",
"mime-db": "^1.54.0",
"precise": "^5.0.0",
"tiny-coerce": "^3.1.0",
"tiny-etag": "^4.0.5",
"tiny-lru": "^13.0.0"
},
"devDependencies": {
"auto-changelog": "^2.5.0",
"husky": "^9.1.7",
"oxfmt": "^0.51.0",
"oxlint": "^1.57.0",
"rimraf": "^6.1.3",
"rollup": "^4.60.0"
},
"engines": {
"node": ">=17.0.0"
},
"engineStrict": true
}