2013-06-01 18:34:38 +00:00
{
2018-10-18 18:52:35 +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." ,
2018-12-12 16:41:59 +00:00
"version" : "8.6.10" ,
2016-10-24 00:04:40 +00:00
"license" : "Apache-2.0" ,
"repository" : {
"type" : "git" ,
"url" : "https://github.com/resin-io/resin-supervisor.git"
} ,
2013-12-14 05:18:20 +00:00
"scripts" : {
2016-06-16 15:10:20 +00:00
"start" : "./entry.sh" ,
2017-11-09 00:06:28 +00:00
"build" : "webpack" ,
2018-11-02 14:16:02 +00:00
"precommit" : "lint-staged" ,
"prettify" : "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"{src,test,typings}/**/*.ts\"" ,
2018-11-02 14:14:27 +00:00
"lint:coffee" : "resin-lint src/ test/" ,
"lint:typescript" : "resin-lint --typescript src/ test/ typings/ && tsc --noEmit" ,
"lint" : "npm run lint:coffee && npm run lint:typescript" ,
2018-11-06 11:08:46 +00:00
"test" : "npm run lint && npm run test:build && JUNIT_REPORT_PATH=report.xml istanbul cover _mocha && npm run coverage" ,
"test:fast" : "npm run test:build && mocha" ,
2018-08-15 15:07:12 +00:00
"test:build" : "tsc && coffee -m -c -o build . && cp -r test/data build/test/ && cp -r src/migrations build/src && cp package.json build" ,
2018-11-06 11:08:46 +00:00
"test:debug" : "npm run test:build && mocha --inspect-brk" ,
2017-11-01 06:47:48 +00:00
"coverage" : "istanbul report text && istanbul report html"
2013-12-14 05:18:20 +00:00
} ,
2018-08-29 16:05:30 +00:00
"private" : "true" ,
2013-12-14 05:18:20 +00:00
"dependencies" : {
2017-07-01 04:07:02 +00:00
"sqlite3" : "^3.1.0"
} ,
"engines" : {
2018-04-09 10:54:55 +00:00
"node" : "^6.13.1"
2017-07-01 04:07:02 +00:00
} ,
"devDependencies" : {
2018-06-07 11:54:10 +00:00
"@types/bluebird" : "^3.5.20" ,
2018-11-28 17:38:43 +00:00
"@types/dockerode" : "^2.5.9" ,
2018-08-27 00:17:11 +00:00
"@types/event-stream" : "^3.3.34" ,
2018-05-11 16:14:47 +00:00
"@types/express" : "^4.11.1" ,
2018-06-11 22:18:50 +00:00
"@types/knex" : "^0.14.14" ,
2018-06-07 11:54:10 +00:00
"@types/lodash" : "^4.14.109" ,
2018-09-02 23:32:08 +00:00
"@types/memoizee" : "^0.4.2" ,
2018-06-07 11:54:10 +00:00
"@types/mz" : "0.0.32" ,
"@types/node" : "^10.3.1" ,
2018-06-18 10:18:42 +00:00
"@types/rwlock" : "^5.0.2" ,
2018-09-18 14:36:59 +00:00
"@types/shell-quote" : "^1.6.0" ,
2015-02-27 19:35:20 +00:00
"blinking" : "~0.0.2" ,
2017-04-21 03:59:45 +00:00
"bluebird" : "^3.5.0" ,
2015-03-03 13:55:14 +00:00
"body-parser" : "^1.12.0" ,
2016-05-24 02:59:45 +00:00
"buffer-equal-constant-time" : "^1.0.1" ,
2017-11-01 06:47:48 +00:00
"chai-events" : "0.0.1" ,
2018-11-05 15:42:11 +00:00
"coffee-loader" : "^0.9.0" ,
"coffeescript" : "^1.12.7" ,
2017-11-29 21:32:57 +00:00
"copy-webpack-plugin" : "^4.2.3" ,
2018-03-16 14:01:50 +00:00
"dbus-native" : "^0.2.5" ,
2018-09-18 14:36:59 +00:00
"deep-object-diff" : "^1.1.0" ,
2018-10-25 19:36:20 +00:00
"docker-delta" : "^2.2.2" ,
2018-12-04 16:55:26 +00:00
"docker-progress" : "^3.0.3" ,
2018-08-16 14:20:40 +00:00
"docker-toolbelt" : "^3.3.2" ,
Add support for init, mem_reservation, shm_size, read_only and sysctls.
Also several bugfixes:
* Fix VPN control, logging in deviceConfig, and action executors in proxyvisor
* Fix bug in calculation of dependencies due to fields still using snake_case
* Fix snake_case in a migration, and remove unused lib/migration.coffee
* In healthcheck, count deviceState as healthy when a fetch is in progress (as in the non-multicontainer supervisor)
* Set always as default restart policy
* Fix healthcheck, stop_grace_period and mem_limit
* Lint and reduce some cyclomatic complexities
* Namespace volumes and networks by appId, switch default network name to 'default', fix dependencies in networks and volumes, fix duplicated kill steps, fix fat arrow on provisioning
* Check that supervisor network is okay every time we're applying target state
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-12-12 00:35:23 +00:00
"duration-js" : "^4.0.0" ,
2018-11-26 17:18:01 +00:00
"event-stream" : "3.3.5" ,
2015-03-03 13:55:14 +00:00
"express" : "^4.0.0" ,
2018-11-02 14:16:02 +00:00
"husky" : "^1.1.3" ,
2017-11-01 06:47:48 +00:00
"istanbul" : "^0.4.5" ,
2017-09-25 15:22:30 +00:00
"json-mask" : "^0.3.8" ,
2016-10-10 21:14:31 +00:00
"knex" : "~0.12.3" ,
2018-11-02 14:16:02 +00:00
"lint-staged" : "^8.0.4" ,
2015-08-12 20:24:18 +00:00
"lockfile" : "^1.0.1" ,
2016-10-03 20:25:08 +00:00
"lodash" : "^4.16.3" ,
2016-07-15 20:59:39 +00:00
"log-timestamp" : "^0.1.2" ,
2016-12-20 05:44:27 +00:00
"memoizee" : "^0.4.1" ,
2018-12-04 09:35:40 +00:00
"mixpanel" : "^0.10.1" ,
2018-01-15 21:50:03 +00:00
"mkdirp" : "^0.5.1" ,
2017-11-01 06:47:48 +00:00
"mocha" : "^5.1.1" ,
2018-04-27 13:27:42 +00:00
"mochainon" : "^2.0.0" ,
2018-06-07 11:54:10 +00:00
"mz" : "^2.7.0" ,
2018-11-27 13:42:40 +00:00
"network-checker" : "^0.1.1" ,
2016-10-06 01:29:52 +00:00
"pinejs-client" : "^2.4.0" ,
2018-11-02 14:16:02 +00:00
"prettier" : "^1.14.3" ,
2017-11-01 06:47:48 +00:00
"register-coffee-coverage" : "0.0.1" ,
2015-01-07 19:13:19 +00:00
"request" : "^2.51.0" ,
2018-11-02 14:16:02 +00:00
"resin-lint" : "^2.0.1" ,
2016-07-30 00:46:10 +00:00
"resin-register-device" : "^3.0.0" ,
2017-12-11 10:22:06 +00:00
"resin-sync" : "^9.3.0" ,
2018-02-02 14:34:28 +00:00
"resumable-request" : "^2.0.0" ,
2015-08-03 19:06:03 +00:00
"rwlock" : "^5.0.0" ,
2018-01-24 01:28:59 +00:00
"shell-quote" : "^1.6.1" ,
2018-04-27 13:27:42 +00:00
"ts-loader" : "^3.5.0" ,
2018-06-13 15:55:34 +00:00
"typed-error" : "^2.0.0" ,
2018-11-02 15:37:47 +00:00
"typescript" : "^3.1.6" ,
2017-11-09 00:06:28 +00:00
"uglifyjs-webpack-plugin" : "^1.0.1" ,
2017-07-01 04:07:02 +00:00
"webpack" : "^3.0.0"
2014-01-01 21:03:51 +00:00
}
2018-02-20 02:20:57 +00:00
}