package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "kutt",
  3. "version": "1.2.1",
  4. "description": "Modern URL shortener.",
  5. "main": "./server/server.js",
  6. "scripts": {
  7. "test": "mocha --compilers js:@babel/register ./client/**/__test__/*.js",
  8. "docker:build": "docker build -t kutt .",
  9. "docker:run": "docker run -p 3000:3000 --env-file .env -d kutt:latest",
  10. "dev": "nodemon server/server.ts",
  11. "build": "next build && tsc --project tsconfig.server.json",
  12. "start": "NODE_ENV=production node production-server/server.js",
  13. "lint": "eslint server/ --ext .js,.ts --fix",
  14. "lint:nofix": "eslint server/ --ext .js,.ts"
  15. },
  16. "husky": {
  17. "hooks": {
  18. "pre-commit": "npm run lint:nofix"
  19. }
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/TheDevs-Network/kutt.git"
  24. },
  25. "keywords": [
  26. "url-shortener"
  27. ],
  28. "author": "Pouria Ezzati <ezzati.upt@gmail.com>",
  29. "license": "MIT",
  30. "bugs": {
  31. "url": "https://github.com/TheDevs-Network/kutt/issues"
  32. },
  33. "homepage": "https://github.com/TheDevs-Network/kutt#readme",
  34. "dependencies": {
  35. "@types/body-parser": "^1.17.0",
  36. "@types/cookie-parser": "^1.4.1",
  37. "@types/date-fns": "^2.6.0",
  38. "@types/dotenv": "^4.0.3",
  39. "@types/express": "^4.16.0",
  40. "@types/helmet": "0.0.38",
  41. "@types/jsonwebtoken": "^7.2.8",
  42. "@types/jwt-decode": "^2.2.1",
  43. "@types/mongodb": "^3.1.17",
  44. "@types/mongoose": "^5.3.5",
  45. "@types/next": "^7.0.5",
  46. "@types/passport": "^0.4.7",
  47. "@types/passport-jwt": "^3.0.1",
  48. "@types/redis": "^2.8.10",
  49. "axios": "^0.19.0",
  50. "bcryptjs": "^2.4.3",
  51. "cookie-parser": "^1.4.4",
  52. "cors": "^2.8.5",
  53. "date-fns": "^1.30.1",
  54. "dotenv": "^8.0.0",
  55. "email-validator": "^1.2.3",
  56. "express": "^4.17.1",
  57. "express-validator": "^4.3.0",
  58. "geoip-lite": "^1.3.6",
  59. "helmet": "^3.15.1",
  60. "isbot": "^2.2.1",
  61. "js-cookie": "^2.2.0",
  62. "jsonwebtoken": "^8.4.0",
  63. "jwt-decode": "^2.2.0",
  64. "lodash": "^4.17.11",
  65. "mongoose": "^5.6.4",
  66. "morgan": "^1.9.1",
  67. "ms": "^2.1.1",
  68. "nanoid": "^1.3.4",
  69. "natives": "^1.1.6",
  70. "neo4j-driver": "^1.7.5",
  71. "next": "^7.0.3",
  72. "next-redux-wrapper": "^2.1.0",
  73. "node-cron": "^2.0.3",
  74. "nodemailer": "^6.3.0",
  75. "passport": "^0.4.0",
  76. "passport-jwt": "^4.0.0",
  77. "passport-local": "^1.0.0",
  78. "passport-localapikey-update": "^0.6.0",
  79. "prop-types": "^15.7.2",
  80. "qrcode.react": "^0.8.0",
  81. "raven": "^2.6.4",
  82. "react": "^16.8.1",
  83. "react-copy-to-clipboard": "^5.0.1",
  84. "react-dom": "^16.8.1",
  85. "react-ga": "^2.5.7",
  86. "react-inlinesvg": "^0.7.5",
  87. "react-redux": "^6.0.0",
  88. "recharts": "^1.4.3",
  89. "redis": "^2.8.0",
  90. "redux": "^4.0.1",
  91. "redux-devtools-extension": "^2.13.8",
  92. "redux-thunk": "^2.3.0",
  93. "styled-components": "^4.1.3",
  94. "universal-analytics": "^0.4.20",
  95. "url-regex": "^4.1.1",
  96. "useragent": "^2.2.1",
  97. "uuid": "^3.3.2"
  98. },
  99. "devDependencies": {
  100. "@babel/cli": "^7.2.3",
  101. "@babel/core": "^7.2.2",
  102. "@babel/node": "^7.2.2",
  103. "@babel/preset-env": "^7.3.1",
  104. "@babel/register": "^7.0.0",
  105. "@types/bcryptjs": "^2.4.2",
  106. "@types/cors": "^2.8.5",
  107. "@types/morgan": "^1.7.36",
  108. "@types/ms": "^0.7.30",
  109. "@types/node-cron": "^2.0.2",
  110. "@types/nodemailer": "^6.2.1",
  111. "@types/passport-local": "^1.0.33",
  112. "@typescript-eslint/eslint-plugin": "^1.13.0",
  113. "@typescript-eslint/parser": "^1.13.0",
  114. "babel": "^6.23.0",
  115. "babel-cli": "^6.26.0",
  116. "babel-core": "^6.26.3",
  117. "babel-eslint": "^8.2.6",
  118. "babel-plugin-styled-components": "^1.10.0",
  119. "babel-preset-env": "^1.7.0",
  120. "chai": "^4.1.2",
  121. "deep-freeze": "^0.0.1",
  122. "eslint": "^6.1.0",
  123. "eslint-config-airbnb": "^16.1.0",
  124. "eslint-config-prettier": "^6.0.0",
  125. "eslint-plugin-import": "^2.16.0",
  126. "eslint-plugin-jsx-a11y": "^6.2.1",
  127. "eslint-plugin-prettier": "^2.7.0",
  128. "eslint-plugin-react": "^7.14.3",
  129. "husky": "^0.15.0-rc.13",
  130. "mocha": "^5.2.0",
  131. "nock": "^9.3.3",
  132. "nodemon": "^1.18.10",
  133. "prettier": "^1.16.4",
  134. "redux-mock-store": "^1.5.3",
  135. "sinon": "^6.0.0",
  136. "typescript": "^3.5.3"
  137. }
  138. }