117 строки
4.1 KiB
JSON
117 строки
4.1 KiB
JSON
{
|
|
"name": "@cbosuite/api",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"clean": "essex clean .version dist/ deploy.zip",
|
|
"start:db": "docker-compose up -d ",
|
|
"start:api": "DEBUG='cbosuite:*' NODE_CONFIG_ENV='development' nodemon src/index.ts",
|
|
"start:api:static": "DEBUG='cbosuite:*' NODE_CONFIG_ENV='development' yarn node dist/src/index.js",
|
|
"start": "yarn start:api",
|
|
"build": "run-s compile write_deploy_package",
|
|
"build:api": "yarn build",
|
|
"archive": "./scripts/archive.sh",
|
|
"archive:api": "yarn archive",
|
|
"compile": "ttsc -b tsconfig.json",
|
|
"test": "jest --runInBand",
|
|
"copy_mock_data": "shx mkdir -p dist/mock_data/ && shx cp -r mock_data/* dist/mock_data/",
|
|
"assets": "run-s create_mock_data copy_mock_data write_version",
|
|
"tsn": "ts-node -r tsconfig-paths/register",
|
|
"create_mock_data": "yarn tsn scripts/createMockData/index.ts",
|
|
"create_seed_data": "yarn tsn createSeedData.ts",
|
|
"write_version": "node scripts/writeVersion",
|
|
"deploy:integ": "az webapp deployment source config-zip --resource-group greenlight --name greenlight-api-integ --src deploy.zip",
|
|
"deploy:prod": "az webapp deployment source config-zip --resource-group greenlight --name greenlight-api --src deploy.zip",
|
|
"write_deploy_package": "yarn tsn writeDeployPackage.ts",
|
|
"migrate": "yarn tsn ./migrateMongo.ts",
|
|
"migrate:db:up": "yarn migrate up"
|
|
},
|
|
"dependencies": {
|
|
"@cbosuite/schema": "workspace:^",
|
|
"@graphql-tools/schema": "^8.3.2",
|
|
"@graphql-tools/utils": "^8.6.2",
|
|
"apollo-server": "^3.6.3",
|
|
"apollo-server-core": "^3.6.3",
|
|
"apollo-server-errors": "^3.3.1",
|
|
"apollo-server-fastify": "^3.6.3",
|
|
"applicationinsights": "^2.2.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"config": "^3.3.7",
|
|
"dataloader": "^2.0.0",
|
|
"debug": "^4.3.3",
|
|
"detect-libc": "^1.0.3",
|
|
"dotenv": "^10.0.0",
|
|
"fastify": "^3.27.3",
|
|
"fastify-cors": "^6.0.3",
|
|
"fastify-warning": "^0.2.0",
|
|
"firebase-admin": "^9.12.0",
|
|
"graphql": "^16.3.0",
|
|
"graphql-subscriptions": "^2.0.0",
|
|
"i18n": "^0.13.4",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"lodash": "^4.17.21",
|
|
"make-dir": "^3.1.0",
|
|
"migrate-mongo": "^8.2.3",
|
|
"mongodb": "3.7.3",
|
|
"node-fetch": "^2.6.7",
|
|
"nodemailer": "^6.7.2",
|
|
"nodemailer-sendgrid-transport": "^0.2.0",
|
|
"nopt": "^5.0.0",
|
|
"npmlog": "^5.0.1",
|
|
"pino": "^6.14.0",
|
|
"pino-pretty": "^6.0.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"semver": "^7.3.5",
|
|
"subscriptions-transport-ws": "^0.11.0",
|
|
"tar": "^6.1.11",
|
|
"tsyringe": "^4.6.0",
|
|
"uuid": "^8.3.2",
|
|
"ws": "^8.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/plugin-proposal-decorators": "^7.17.2",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@essex/jest-config": "^21.0.4",
|
|
"@essex/scripts": "^20.4.6",
|
|
"@tsconfig/node14": "^1.0.1",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/config": "^0.0.41",
|
|
"@types/copy": "^0.3.2",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/faker": "^5.5.9",
|
|
"@types/i18n": "^0.13.2",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/jsonwebtoken": "^8.5.8",
|
|
"@types/lodash": "^4.14.179",
|
|
"@types/migrate-mongo": "^8.1.3",
|
|
"@types/mongodb": "^3.6.20",
|
|
"@types/node": "^17.0.21",
|
|
"@types/nodemailer": "^6.4.4",
|
|
"@types/pino": "^6.3.12",
|
|
"@types/pino-pretty": "^4.7.5",
|
|
"@types/uuid": "^8.3.4",
|
|
"@types/ws": "^7.4.7",
|
|
"copy": "^0.3.2",
|
|
"core-js": "^3.21.1",
|
|
"faker": "^5.5.3",
|
|
"jest": "^27.5.1",
|
|
"nodemon": "^2.0.15",
|
|
"npm-run-all": "^4.1.5",
|
|
"shx": "^0.3.4",
|
|
"supports-color": "^9.2.1",
|
|
"ts-node": "^10.7.0",
|
|
"tsconfig-paths": "^3.13.0",
|
|
"tsconfig-paths-jest": "^0.0.1",
|
|
"ttypescript": "^1.5.13",
|
|
"typescript": "^4.6.2",
|
|
"typescript-transform-paths": "^3.3.1"
|
|
}
|
|
}
|