-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 4.5 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"author": "Rubén Conde <[email protected]>",
"bugs": {
"url": "https://github.com/MariachiBear/cutting-ninja-api/issues"
},
"dependencies": {
"@fastify/static": "7.0.4",
"@fastify/swagger": "8.14.0",
"@nestjs/common": "10.3.8",
"@nestjs/config": "3.2.2",
"@nestjs/core": "10.3.8",
"@nestjs/jwt": "10.2.0",
"@nestjs/mapped-types": "2.0.5",
"@nestjs/mongoose": "10.0.6",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-fastify": "10.3.8",
"@nestjs/schedule": "4.0.2",
"@nestjs/swagger": "7.3.1",
"@nestjs/throttler": "5.1.2",
"bcryptjs": "2.4.3",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"fastify": "4.27.0",
"helmet": "7.1.0",
"isbot": "5.1.6",
"luxon": "3.4.4",
"mongoose": "8.3.5",
"nanoid": "3.3.7",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"passport-local": "1.0.0",
"reflect-metadata": "0.2.2",
"rimraf": "5.0.7",
"rxjs": "7.8.1"
},
"description": "Backend application to generate short urls and then redirect them. Made with Nest.js and MongoDB",
"devDependencies": {
"@nestjs/cli": "10.3.2",
"@nestjs/schematics": "10.1.1",
"@nestjs/testing": "10.3.8",
"@types/bcryptjs": "2.4.6",
"@types/cache-manager": "4.0.6",
"@types/jest": "29.5.12",
"@types/luxon": "3.4.2",
"@types/node": "20.12.12",
"@types/passport": "1.0.16",
"@types/passport-jwt": "4.0.1",
"@types/passport-local": "1.0.38",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"jest": "29.7.0",
"pnpm": "9.1.1",
"prettier": "3.2.5",
"supertest": "7.0.0",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.4.5"
},
"directories": {
"test": "test"
},
"homepage": "https://github.com/MariachiBear/cutting-ninja-api#readme",
"jest": {
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
".+\\.(t|j)s$": "ts-jest"
}
},
"keywords": [],
"license": "MIT",
"name": "cutting-ninja-api",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/MariachiBear/cutting-ninja-api.git"
},
"scripts": {
"build": "pnpm build:clear && nest build",
"build:clear": "rimraf dist",
"deps:refresh": "rimraf node_modules pnpm-lock.yaml && pnpm install",
"docker": "pnpm docker:build && pnpm docker:run",
"docker:build": "docker build -t cutting-ninja-api:$npm_package_version .",
"docker:run": "docker run -it -d --restart always -p 9001:3000 --name cutting-ninja-api-$npm_package_version cutting-ninja-api:$npm_package_version",
"eslint:format": "eslint --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore . --fix",
"prettier:format": "prettier --ignore-path .gitignore -l -w \"./**/*.{js,jsx,ts,tsx}\"",
"start": "cross-env NODE_ENV=development nest start",
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
"start:dev": "cross-env NODE_ENV=development nest start --watch",
"start:prod": "cross-env NODE_ENV=production pm2-runtime start dist/main.js -i 4 --name 'Cutting Ninja [Production]'",
"start:test": "cross-env NODE_ENV=development pm2 start dist/main.js --watch --name 'Cutting Ninja [Development]'",
"test": "jest",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"test:eslint": "eslint --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore . --color",
"test:prettier": "prettier --ignore-path .gitignore -c \"./**/*.{js,jsx,ts,tsx}\"",
"test:watch": "jest --watch"
},
"version": "1.6.0"
}