2013-06-01 18:34:38 +00:00
{
2022-08-24 21:33:20 +00:00
"name" : "balena-supervisor" ,
"description" : "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to." ,
2022-11-01 21:47:55 +00:00
"version" : "14.2.17" ,
2022-08-24 21:33:20 +00:00
"license" : "Apache-2.0" ,
"repository" : {
"type" : "git" ,
"url" : "https://github.com/balena-os/balena-supervisor.git"
} ,
"scripts" : {
"start" : "./entry.sh" ,
"build" : "npm run clean && npm run release && webpack" ,
2022-09-19 15:33:52 +00:00
"lint" : "balena-lint -e ts -e js src/ test/ typings/ build-utils/ webpack.config.js" ,
2022-08-24 21:33:20 +00:00
"test:build" : "tsc --noEmit && tsc --noEmit --project tsconfig.js.json" ,
"test:unit" : "mocha --config test/unit/.mocharc.js" ,
2022-09-09 17:20:41 +00:00
"test:integration" : "find test/integration -name *.spec.ts | xargs -n 1 -I {} sh -c 'mocha --config test/integration/.mocharc.js {} || exit 255'" ,
"test:integration:single" : "find test/integration -name *.spec.ts | xargs mocha --config test/integration/.mocharc.js" ,
2022-08-24 21:33:20 +00:00
"test:legacy" : "mocha --config test/legacy/.mocharc.js" ,
"test:node" : "npm run test:unit && npm run test:integration && npm run test:legacy" ,
2022-10-17 14:32:41 +00:00
"test:env" : "ARCH=$(./build-utils/detect-arch.sh) docker-compose -f docker-compose.test.yml -f docker-compose.dev.yml up --build; npm run compose:down" ,
"test:compose" : "ARCH=$(./build-utils/detect-arch.sh) docker-compose -f docker-compose.yml -f docker-compose.test.yml up --build --remove-orphans --exit-code-from=sut ; npm run compose:down" ,
2022-09-12 22:10:17 +00:00
"test" : "npm run lint && npm run test:build && npm run test:unit && npm run test:legacy" ,
2022-08-24 21:33:20 +00:00
"compose:down" : "docker-compose -f docker-compose.test.yml down" ,
2022-09-19 15:33:52 +00:00
"prettify" : "balena-lint -e ts -e js --fix src/ test/ typings/ build-utils/ webpack.config.js" ,
2022-08-24 21:33:20 +00:00
"release" : "tsc --project tsconfig.release.json && mv build/src/* build" ,
"sync" : "ts-node --files sync/sync.ts" ,
2022-09-12 20:33:45 +00:00
"clean" : "rimraf build" ,
2022-09-16 15:59:38 +00:00
"install-native-deps" : "./build-utils/install-dbus.sh" ,
2022-09-20 11:52:26 +00:00
"flowzone-preinstall" : "npm run install-native-deps" ,
"prepare" : "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\""
2022-08-24 21:33:20 +00:00
} ,
"private" : true ,
"dependencies" : {
"@balena/happy-eyeballs" : "0.0.6" ,
"dbus" : "^1.0.7" ,
"mdns-resolver" : "^1.0.0" ,
"semver" : "^7.3.2" ,
2022-09-12 11:35:19 +00:00
"sqlite3" : "^5.0.11" ,
2022-08-24 21:33:20 +00:00
"systeminformation" : "^5.6.10"
} ,
"engines" : {
2022-09-16 15:59:38 +00:00
"node" : "^16.17.0" ,
"npm" : "^8.15.0"
2022-08-24 21:33:20 +00:00
} ,
"devDependencies" : {
"@balena/contrato" : "^0.6.0" ,
2022-09-07 14:07:16 +00:00
"@balena/es-version" : "^1.0.1" ,
2022-09-19 15:33:52 +00:00
"@balena/lint" : "^6.2.0" ,
2022-10-03 19:38:42 +00:00
"@types/bluebird" : "^3.5.37" ,
"@types/chai" : "^4.3.3" ,
"@types/chai-as-promised" : "^7.1.5" ,
"@types/chai-like" : "^1.1.1" ,
"@types/chai-things" : "0.0.35" ,
"@types/common-tags" : "^1.8.1" ,
2022-09-20 13:32:37 +00:00
"@types/copy-webpack-plugin" : "^10.1.0" ,
2022-10-03 19:38:42 +00:00
"@types/dbus" : "^1.0.3" ,
2022-08-24 21:33:20 +00:00
"@types/dockerode" : "^2.5.34" ,
"@types/event-stream" : "^3.3.34" ,
2022-09-16 15:59:38 +00:00
"@types/express" : "^4.17.14" ,
2022-10-03 19:38:42 +00:00
"@types/lodash" : "^4.14.186" ,
"@types/memoizee" : "^0.4.8" ,
"@types/mocha" : "^8.2.3" ,
"@types/mock-fs" : "^4.13.1" ,
"@types/morgan" : "^1.9.3" ,
"@types/node" : "^16.11.63" ,
"@types/request" : "^2.48.8" ,
2022-08-24 21:33:20 +00:00
"@types/rewire" : "^2.5.28" ,
2022-10-03 19:38:42 +00:00
"@types/rimraf" : "^2.0.5" ,
"@types/rwlock" : "^5.0.3" ,
"@types/semver" : "^7.3.12" ,
"@types/shell-quote" : "^1.7.1" ,
"@types/sinon" : "^10.0.13" ,
"@types/sinon-chai" : "^3.2.8" ,
"@types/supertest" : "^2.0.12" ,
2022-09-20 13:32:37 +00:00
"@types/terser-webpack-plugin" : "^5.2.0" ,
2022-10-03 19:38:42 +00:00
"@types/tmp" : "^0.2.3" ,
2022-09-20 13:32:37 +00:00
"@types/webpack" : "^5.28.0" ,
2022-10-03 19:38:42 +00:00
"@types/yargs" : "^15.0.14" ,
2022-09-26 18:26:48 +00:00
"balena-auth" : "^4.1.2" ,
2022-09-19 12:20:36 +00:00
"balena-register-device" : "^8.0.0" ,
2022-09-26 18:26:48 +00:00
"balena-request" : "^11.5.9" ,
2022-09-12 12:01:32 +00:00
"blinking" : "0.0.5" ,
2022-08-24 21:33:20 +00:00
"bluebird" : "^3.7.2" ,
"chai" : "^4.3.4" ,
"chai-as-promised" : "^7.1.1" ,
"chai-like" : "^1.1.1" ,
"chai-things" : "^0.2.0" ,
"chokidar" : "^3.5.1" ,
"common-tags" : "^1.8.0" ,
2022-09-20 13:32:37 +00:00
"copy-webpack-plugin" : "^11.0.0" ,
2022-08-24 21:33:20 +00:00
"deep-object-diff" : "^1.1.0" ,
"docker-delta" : "^2.2.11" ,
"docker-progress" : "^4.0.3" ,
"dockerode" : "^2.5.8" ,
"duration-js" : "^4.0.0" ,
"event-stream" : "3.3.4" ,
"express" : "^4.17.1" ,
2022-09-20 13:32:37 +00:00
"fork-ts-checker-webpack-plugin" : "^7.2.13" ,
2022-08-24 21:33:20 +00:00
"fp-ts" : "^2.8.1" ,
2022-09-20 11:52:26 +00:00
"husky" : "^8.0.1" ,
2022-08-24 21:33:20 +00:00
"io-ts" : "^2.2.10" ,
"io-ts-reporters" : "^1.2.2" ,
"json-mask" : "^0.3.9" ,
2022-09-26 18:26:48 +00:00
"knex" : "^0.95.15" ,
2022-09-20 11:52:26 +00:00
"lint-staged" : "^13.0.3" ,
2022-08-24 21:33:20 +00:00
"livepush" : "^3.5.1" ,
"lodash" : "^4.17.21" ,
"memoizee" : "^0.4.14" ,
"mocha" : "^8.3.2" ,
2022-08-24 21:43:45 +00:00
"mocha-pod" : "^0.8.0" ,
2022-08-24 21:33:20 +00:00
"mock-fs" : "^4.14.0" ,
"morgan" : "^1.10.0" ,
"network-checker" : "^0.1.1" ,
"nock" : "^13.1.2" ,
"nodemon" : "^2.0.4" ,
2022-09-07 14:09:19 +00:00
"pinejs-client-request" : "^7.3.5" ,
2022-08-24 21:33:20 +00:00
"pretty-ms" : "^7.0.1" ,
"request" : "^2.88.2" ,
"resin-docker-build" : "^1.1.6" ,
"resumable-request" : "^2.0.1" ,
"rewire" : "^5.0.0" ,
"rimraf" : "^2.7.1" ,
"rwlock" : "^5.0.0" ,
"shell-quote" : "^1.7.2" ,
2022-10-19 23:38:34 +00:00
"sinon" : "^14.0.1" ,
2022-09-26 18:26:48 +00:00
"sinon-chai" : "^3.7.0" ,
2022-08-24 21:33:20 +00:00
"strict-event-emitter-types" : "^2.0.0" ,
"supertest" : "^6.1.3" ,
"tar-stream" : "^2.1.3" ,
2022-09-20 13:32:37 +00:00
"terser-webpack-plugin" : "^5.3.6" ,
2022-08-24 21:33:20 +00:00
"tmp" : "^0.1.0" ,
2022-09-20 13:32:37 +00:00
"ts-loader" : "^9.4.0" ,
2022-08-24 21:33:20 +00:00
"ts-node" : "^8.10.2" ,
"tsconfig-paths" : "^4.1.0" ,
"typed-error" : "^3.2.1" ,
2022-10-03 19:38:42 +00:00
"typescript" : "^4.8.4" ,
2022-09-20 13:32:37 +00:00
"webpack" : "^5.74.0" ,
2022-09-20 12:43:54 +00:00
"webpack-cli" : "^4.10.0" ,
2022-08-24 21:33:20 +00:00
"winston" : "^3.3.3" ,
"yargs" : "^15.4.1"
} ,
"husky" : {
"hooks" : {
"pre-commit" : "lint-staged"
}
} ,
"versionist" : {
2022-11-01 21:47:55 +00:00
"publishedAt" : "2022-11-01T21:47:54.965Z"
2022-08-24 21:33:20 +00:00
}
2018-02-20 02:20:57 +00:00
}