-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.84 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
{
"name": "tiny-url",
"version": "1.0.0",
"description": "Simple service to get shortened URLs and getting original URLs back",
"main": "index.js",
"scripts": {
"tsc": "tsc --project ./tsconfig.json",
"test-via-python": "chmod +x ./python-scripts-to-test/run.sh && ./python-scripts-to-test/run.sh",
"test-via-node": "node ./node-script-to-test",
"dev": "ts-node ./src/index.ts",
"dev-watch": "nodemon",
"build": "npm run tsc",
"start": "npm run precompile && npm run tsc && node ./dist/index.js",
"start-pm2": "npm run tsc && pm2-runtime start ecosystem.config.js --env production && pm2 save",
"stop-pm2": "NODE_ENV=production pm2 stop ecosystem.config.js --only job-scheduler",
"tslint": "tslint --project ./",
"prettier-all": "prettier --write 'src/**/*.+(ts|tsx|js|css|json)'",
"precompile": "npm run prettier-all && npm run tslint"
},
"prettier": {
"arrowParens": "avoid",
"trailingComma": "none",
"printWidth": 80,
"tabWidth": 2,
"semi": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/amanmoar277/tiny-url.git"
},
"author": "Aman Moar <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/amanmoar277/tiny-url/issues"
},
"homepage": "https://github.com/amanmoar277/tiny-url#readme",
"dependencies": {
"@types/node": "^14.14.21",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"mongodb": "^3.6.5",
"node-fetch": "^2.6.1",
"prettier": "^2.2.1",
"redis": "^3.0.2",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"tslint-clean-code": "^0.2.10",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"nodemon": "^2.0.7"
}
}