-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.64 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
{
"name": "authentication",
"description": "",
"version": "1.0.0",
"main": "src/index.ts",
"scripts": {
"genCertsDev": "rm -rf src/certs && mkdir src/certs && openssl genrsa -out src/certs/access_private.pem 1024 && openssl rsa -in src/certs/access_private.pem -pubout -out src/certs/access_public.pem && openssl genrsa -out src/certs/refresh_private.pem 1024 && openssl rsa -in src/certs/refresh_private.pem -pubout -out src/certs/refresh_public.pem",
"dev": "ts-node-dev src/index.ts",
"genCerts": "rm -rf build/certs && mkdir build && mkdir build/certs && openssl genrsa -out build/certs/access_private.pem 1024 && openssl rsa -in build/certs/access_private.pem -pubout -out build/certs/access_public.pem && openssl genrsa -out build/certs/refresh_private.pem 1024 && openssl rsa -in build/certs/refresh_private.pem -pubout -out build/certs/refresh_public.pem",
"build": "rimraf build && npm run genCerts && tsc",
"start": "node build/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ikkurthis1998/authentication.git"
},
"author": "Sree",
"license": "MIT",
"bugs": {
"url": "https://github.com/ikkurthis1998/authentication/issues"
},
"homepage": "https://github.com/ikkurthis1998/authentication#readme",
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/uuid": "^8.3.4",
"@types/zxcvbn": "^4.4.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.3"
},
"dependencies": {
"crypto-js": "^4.1.1",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.3.0",
"uuid": "^8.3.2",
"zxcvbn": "^4.4.2"
}
}