-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.71 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
{
"name": "url-shortner",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "src/index.js",
"scripts": {
"dev": "nodemon src/index.js",
"start": "node src/index.js",
"test": "NODE_ENV='test' NODE_OPTIONS=--experimental-vm-modules jest",
"test:dev": "NODE_ENV='test' NODE_OPTIONS=--experimental-vm-modules jest --watchAll --runInBand --detectOpenHandles",
"test:coverage": "NODE_ENV='test' NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"lint": "eslint . --ignore-path .eslintignore --ext .js",
"lint:fix": "eslint . --ignore-path .eslintignore --ext .js --fix",
"format": "prettier --config .prettierrc --ignore-path .gitignore --write \"**/**/*.+(js|json)\"",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Diaa-Hassan/URL-Shortner.git"
},
"author": "Diaa-Hassan",
"license": "ISC",
"bugs": {
"url": "https://github.com/Diaa-Hassan/URL-Shortner/issues"
},
"homepage": "https://github.com/Diaa-Hassan/URL-Shortner#readme",
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"express-requests-logger": "^4.0.0",
"http-errors": "^2.0.0",
"mongoose": "^7.2.0",
"morgan": "^1.10.0",
"nanoid": "^4.0.2"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"mongodb-memory-server": "^8.12.2",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"supertest": "^6.3.3"
},
"lint-staged": {
"**/**/*.+(js|ts|json)": [
"npm run format",
"git add ."
]
}
}