-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
145 lines (145 loc) · 4.91 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "balena-sdk",
"version": "20.7.0",
"description": "The Balena JavaScript SDK",
"type": "commonjs",
"main": "index.js",
"types": "index.d.ts",
"browser": {
"index.js": "./es2017/index.js",
"es2017/util/settings-client.js": "./es2017/util/settings-client.browser.js",
"es2018/util/settings-client.js": "./es2018/util/settings-client.browser.js",
"handlebars": "handlebars/dist/cjs/handlebars.js"
},
"homepage": "https://github.com/balena-io/balena-sdk",
"repository": {
"type": "git",
"url": "git://github.com/balena-io/balena-sdk.git"
},
"files": [
"es2017/",
"es2018/",
"typings/",
"index.js",
"index.d.ts"
],
"keywords": [
"sdk",
"resin",
"resin.io",
"balena",
"balena.io",
"iot",
"devices"
],
"directories": {
"test": "tests"
},
"scripts": {
"clean": "rimraf es2017 es2018",
"test:fast": "npm run lint-fix; npm run build-es2017:fast && npm run test:node",
"test": "([ \"$GITHUB_WORKFLOW\" = 'Flowzone' ] && [ \"$GITHUB_JOB\" = 'npm_test' ] && echo \"Skipping 'npm test' in flowzone in favor of the custom test action!\") || (npm run build && npm run test:all)",
"test:all": "npm run test:dev && npm run test:ts-js && npm run test:typings && npm run test:mjs-imports && npm run test:node && npm run test:browser",
"test:node": "gulp test",
"test:browser": "mockttp -c karma start",
"test:dev": "tsc --noEmit --project ./tsconfig.dev.json",
"test:ts-js": "tsc --noEmit --project ./tsconfig.js.json",
"test:typings": "tsc --project ./typing_tests/tsconfig.json",
"test:mjs-imports": "node mjs_tests/index.mjs",
"build-es2017:fast": "rimraf es2017 && tsc --target es2017 --outDir es2017 && gulp inject-version --buildDir es2017",
"build-es2017": "npm run build-es2017:fast && gulp pack-browser --buildDir es2017",
"build-es2018": "rimraf es2018 && tsc --target es2018 --outDir es2018 && gulp inject-version --buildDir es2018 && gulp pack-browser --buildDir es2018",
"build": "npm run clean && npm run build-es2017 && npm run lint && npm run build-es2018 && npm run docs",
"docs": "jsdoc2md --template doc/DOCUMENTATION.hbs --files \"es2017/**/!(balena-browser*.js)\" > DOCUMENTATION.md",
"ci": "npm test && catch-uncommitted",
"lint": "balena-lint -e js -e ts typing_tests typings src tests mjs_tests gulpfile.js",
"lint-fix": "balena-lint -e js -e ts --fix typing_tests typings src tests mjs_tests gulpfile.js",
"prepack": "npm run build",
"watch": "npm run build && watch \"npm run lint\" \"src\" \"tests\"",
"prepare": "husky"
},
"author": "Balena Ltd. <[email protected]>",
"license": "Apache-2.0",
"engines": {
"node": ">=18.0"
},
"devDependencies": {
"@balena/env-parsing": "^1.2.0",
"@balena/lint": "^9.0.1",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.4",
"@types/lodash": "^4.14.195",
"@types/memoizee": "^0.4.7",
"@types/mime": "^3.0.3",
"@types/mocha": "^10.0.1",
"@types/ndjson": "^2.0.0",
"@types/sinon": "^17.0.3",
"balena-config-karma": "^4.0.0",
"browserify": "^17.0.0",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"catch-uncommitted": "^2.0.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-samsam": "0.0.2",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"domain-browser": "^4.22.0",
"dotenv": "^16.0.0",
"gulp": "^4.0.2",
"gulp-mocha": "^9.0.0",
"gulp-replace": "^1.0.0",
"gulp-uglify": "^3.0.2",
"husky": "^9.0.0",
"js-polyfills": "^0.1.43",
"jsdoc-to-markdown": "^9.0.0",
"karma": "^6.3.17",
"lint-staged": "^15.0.0",
"mjs-mocha": "^3.0.0",
"mocha": "^10.0.0",
"mocha.parallel": "^0.15.6",
"mockttp": "^3.0.0",
"os-browserify": "^0.3.0",
"otplib": "^12.0.1",
"process": "^0.11.10",
"rimraf": "^5.0.1",
"rindle": "^1.3.6",
"sinon": "^19.0.0",
"stream-browserify": "^3.0.0",
"temp": "^0.9.4",
"tmp": "^0.2.1",
"ts-node": "^10.9.1",
"ts-toolbelt": "^9.6.0",
"typescript": "^5.7.2",
"uglify-js": "^3.14.1",
"util": "^0.12.4",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"watch": "^1.0.2"
},
"dependencies": {
"@balena/es-version": "^1.0.0",
"@types/json-schema": "^7.0.9",
"@types/node": "^18.19.50",
"abortcontroller-polyfill": "^1.7.1",
"balena-auth": "^6.0.1",
"balena-errors": "^4.9.0",
"balena-hup-action-utils": "~6.1.0",
"balena-register-device": "^9.0.2",
"balena-request": "^13.3.2",
"balena-semver": "^2.3.0",
"balena-settings-client": "^5.0.0",
"date-fns": "^3.0.5",
"handlebars": "^4.7.7",
"lodash": "^4.17.21",
"memoizee": "^0.4.15",
"mime": "^3.0.0",
"ndjson": "^2.0.0",
"p-throttle": "^4.1.1",
"pinejs-client-core": "^6.15.0",
"tslib": "^2.1.0"
},
"versionist": {
"publishedAt": "2024-11-29T09:12:41.068Z"
}
}