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.
66 lines
2.0 KiB
66 lines
2.0 KiB
{ |
|
"name": "nocodb-sdk", |
|
"version": "0.100.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" |
|
}, |
|
"license": "AGPL-3.0-or-later", |
|
"keywords": [], |
|
"scripts": { |
|
"build": "npm run generate:sdk && run-p build:*", |
|
"build:main": "tsc -p tsconfig.json", |
|
"build:module": "tsc -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 ../../scripts/sdk/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", |
|
"typescript": "^4.0.2" |
|
}, |
|
"files": [ |
|
"build/main", |
|
"build/module", |
|
"!**/*.spec.*", |
|
"!**/*.json", |
|
"CHANGELOG.md", |
|
"LICENSE", |
|
"README.md" |
|
], |
|
"prettier": { |
|
"singleQuote": true |
|
} |
|
} |