-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
78 lines (78 loc) · 2.48 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
74
75
76
77
78
{
"name": "node-file-router",
"version": "0.6.0",
"description": "A powerful file-based routing for Express.js, Bun, pure Node.js and more",
"scripts": {
"dev:sandbox": "tsnd examples/sandbox/server.ts",
"dev:sandbox:inspect": "tsnd --inspect -- examples/sandbox/server.ts",
"dev:link": "pnpm link ./dist",
"build": "pnpm build:cjs && pnpm build:esm && pnpm build:types && node ./dev/scripts/copy-files.js",
"build:esm": "cross-env BABEL_ENV=esm babel src --extensions '.ts' --out-dir 'dist/esm' --out-file-extension .mjs --source-maps",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --extensions '.ts' --out-dir 'dist/cjs' --source-maps",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types --rootDir src",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "eslint src tests",
"prepare": "husky install"
},
"module": "./esm/index.mjs",
"main": "../cjs/index.js",
"types": "./types/index.d.ts",
"exports": {
"import": {
"types": "./types/index.d.ts",
"default": "./esm/index.mjs"
},
"require": {
"types": "./types/index.d.ts",
"default": "./cjs/index.js"
}
},
"keywords": [
"nodejs",
"express",
"bun",
"router",
"file router",
"routing",
"middleware"
],
"author": "Daniil Sitdikov <hello.boriskas@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Danilqa/node-file-router/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Danilqa/node-file-router"
},
"homepage": "https://node-file-router.js.org",
"engines": {
"node": ">=14.8.0"
},
"devDependencies": {
"@babel/cli": "7.21.5",
"@babel/core": "7.21.8",
"@babel/plugin-transform-modules-commonjs": "7.21.5",
"@babel/plugin-transform-runtime": "7.21.4",
"@babel/preset-env": "7.21.5",
"@babel/preset-typescript": "7.21.5",
"@commitlint/cli": "17.7.2",
"@commitlint/config-conventional": "17.7.0",
"@types/node": "20.1.4",
"@typescript-eslint/eslint-plugin": "6.2.0",
"@typescript-eslint/parser": "6.2.0",
"@vitest/coverage-c8": "0.31.0",
"babel-plugin-add-import-extension": "1.6.0",
"cross-env": "7.0.3",
"eslint": "8.46.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.9.0",
"eslint-plugin-prettier": "5.0.0",
"husky": "8.0.3",
"prettier": "3.0.0",
"ts-node-dev": "2.0.0",
"typescript": "5.0.4",
"vitest": "0.31.0"
}
}