You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

73 regels
2.6 KiB

  1. {
  2. "name": "nome-do-projeto",
  3. "version": "1.0.0",
  4. "description": "Extraçao de dados de arquivos PDF",
  5. "main": "server.js",
  6. "author": "Daniel Souza <daniel.souza@tron.com.br>",
  7. "license": "MIT",
  8. "private": true,
  9. "scripts": {
  10. "build": "rm -rf ./dist && babel src --extensions \".js,.ts\" --out-dir dist --copy-files",
  11. "start": "NODE_ENV=production node ./src/http/server.ts",
  12. "dev:server": "cross-env NODE_ENV=development ts-node-dev -r tsconfig-paths/register --inspect --respawn --transpile-only --ignore-watch node_modules ./src/http/server.ts",
  13. "docker:run": "docker-compose -f ./docker-compose.yaml down && docker-compose -f ./docker-compose.yaml up --build -d",
  14. "docker:logs": "docker logs -f nome-do-projeto",
  15. "docker:server": "yarn docker:run && yarn docker:logs",
  16. "docker:bash": "docker exec -it nome-do-projeto bash",
  17. "docker:test": "docker-compose -f ./docker-compose.yaml up --build -d && docker exec -it nome-do-projeto yarn test",
  18. "test": "jest"
  19. },
  20. "dependencies": {
  21. "@types/mongodb": "^3.6.0",
  22. "axios": "^0.20.0",
  23. "cors": "^2.8.5",
  24. "date-fns": "^2.16.1",
  25. "dotenv": "^8.2.0",
  26. "express": "^4.17.1",
  27. "express-async-errors": "^3.1.1",
  28. "mongodb": "^3.6.3",
  29. "multer": "^1.4.2",
  30. "pdf-parse": "^1.1.1",
  31. "reflect-metadata": "^0.1.13",
  32. "tsyringe": "^4.3.0",
  33. "typeorm": "^0.2.29",
  34. "uuid": "^8.3.1",
  35. "yup": "^0.31.1"
  36. },
  37. "devDependencies": {
  38. "@babel/cli": "^7.12.1",
  39. "@babel/core": "^7.12.3",
  40. "@babel/node": "^7.12.1",
  41. "@babel/plugin-proposal-class-properties": "^7.12.1",
  42. "@babel/plugin-proposal-decorators": "^7.12.1",
  43. "@babel/plugin-transform-typescript": "^7.12.1",
  44. "@babel/preset-env": "^7.12.1",
  45. "@babel/preset-typescript": "^7.12.1",
  46. "@types/cors": "^2.8.7",
  47. "@types/express": "^4.17.8",
  48. "@types/jest": "^26.0.19",
  49. "@types/multer": "^1.4.4",
  50. "@types/pdf-parse": "^1.1.0",
  51. "@types/pdfjs-dist": "^2.1.7",
  52. "@types/uuid": "^8.3.0",
  53. "@types/yup": "^0.29.9",
  54. "@typescript-eslint/eslint-plugin": "^4.4.0",
  55. "@typescript-eslint/parser": "^4.4.0",
  56. "babel-plugin-module-resolver": "^4.0.0",
  57. "babel-plugin-transform-typescript-metadata": "^0.3.1",
  58. "babel-preset-const-enum": "^1.0.0",
  59. "cross-env": "^7.0.2",
  60. "eslint": "6.8.0",
  61. "eslint-config-airbnb-base": "^14.2.0",
  62. "eslint-config-prettier": "^6.11.0",
  63. "eslint-import-resolver-typescript": "^2.2.1",
  64. "eslint-plugin-import": "^2.21.2",
  65. "eslint-plugin-prettier": "^3.1.4",
  66. "jest": "^26.6.3",
  67. "prettier": "^2.1.0",
  68. "ts-jest": "^26.4.4",
  69. "ts-node-dev": "^1.0.0-pre.63",
  70. "typescript": "^4.0.3"
  71. }
  72. }