mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.2 KiB
72 lines
2.2 KiB
{ |
|
"name": "nocodb-sdk", |
|
"version": "0.202.8", |
|
"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": "AGPL-3.0-or-later", |
|
"keywords": [], |
|
"scripts": { |
|
"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}\"", |
|
"watch:build": "tsc -p tsconfig.json -w", |
|
"generate:sdk": "pnpm dlx swagger-typescript-api@10.0.3 -r -p ../nocodb/src/schema/swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates", |
|
"preinstall": "npx only-allow pnpm" |
|
}, |
|
"dependencies": { |
|
"axios": "^1.6.2", |
|
"jsep": "^1.3.8" |
|
}, |
|
"devDependencies": { |
|
"@typescript-eslint/eslint-plugin": "^6.1.0", |
|
"@typescript-eslint/parser": "^6.1.0", |
|
"cspell": "^4.2.8", |
|
"eslint": "^8.33.0", |
|
"eslint-config-prettier": "^8.8.0", |
|
"eslint-plugin-eslint-comments": "^3.2.0", |
|
"eslint-plugin-functional": "^5.0.8", |
|
"eslint-plugin-import": "^2.27.5", |
|
"eslint-plugin-prettier": "^4.2.1", |
|
"npm-run-all": "^4.1.5", |
|
"prettier": "^2.8.8", |
|
"rimraf": "^5.0.5", |
|
"tsc-alias": "^1.8.8", |
|
"typescript": "^5.3.2" |
|
}, |
|
"files": [ |
|
"build/main", |
|
"build/module", |
|
"!**/*.spec.*", |
|
"!**/*.json", |
|
"CHANGELOG.md", |
|
"LICENSE", |
|
"README.md" |
|
], |
|
"prettier": { |
|
"singleQuote": true |
|
} |
|
}
|
|
|