UNPKG

@tuya/tuya-connector-nodejs

Version:

tuya openapi nodejs sdk

92 lines (91 loc) 2.19 kB
{ "name": "@tuya/tuya-connector-nodejs", "version": "2.1.2", "description": "tuya openapi nodejs sdk", "main": "lib/index.js", "license": "MIT", "types": "lib/index.d.ts", "keywords": [ "sdk", "tuya", "axios", "promise", "openapi", "connector" ], "scripts": { "prepare": "husky install", "build": "rm -rf ./lib && tsc", "build:dev": "tsc -w", "test": "jest", "test:cov": "jest --coverage", "lint": "eslint --ext ts ./src", "prepublishOnly": "yarn lint && yarn test && yarn build", "release:first": "standard-version --first-release", "release:patch": "standard-version -r patch", "release:minor": "standard-version -r minor", "release:major": "standard-version -r major" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "repository": { "type": "git", "url": "https://github.com/tuya/tuya-connector-nodejs.git" }, "devDependencies": { "@types/qs": "^6.9.7", "@commitlint/cli": "^12.0.1", "@types/jest": "^26.0.20", "@types/node": "^14.14.31", "@typescript-eslint/eslint-plugin": "^4.16.1", "@typescript-eslint/parser": "^4.16.1", "axios-mock-adapter": "^1.19.0", "eslint": "^7.21.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", "husky": "^5.1.3", "jest": "^26.6.3", "lint-staged": "^10.5.4", "standard-version": "^9.1.1", "ts-jest": "^26.5.2", "ts-node": "^9.1.1", "typescript": "^4.2.2" }, "files": [ "lib" ], "jest": { "moduleFileExtensions": [ "ts", "js" ], "collectCoverage": false, "rootDir": ".", "transform": { "^.+\\.(t|j)sx?$": "ts-jest" }, "testRegex": ".test.ts$", "coverageDirectory": "./coverage", "testEnvironment": "node", "globals": { "ts-jest": {} } }, "dependencies": { "axios": "^0.21.1", "qs": "^6.10.1" }, "husky": { "hooks": { "pre-commit": "eslint src/*.ts --fix", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "**/!(lib)/*": [ "echo need to check AK/SK" ] } }