-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 1.51 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
{
"name": "@entva/express-trailingslash",
"description": "ExpressJS middleware that redirects requests with trailing slashes to a clean one without it",
"author": "Max Degterev <[email protected]>",
"license": "MIT",
"readmeFilename": "README.md",
"repository": "entva/express-trailingslash",
"bugs": "https://github.com/entva/express-trailingslash/issues",
"version": "1.3.0",
"keywords": [
"express",
"expressjs",
"middleware",
"slash",
"trailing"
],
"main": "dist/index.js",
"module": "esm/index.mjs",
"types": "esm/index.d.ts",
"exports": {
"import": "./esm/index.mjs",
"require": "./dist/index.js",
"types": "./esm/index.d.ts"
},
"files": [
"dist",
"esm"
],
"scripts": {
"clean": "rm -rf ./dist ./esm",
"prebuild": "npm run clean",
"build:cjs": "tsc -p tsconfig-build.json --module commonjs --outDir dist",
"build:esm": "tsc -p tsconfig-build.json --target es2018 --outDir esm && mv esm/index.js esm/index.mjs",
"build": "npm run build:esm && npm run build:cjs",
"reinstall": "rm -rf node_modules package-lock.json && npm install",
"lint": "eslint ./",
"prepublishOnly": "npm run lint && npm test && echo \"\\033[0;32mReady to publish\\033[0m\"",
"test": "npm run build && TZ='GMT' mocha"
},
"devDependencies": {
"@types/express": "^4.17.21",
"chai": "^5.1.1",
"eslint": "^8.57.0",
"eslint-config-entva-typescript-base": "^1.1.0",
"mocha": "^10.5.1",
"sinon": "^18.0.0",
"typescript": "^5.5.2"
}
}