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.
68 lines
2.1 KiB
68 lines
2.1 KiB
{ |
|
"name": "nocodb-sdk", |
|
"version": "0.111.1", |
|
"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" |
|
}, |
|
"license": "AGPL-3.0-or-later", |
|
"keywords": [], |
|
"scripts": { |
|
"build": "npm run 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": "npx --yes 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" |
|
}, |
|
"dependencies": { |
|
"axios": "^0.21.1", |
|
"jsep": "^1.3.6" |
|
}, |
|
"devDependencies": { |
|
"@typescript-eslint/eslint-plugin": "^4.0.1", |
|
"@typescript-eslint/parser": "^4.0.1", |
|
"cspell": "^4.1.0", |
|
"eslint": "^7.8.0", |
|
"eslint-config-prettier": "^6.11.0", |
|
"eslint-plugin-eslint-comments": "^3.2.0", |
|
"eslint-plugin-functional": "^3.0.2", |
|
"eslint-plugin-import": "^2.22.0", |
|
"eslint-plugin-prettier": "^4.0.0", |
|
"npm-run-all": "^4.1.5", |
|
"prettier": "^2.1.1", |
|
"rimraf": "^5.0.1", |
|
"tsc-alias": "^1.8.7", |
|
"typescript": "^4.7.4" |
|
}, |
|
"files": [ |
|
"build/main", |
|
"build/module", |
|
"!**/*.spec.*", |
|
"!**/*.json", |
|
"CHANGELOG.md", |
|
"LICENSE", |
|
"README.md" |
|
], |
|
"prettier": { |
|
"singleQuote": true |
|
} |
|
} |