2022-12-01 17:58:08 +03:00
|
|
|
{
|
2023-12-10 20:10:54 +03:00
|
|
|
"name": "twenty-server",
|
2024-02-16 22:11:38 +03:00
|
|
|
"version": "0.3.1",
|
2022-12-01 17:58:08 +03:00
|
|
|
"description": "",
|
|
|
|
"author": "",
|
|
|
|
"private": true,
|
2024-01-05 16:59:58 +03:00
|
|
|
"license": "AGPL-3.0",
|
2022-12-01 17:58:08 +03:00
|
|
|
"scripts": {
|
2024-01-04 18:39:57 +03:00
|
|
|
"nx": "NX_DEFAULT_PROJECT=twenty-server node ../../node_modules/nx/bin/nx.js",
|
2022-12-01 17:58:08 +03:00
|
|
|
"prebuild": "rimraf dist",
|
2024-02-20 16:35:09 +03:00
|
|
|
"build": "npx nx prebuild && nest build --path ./tsconfig.build.json",
|
2022-12-01 17:58:08 +03:00
|
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
2024-01-29 12:17:12 +03:00
|
|
|
"start": "NODE_ENV=development && nest start",
|
|
|
|
"start:dev": "npx nx start --watch",
|
|
|
|
"start:debug": "npx nx start:dev --debug",
|
2023-10-24 15:41:52 +03:00
|
|
|
"start:prod": "node dist/src/main",
|
2023-05-29 23:42:24 +03:00
|
|
|
"lint": "eslint \"src/**/*.ts\" --fix",
|
2024-01-29 12:17:12 +03:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "npx nx test --watch",
|
|
|
|
"test:cov": "npx nx test --coverage",
|
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register ../../node_modules/.bin/jest --runInBand",
|
|
|
|
"test:e2e": "./scripts/run-integration.sh",
|
2024-02-20 16:35:09 +03:00
|
|
|
"typeorm": "npx ts-node ../../node_modules/typeorm/cli.js",
|
|
|
|
"database:init": "npx nx database:setup && npx nx database:seed:dev",
|
|
|
|
"database:setup": "npx ts-node ./scripts/setup-db.ts && npx nx database:migrate",
|
2023-10-27 18:48:06 +03:00
|
|
|
"database:truncate": "npx ts-node ./scripts/truncate-db.ts",
|
2024-02-20 16:35:09 +03:00
|
|
|
"database:migrate": "npx nx typeorm -- migration:run -d src/database/typeorm/metadata/metadata.datasource && npx nx typeorm -- migration:run -d src/database/typeorm/core/core.datasource",
|
|
|
|
"database:seed:dev": "npx nx command -- workspace:seed:dev",
|
|
|
|
"database:seed:demo": "npx nx command -- workspace:seed:demo",
|
|
|
|
"database:reset": "npx nx database:truncate && npx nx database:init",
|
2023-12-14 20:57:25 +03:00
|
|
|
"queue:work": "node dist/src/queue-worker"
|
2022-12-01 17:58:08 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-12-11 12:54:57 +03:00
|
|
|
"@graphql-yoga/nestjs": "patch:@graphql-yoga/nestjs@2.1.0#./patches/@graphql-yoga+nestjs+2.1.0.patch",
|
|
|
|
"@nestjs/graphql": "patch:@nestjs/graphql@12.0.8#./patches/@nestjs+graphql+12.0.8.patch",
|
|
|
|
"@ptc-org/nestjs-query-graphql": "patch:@ptc-org/nestjs-query-graphql@4.2.0#./patches/@ptc-org+nestjs-query-graphql+4.2.0.patch",
|
2024-02-14 00:16:21 +03:00
|
|
|
"class-validator": "patch:class-validator@0.14.0#./patches/class-validator+0.14.0.patch",
|
2024-02-07 20:11:32 +03:00
|
|
|
"graphql-middleware": "^6.1.35",
|
2024-02-14 00:16:21 +03:00
|
|
|
"passport": "^0.7.0"
|
2024-01-23 11:59:00 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-02-14 00:16:21 +03:00
|
|
|
"@nestjs/cli": "10.3.0",
|
|
|
|
"@nx/js": "17.2.8",
|
2024-01-23 11:59:00 +03:00
|
|
|
"@types/lodash.isempty": "^4.4.7",
|
2024-02-15 20:04:12 +03:00
|
|
|
"@types/lodash.isequal": "^4.5.8",
|
2024-01-23 11:59:00 +03:00
|
|
|
"@types/lodash.isobject": "^3.0.7",
|
2024-01-30 16:40:55 +03:00
|
|
|
"@types/lodash.omit": "^4.5.9",
|
2024-01-23 11:59:00 +03:00
|
|
|
"@types/lodash.snakecase": "^4.1.7",
|
|
|
|
"@types/lodash.upperfirst": "^4.3.7",
|
|
|
|
"@types/react": "^18.2.39",
|
2024-02-14 18:56:37 +03:00
|
|
|
"rimraf": "^5.0.5",
|
2024-02-14 00:16:21 +03:00
|
|
|
"typescript": "^5.3.3"
|
2023-12-11 12:54:57 +03:00
|
|
|
},
|
|
|
|
"engines": {
|
2024-01-05 16:59:58 +03:00
|
|
|
"node": "^18.17.1",
|
2023-12-11 12:54:57 +03:00
|
|
|
"npm": "please-use-yarn",
|
|
|
|
"yarn": "^4.0.2"
|
2022-12-01 17:58:08 +03:00
|
|
|
}
|
2024-02-05 17:01:37 +03:00
|
|
|
}
|