-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
76 lines (76 loc) · 2.2 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
{
"name": "express-flash-message",
"version": "3.0.2",
"description": "",
"repository": "https://github.com/leozhao0709/express-flash-message.git",
"author": "Lei Zhao <[email protected]>",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"test": "pnpm typeCheck && pnpm lint && pnpm jest",
"start": "",
"jest": "jest",
"typeCheck": "tsc --noEmit",
"test:watch": "jest --watch --coverage=false",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:esm",
"build:cjs": "NODE_ENV=production ts-node scripts/cjs/build-cjs.ts",
"build:esm": "NODE_ENV=production tsc -p tsconfig.build.json && tsc-alias",
"build:clean": "rm -rf dist",
"clean": "rm -rf node_modules dist coverage",
"lint": "eslint {src,tests} --ext .js,.jsx,.ts,.tsx",
"lintStaged": "lint-staged --config .lint-staged.config.cjs",
"prepublishOnly": "pnpm lint && pnpm test && pnpm build",
"prepare": "husky install",
"start:dev": "nodemon",
"start:debug": "nodemon --inspect-brk"
},
"keywords": [
"express",
"flash",
"messages",
"flash messages"
],
"license": "MIT",
"devDependencies": {
"@types/cookie-session": "^2.0.44",
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.6",
"@types/jest": "^29.4.0",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.15.1",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"cookie-session": "^2.0.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"express": "^4.18.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.0",
"nodemon": "^2.0.21",
"prettier": "^2.8.4",
"ts-jest": "^29.0.5",
"tsc-alias": "^1.8.3",
"ttypescript": "^1.5.15",
"typescript": "^4.9.5",
"typescript-plugin-css-modules": "^4.2.3"
},
"peerDependencies": {
"express": "^4.18.2"
},
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"engines": {
"node": ">=v16.17.1"
},
"type": "module"
}