-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"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": {
"@commitlint/cli": "^12.0.1",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@types/qs": "^6.9.7",
"@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.4",
"cors": "^2.8.5",
"express": "^4.18.2",
"mysql": "^2.18.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"
]
}
}