@ -1,7 +1,7 @@
{
"name" : "nocodb-nest " ,
"version" : "0.0.1" ,
"description" : "NocoDB Backend (Nest) " ,
"name" : "nocodb" ,
"version" : "0.1 06 .1" ,
"description" : "NocoDB Backend" ,
"main" : "dist/bundle.js" ,
"author" : {
"name" : "NocoDB Inc" ,
@ -15,45 +15,45 @@
"bugs" : {
"url" : "https://github.com/nocodb/nocodb/issues"
} ,
"private" : true ,
"license" : "AGPL-3.0-or-later" ,
"keywords" : [ ] ,
"scripts" : {
"build" : "nest build " ,
"build" : "run-s clean && run-p build:* " ,
"build:obfuscate" : "EE=true webpack --config webpack.config.js" ,
"format" : "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"" ,
"start" : "nest start" ,
"start:dev" : "nest start --watch" ,
"start:debug" : "nest start --debug --watch" ,
"start:prod" : "node dist/main" ,
"lint" : "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" ,
"test" : "jest" ,
"test:watch" : "jest --watch" ,
"test:cov" : "jest --coverage" ,
"test:debug" : "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand" ,
"test:e2e" : "jest --config ./test/jest-e2e.json" ,
"build:main" : "tsc -p tsconfig.json" ,
"build:module" : "tsc -p tsconfig.module.json" ,
"obfuscate:build:publish" : "npm run build:obfuscate && npm publish ." ,
"fix" : "run-s fix:*" ,
"fix:prettier" : "prettier \"src/**/*.ts\" --write" ,
"lint" : "eslint src --ext .ts --fix" ,
"test" : "cross-env TS_NODE_PROJECT=tsconfig.json mocha -r ts-node/register src/__tests__/**/*.test.ts --recursive" ,
"unit-test" : "cross-env TS_NODE_PROJECT=tsconfig.json mocha --require ts-node/register 'src/__tests__/unit/**/*.test.ts' --recursive --check-leaks --exit" ,
"local:test:unit" : "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay" ,
"test:unit" : "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay" ,
"test:unit:pg" : "cp tests/unit/.pg.env tests/unit/.env; cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay" ,
"test:lint" : "tslint --project . && prettier \"src/**/*.ts\" --list-different" ,
"watch" : "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"" ,
"clean" : "trash build src/test" ,
"docker:build" : "EE=\"true-xc-test\" webpack --config docker/webpack.config.js" ,
"watch:build" : "nodemon -e ts,js -w ./src -x npm run build" ,
"watch:run" : "cross-env NC_DISABLE_TELE1=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/docker --log-error --project tsconfig.json\"" ,
"watch:run:playwright" : "rm -f ./test_noco.db; cross-env DATABASE_URL=sqlite:./test_noco.db PLAYWRIGHT_TEST=true NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/testDocker --log-error --project tsconfig.json\"" ,
"watch:run:playwright:quick" : "rm -f ./test_noco.db; cp ../../tests/playwright/fixtures/noco_0_91_7.db ./test_noco.db; cross-env DATABASE_URL=sqlite:./test_noco.db NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/docker --log-error --project tsconfig.json\"" ,
"watch:run:playwright:pg:cyquick" : "rm -f ./test_noco.db; cp ../../tests/playwright/fixtures/noco_0_91_7.db ./test_noco.db; cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunPG_CyQuick.ts --log-error --project tsconfig.json\"" ,
"test:unit" : "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay" ,
"test:unit:pg" : "cp tests/unit/.pg.env tests/unit/.env; cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay" ,
"docker:build" : "EE=\"true-xc-test\" webpack --config docker/webpack.config.js"
"watch:run:mysql" : "cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunMysql --log-error --project tsconfig.json\"" ,
"watch:run:pg" : "cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunPG --log-error --project tsconfig.json\"" ,
"run" : "ts-node src/run/docker" ,
"watch:try" : "nodemon -e ts,js -w ./src -x \"ts-node src/run/try --log-error --project tsconfig.json\"" ,
"example:docker" : "ts-node src/run/docker.ts" ,
"redoc" : "nodemon -e ts,json -w ./src/schema -x \"ts-node src/run/redoc --log-error --project tsconfig.json\""
} ,
"engines" : {
"node" : ">=8.9"
} ,
"dependencies" : {
"@google-cloud/storage" : "^5.7.2" ,
"@graphql-tools/merge" : "^6.0.12" ,
"@nestjs/bull" : "^0.6.3" ,
"@nestjs/common" : "^9.4.0" ,
"@nestjs/core" : "^9.4.0" ,
"@nestjs/event-emitter" : "^1.4.1" ,
"@nestjs/jwt" : "^10.0.3" ,
"@nestjs/mapped-types" : "*" ,
"@nestjs/passport" : "^9.0.3" ,
"@nestjs/platform-express" : "^9.4.0" ,
"@nestjs/platform-socket.io" : "^9.4.0" ,
"@nestjs/serve-static" : "^3.0.1" ,
"@nestjs/websockets" : "^9.4.0" ,
"@sentry/node" : "^6.3.5" ,
"@types/chai" : "^4.2.12" ,
"airtable" : "^0.11.3" ,
"ajv" : "^8.12.0" ,
"ajv-formats" : "^2.1.1" ,
@ -64,11 +64,10 @@
"bcryptjs" : "^2.4.3" ,
"body-parser" : "^1.19.0" ,
"boxen" : "^5.0.0" ,
"bull" : "^4.10.4" ,
"bullmq" : "^1.81.1" ,
"clear" : "^0.1.0" ,
"colors" : "^ 1.4.0" ,
"compare-versions" : "^6.0.0-rc .1" ,
"colors" : "1.4.0" ,
"compare-versions" : "^5.0 .1" ,
"cookie-parser" : "^1.4.5" ,
"cors" : "^2.8.5" ,
"cron" : "^1.8.2" ,
@ -106,18 +105,17 @@
"mkdirp" : "^2.1.3" ,
"morgan" : "^1.10.0" ,
"mssql" : "^6.2.0" ,
"multer" : "^1.4.4 " ,
"mysql2" : "^3.2.0 " ,
"multer" : "^1.4.2 " ,
"mysql2" : "^2.2.5 " ,
"nanoid" : "^3.1.20" ,
"nc-help" : "^ 0.2.87" ,
"nc-lib-gui" : "0.106.0 " ,
"nc-help" : "0.2.87" ,
"nc-lib-gui" : "0.106.1 " ,
"nc-plugin" : "file:../nc-plugin" ,
"ncp" : "^2.0.0" ,
"nocodb-sdk" : "file:../nocodb-sdk" ,
"nodemailer" : "^6.4.10" ,
"object-hash" : "^3.0.0" ,
"os-locale" : "^6.0.2" ,
"p-queue" : "^6.6.2" ,
"os-locale" : "^5.0.0" ,
"papaparse" : "^5.3.1" ,
"parse-database-url" : "^0.3.0" ,
"passport" : "^0.4.1" ,
@ -125,79 +123,69 @@
"passport-custom" : "^1.1.1" ,
"passport-github" : "^1.1.0" ,
"passport-google-oauth20" : "^2.0.0" ,
"passport-jwt" : "^4.0.1 " ,
"passport-jwt" : "^4.0.0 " ,
"passport-local" : "^1.0.0" ,
"pg" : "^8.10.0" ,
"reflect-metadata" : "^0.1.13" ,
"pg" : "^8.3.0" ,
"request" : "^2.88.2" ,
"request-ip" : "^2.1.3" ,
"rmdir" : "^1.2.0" ,
"rxjs" : "^7.2.0" ,
"slash" : "^3.0.0" ,
"socket.io" : "^4.4.1" ,
"sqlite3" : "^5.1.6 " ,
"sqlite3" : "5.1.2 " ,
"tedious" : "^15.0.0" ,
"tinycolor2" : "^1.4.2" ,
"twilio" : "^3.55.1" ,
"unique-names-generator" : "^4.3.1" ,
"uuid" : "^9.0 .0" ,
"uuid" : "^8.2 .0" ,
"validator" : "^13.1.1" ,
"xc-core-ts" : "^0.1.0" ,
"xlsx" : "^0.18.5"
} ,
"devDependencies" : {
"@nestjs/cli" : "^9.0.0" ,
"@nestjs/schematics" : "^9.0.0" ,
"@nestjs/testing" : "^9.0.0" ,
"@nestjsplus/dyn-schematics" : "^1.0.12" ,
"@types/bull" : "^4.10.0" ,
"@types/express" : "^4.17.13" ,
"@types/jest" : "^29.5.0" ,
"@types/mocha" : "^10.0.1" ,
"@types/multer" : "^1.4.7" ,
"@types/node" : "18.15.11" ,
"@types/passport-google-oauth20" : "^2.0.11" ,
"@types/passport-jwt" : "^3.0.8" ,
"@types/supertest" : "^2.0.11" ,
"@typescript-eslint/eslint-plugin" : "^5.0.0" ,
"@typescript-eslint/parser" : "^5.0.0" ,
"@types/chai" : "^4.2.12" ,
"@types/express" : "^4.17.7" ,
"@types/inflection" : "^1.5.28" ,
"@types/lru-cache" : "^5.1.0" ,
"@types/minio" : "^7.0.7" ,
"@types/mkdirp" : "^1.0.2" ,
"@types/mocha" : "^8.0.1" ,
"@types/node" : "^18.0.0" ,
"@types/nodemailer" : "^6.4.0" ,
"@types/supertest" : "^2.0.10" ,
"@types/tinycolor2" : "^1.4.3" ,
"@typescript-eslint/eslint-plugin" : "^4.0.1" ,
"@typescript-eslint/parser" : "^4.0.1" ,
"chai" : "^4.2.0" ,
"copy-webpack-plugin" : "^11.0 .0" ,
"copy-webpack-plugin" : "^6.4.0" ,
"cross-env" : "^7.0.3" ,
"cz-conventional-changelog" : "^2.1.0" ,
"eslint" : "^7.8.0" ,
"eslint-config-prettier" : "^6.15.0" ,
"eslint-plugin-eslint-comments" : "^3.2.0" ,
"eslint-plugin-functional" : "^3.0.2" ,
"eslint-plugin-import" : "^2.25.2" ,
"eslint-plugin-prettier" : "^4.0.0" ,
"jest" : "29.5.0" ,
"mocha" : "^10.1.0" ,
"nodemon" : "^2.0.22" ,
"nodemon" : "^2.0.7" ,
"npm-run-all" : "^4.1.5" ,
"prettier" : "^2.7.1" ,
"source-map-support" : "^0.5.20" ,
"supertest" : "^6.1.3" ,
"ts-jest" : "29.0.5" ,
"ts-loader" : "^9.2.3" ,
"ts-node" : "^10.0.0" ,
"tsconfig-paths" : "4.2.0" ,
"typescript" : "^4.7.4" ,
"webpack-cli" : "^5.0.1"
"supertest" : "^4.0.2" ,
"terser-webpack-plugin" : "^4.1.0" ,
"trash-cli" : "^3.0.0" ,
"ts-loader" : "^8.0.5" ,
"ts-node" : "^8.10.2" ,
"typescript" : "^4.0.3" ,
"webpack" : "^4.44.1" ,
"webpack-cli" : "^3.3.12" ,
"webpack-node-externals" : "^2.5.2" ,
"webpack-obfuscator" : "^1.12.0"
} ,
"config" : {
"commitizen" : {
"path" : "cz-conventional-changelog"
}
} ,
"jest" : {
"moduleFileExtensions" : [
"js" ,
"json" ,
"ts"
] ,
"rootDir" : "src" ,
"testRegex" : ".*\\.spec\\.ts$" ,
"transform" : {
"^.+\\.(t|j)s$" : "ts-jest"
} ,
"collectCoverageFrom" : [
"**/*.(t|j)s"
] ,
"coverageDirectory" : "../coverage" ,
"testEnvironment" : "node"
"prettier" : {
"singleQuote" : true
}
}