|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- "name": "nome-do-projeto",
- "version": "1.0.0",
- "description": "Extraçao de dados de arquivos PDF",
- "main": "server.js",
- "author": "Daniel Souza <daniel.souza@tron.com.br>",
- "license": "MIT",
- "private": true,
- "scripts": {
- "build": "rm -rf ./dist && babel src --extensions \".js,.ts\" --out-dir dist --copy-files",
- "start": "NODE_ENV=production node ./src/http/server.ts",
- "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",
- "docker:run": "docker-compose -f ./docker-compose.yaml down && docker-compose -f ./docker-compose.yaml up --build -d",
- "docker:logs": "docker logs -f nome-do-projeto",
- "docker:server": "yarn docker:run && yarn docker:logs",
- "docker:bash": "docker exec -it nome-do-projeto bash",
- "docker:test": "docker-compose -f ./docker-compose.yaml up --build -d && docker exec -it nome-do-projeto yarn test",
- "test": "jest"
- },
- "dependencies": {
- "@types/mongodb": "^3.6.0",
- "axios": "^0.20.0",
- "cors": "^2.8.5",
- "date-fns": "^2.16.1",
- "dotenv": "^8.2.0",
- "express": "^4.17.1",
- "express-async-errors": "^3.1.1",
- "mongodb": "^3.6.3",
- "multer": "^1.4.2",
- "pdf-parse": "^1.1.1",
- "reflect-metadata": "^0.1.13",
- "tsyringe": "^4.3.0",
- "typeorm": "^0.2.29",
- "uuid": "^8.3.1",
- "yup": "^0.31.1"
- },
- "devDependencies": {
- "@babel/cli": "^7.12.1",
- "@babel/core": "^7.12.3",
- "@babel/node": "^7.12.1",
- "@babel/plugin-proposal-class-properties": "^7.12.1",
- "@babel/plugin-proposal-decorators": "^7.12.1",
- "@babel/plugin-transform-typescript": "^7.12.1",
- "@babel/preset-env": "^7.12.1",
- "@babel/preset-typescript": "^7.12.1",
- "@types/cors": "^2.8.7",
- "@types/express": "^4.17.8",
- "@types/jest": "^26.0.19",
- "@types/multer": "^1.4.4",
- "@types/pdf-parse": "^1.1.0",
- "@types/pdfjs-dist": "^2.1.7",
- "@types/uuid": "^8.3.0",
- "@types/yup": "^0.29.9",
- "@typescript-eslint/eslint-plugin": "^4.4.0",
- "@typescript-eslint/parser": "^4.4.0",
- "babel-plugin-module-resolver": "^4.0.0",
- "babel-plugin-transform-typescript-metadata": "^0.3.1",
- "babel-preset-const-enum": "^1.0.0",
- "cross-env": "^7.0.2",
- "eslint": "6.8.0",
- "eslint-config-airbnb-base": "^14.2.0",
- "eslint-config-prettier": "^6.11.0",
- "eslint-import-resolver-typescript": "^2.2.1",
- "eslint-plugin-import": "^2.21.2",
- "eslint-plugin-prettier": "^3.1.4",
- "jest": "^26.6.3",
- "prettier": "^2.1.0",
- "ts-jest": "^26.4.4",
- "ts-node-dev": "^1.0.0-pre.63",
- "typescript": "^4.0.3"
- }
- }
|