package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "kutt",
  3. "version": "2.1.5",
  4. "description": "Modern URL shortener.",
  5. "main": "./production-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 client/ && rimraf production-server && tsc --project tsconfig.server.json && copyfiles -f \"server/mail/*.html\" production-server/mail",
  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. "axios": "^0.19.0",
  36. "bcryptjs": "^2.4.3",
  37. "bull": "^3.11.0",
  38. "cookie-parser": "^1.4.4",
  39. "cors": "^2.8.5",
  40. "date-fns": "^2.4.1",
  41. "dotenv": "^8.0.0",
  42. "email-validator": "^1.2.3",
  43. "express": "^4.17.1",
  44. "express-validator": "^4.3.0",
  45. "geoip-lite": "^1.3.8",
  46. "helmet": "^3.21.1",
  47. "isbot": "^2.2.1",
  48. "js-cookie": "^2.2.0",
  49. "jsonwebtoken": "^8.4.0",
  50. "jwt-decode": "^2.2.0",
  51. "knex": "^0.19.5",
  52. "lodash": "^4.17.15",
  53. "mongoose": "^5.6.4",
  54. "morgan": "^1.9.1",
  55. "ms": "^2.1.1",
  56. "nanoid": "^1.3.4",
  57. "natives": "^1.1.6",
  58. "neo4j-driver": "^1.7.5",
  59. "next": "^7.0.3",
  60. "next-redux-wrapper": "^2.1.0",
  61. "node-cron": "^2.0.3",
  62. "nodemailer": "^6.3.0",
  63. "p-queue": "^6.1.1",
  64. "passport": "^0.4.0",
  65. "passport-jwt": "^4.0.0",
  66. "passport-local": "^1.0.0",
  67. "passport-localapikey-update": "^0.6.0",
  68. "pg": "^7.12.1",
  69. "pg-query-stream": "^2.0.0",
  70. "prop-types": "^15.7.2",
  71. "qrcode.react": "^0.8.0",
  72. "raven": "^2.6.4",
  73. "react": "^16.8.1",
  74. "react-copy-to-clipboard": "^5.0.1",
  75. "react-dom": "^16.8.1",
  76. "react-ga": "^2.5.7",
  77. "react-inlinesvg": "^0.7.5",
  78. "react-redux": "^6.0.0",
  79. "recharts": "^1.4.3",
  80. "redis": "^2.8.0",
  81. "redux": "^4.0.1",
  82. "redux-devtools-extension": "^2.13.8",
  83. "redux-thunk": "^2.3.0",
  84. "styled-components": "^4.1.3",
  85. "universal-analytics": "^0.4.20",
  86. "url-regex": "^4.1.1",
  87. "useragent": "^2.2.1",
  88. "uuid": "^3.3.2"
  89. },
  90. "devDependencies": {
  91. "@babel/cli": "^7.2.3",
  92. "@babel/core": "^7.2.2",
  93. "@babel/node": "^7.2.2",
  94. "@babel/preset-env": "^7.3.1",
  95. "@babel/register": "^7.0.0",
  96. "@types/bcryptjs": "^2.4.2",
  97. "@types/body-parser": "^1.17.0",
  98. "@types/bull": "^3.10.5",
  99. "@types/cookie-parser": "^1.4.1",
  100. "@types/cors": "^2.8.5",
  101. "@types/date-fns": "^2.6.0",
  102. "@types/dotenv": "^4.0.3",
  103. "@types/express": "^4.16.0",
  104. "@types/helmet": "0.0.38",
  105. "@types/jsonwebtoken": "^7.2.8",
  106. "@types/jwt-decode": "^2.2.1",
  107. "@types/mongodb": "^3.1.17",
  108. "@types/mongoose": "^5.3.5",
  109. "@types/morgan": "^1.7.36",
  110. "@types/ms": "^0.7.30",
  111. "@types/next": "^7.0.5",
  112. "@types/node-cron": "^2.0.2",
  113. "@types/nodemailer": "^6.2.1",
  114. "@types/pg": "^7.11.0",
  115. "@types/pg-query-stream": "^1.0.3",
  116. "@types/redis": "^2.8.10",
  117. "@typescript-eslint/eslint-plugin": "^2.0.0",
  118. "@typescript-eslint/parser": "^2.0.0",
  119. "@zeit/next-typescript": "^1.1.1",
  120. "babel": "^6.23.0",
  121. "babel-cli": "^6.26.0",
  122. "babel-core": "^6.26.3",
  123. "babel-eslint": "^8.2.6",
  124. "babel-plugin-styled-components": "^1.10.0",
  125. "babel-preset-env": "^1.7.0",
  126. "chai": "^4.1.2",
  127. "copyfiles": "^2.1.1",
  128. "deep-freeze": "^0.0.1",
  129. "eslint": "^5.4.0",
  130. "eslint-config-airbnb": "^16.1.0",
  131. "eslint-config-prettier": "^6.1.0",
  132. "eslint-plugin-import": "^2.16.0",
  133. "eslint-plugin-jsx-a11y": "^6.2.1",
  134. "eslint-plugin-prettier": "^3.1.0",
  135. "eslint-plugin-react": "^7.14.3",
  136. "husky": "^0.15.0-rc.13",
  137. "mocha": "^5.2.0",
  138. "nock": "^9.3.3",
  139. "nodemon": "^1.18.10",
  140. "prettier": "^1.18.2",
  141. "redux-mock-store": "^1.5.3",
  142. "rimraf": "^3.0.0",
  143. "sinon": "^6.0.0",
  144. "typescript": "^3.5.3"
  145. }
  146. }