-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.35 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
{
"name": "@stgen/stgen",
"version": "0.1.1-alpha.15",
"description": "Generates Typscript bindings to your SmartThings devices for easy programming",
"main": "build/lib/index.js",
"types": "build/lib/index.d.ts",
"scripts": {
"test": "mocha",
"tsc": "tsc",
"build": "npm run lint && tsc -p tsconfig.build.json",
"buildtest": "tsc",
"watch": "tsc -w",
"clean": "rm -rf build && rm -rf gen",
"pretest": "npm run generate",
"generate": "node ./build/codegen/index.js -i accessToken -o gen && npm run buildtest",
"prepublishOnly": "npm run clean && npm run build",
"preversion": "git tag -d $(git tag) && git fetch --tags",
"lint": "eslint .",
"postversion": "git commit --amend -m \"$(git log --format=%B -n1)\" -m \"[ci skip]\" && git push && git push --tags"
},
"bin": {
"@stgen/stgen": "./build/codegen/index.js"
},
"mocha": {
"spec": "./build/test/**/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/stgen/stgen"
},
"author": "David Poll (david@depoll.com)",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"devDependencies": {
"@smartthings/core-sdk": "^1.3.0",
"@smartthings/smartapp": "^2.4.3",
"@types/json-stable-stringify": "^1.0.32",
"@types/mocha": "^8.0.4",
"@types/module-alias": "^2.0.0",
"@types/prettier": "^2.1.5",
"@types/rimraf": "^3.0.0",
"@types/uuid": "^8.3.0",
"@types/yargs": "^15.0.10",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.1.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"mocha": "^8.2.1",
"module-alias": "^2.2.2",
"rimraf": "^3.0.2",
"typescript": "^4.0.5"
},
"peerDependencies": {
"@smartthings/core-sdk": "^1.2.0",
"@smartthings/smartapp": "^2.4.2"
},
"dependencies": {
"json-stable-stringify": "^1.0.1",
"prettier": "^2.1.2",
"transliteration": "^2.2.0",
"uuid": "^8.3.1",
"yargs": "^16.1.1"
}
}