This repository has been archived by the owner on Dec 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
76 lines (76 loc) · 1.69 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
{
"name": "@tuyapi/openapi",
"version": "1.3.0",
"description": "🚪 a wrapper for Tuya's OpenAPI",
"main": "dist/api.js",
"types": "dist/api.d.ts",
"files": [
"dist/"
],
"dependencies": {
"got": "^10.2.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "2.16.0",
"@typescript-eslint/parser": "2.16.0",
"babel-cli": "6.26.0",
"babel-preset-env": "1.7.0",
"eslint-config-xo-typescript": "0.24.1",
"husky": "4.0.10",
"typedoc": "^0.20.19",
"typedoc-plugin-markdown": "^3.4.5",
"typescript": "4.1.3",
"xo": "0.25.3"
},
"scripts": {
"lint": "xo",
"lint-fix": "xo --fix",
"test": "npm run lint",
"babel": "babel dist -d dist",
"build": "tsc && npm run babel && npm run document",
"watch": "tsc --watch",
"prepack": "npm run build",
"travis": "npm test && npm run build",
"document": "typedoc --out docs src"
},
"author": "Max Isom <[email protected]> (https://maxisom.me/)",
"homepage": "https://github.com/TuyaAPI/openapi#readme",
"bugs": {
"url": "https://github.com/TuyaAPI/openapi/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TuyaAPI/openapi.git"
},
"license": "MIT",
"xo": {
"ignores": [
"docs"
],
"space": true,
"extends": "xo-typescript",
"rules": {
"@typescript-eslint/indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"@typescript-eslint/camelcase": [
0
]
},
"extensions": [
"ts"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run build && git add docs"
}
},
"publishConfig": {
"access": "public"
}
}