mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 22:08:33 +00:00
91 lines
2.8 KiB
JSON
91 lines
2.8 KiB
JSON
{
|
|
"name": "nocodb-sdk",
|
|
"version": "0.301.0",
|
|
"description": "NocoDB SDK",
|
|
"main": "build/main/index.js",
|
|
"typings": "build/main/index.d.ts",
|
|
"module": "build/module/index.js",
|
|
"author": {
|
|
"name": "NocoDB Inc",
|
|
"url": "https://nocodb.com/"
|
|
},
|
|
"homepage": "https://github.com/nocodb/nocodb",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nocodb/nocodb.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nocodb/nocodb/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"license": "Sustainable Use License",
|
|
"keywords": [],
|
|
"scripts": {
|
|
"build": "rimraf ./build && pnpm generate:sdk && run-p build:*",
|
|
"build:main": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
|
|
"build:module": "tsc -p tsconfig.module.json && tsc-alias -p tsconfig.module.json",
|
|
"fix": "run-s fix:*",
|
|
"fix:prettier": "prettier \"src/**/*.ts\" --write",
|
|
"fix:lint": "eslint src --ext .ts --fix",
|
|
"test": "run-s build test:*",
|
|
"test:lint": "eslint src --ext .ts",
|
|
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
|
|
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
|
"test:unit": "ENV_FILE=./config/.env.test jest",
|
|
"watch:build": "tsc -p tsconfig.json -w",
|
|
"generate:sdk": "node build-script/mergeAndGenerateSwaggerCE && pnpm dlx swagger-typescript-api@10.0.3 -r -p ./nc_swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates; rm ./nc_swagger.json",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"dependencies": {
|
|
"@vue-flow/core": "^1.47.0",
|
|
"acorn-loose": "^8.4.0",
|
|
"acorn-walk": "^8.3.4",
|
|
"axios": "^1.9.0",
|
|
"chevrotain": "^10.5.0",
|
|
"dayjs": "^1.11.19",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"nc-jsep": "^1.7.5",
|
|
"nc-jsep-plugin-arrow": "^1.7.5",
|
|
"nc-jsep-plugin-object": "^1.7.5",
|
|
"nc-jsep-plugin-template": "^1.7.5",
|
|
"nc-jsep-plugin-ternary": "^1.7.5",
|
|
"rfdc": "^1.4.1",
|
|
"validator": "^13.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^22.15.21",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"cspell": "^4.2.8",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-functional": "^5.0.8",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"express": "^4.21.2",
|
|
"jest": "^29.7.0",
|
|
"npm-run-all2": "^8.0.4",
|
|
"prettier": "^2.8.8",
|
|
"rimraf": "^5.0.10",
|
|
"ts-jest": "^29.2.5",
|
|
"tsc-alias": "^1.8.10",
|
|
"typescript": "^5.7.3"
|
|
},
|
|
"files": [
|
|
"build/main",
|
|
"build/module",
|
|
"!**/*.spec.*",
|
|
"!**/*.json",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"prettier": {
|
|
"singleQuote": true
|
|
}
|
|
}
|