mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-28 17:48:52 +00:00
135 lines
4.5 KiB
JSON
135 lines
4.5 KiB
JSON
{
|
|
"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.",
|
|
"version": "11.3.6",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/resin-io/resin-supervisor.git"
|
|
},
|
|
"scripts": {
|
|
"start": "./entry.sh",
|
|
"build": "npm run typescript:release && webpack",
|
|
"build:debug": "npm run typescript:release && npm run packagejson:copy",
|
|
"lint": "npm run lint:coffee && npm run lint:typescript",
|
|
"test": "npm run lint && npm run test-nolint",
|
|
"test-nolint": "npm run test:build && mocha",
|
|
"test:build": "npm run typescript:test-build && npm run coffeescript:test && npm run testitems:copy && npm run packagejson:copy",
|
|
"test:fast": "TEST=1 mocha --opts test/fast-mocha.opts",
|
|
"test:debug": "npm run test:build && TEST=1 mocha --inspect-brk",
|
|
"prettify": "balena-lint -e ts -e js --typescript --fix src/ test/ typings/",
|
|
"typescript:test-build": "tsc --project tsconfig.json",
|
|
"typescript:release": "tsc --project tsconfig.release.json && cp -r build/src/* build && rm -rf build/src",
|
|
"coffeescript:test": "coffee -m -c -o build .",
|
|
"packagejson:copy": "cp package.json build/",
|
|
"testitems:copy": "cp -r test/data build/test/",
|
|
"lint:coffee": "balena-lint test/",
|
|
"lint:typescript": "balena-lint -e ts -e js --typescript src/ test/ typings/ build-utils/ && tsc --noEmit && tsc --noEmit --project tsconfig.js.json",
|
|
"sync": "ts-node sync/sync.ts"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"dbus": "^1.0.7",
|
|
"sqlite3": "^4.1.1"
|
|
},
|
|
"engines": {
|
|
"node": "^6.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@balena/contrato": "^0.2.1",
|
|
"@balena/lint": "^4.1.0",
|
|
"@types/bluebird": "^3.5.30",
|
|
"@types/chai": "^4.2.11",
|
|
"@types/chai-as-promised": "^7.1.2",
|
|
"@types/common-tags": "^1.8.0",
|
|
"@types/dbus": "^1.0.0",
|
|
"@types/dockerode": "^2.5.25",
|
|
"@types/event-stream": "^3.3.34",
|
|
"@types/express": "^4.17.3",
|
|
"@types/lockfile": "^1.0.1",
|
|
"@types/lodash": "^4.14.149",
|
|
"@types/memoizee": "^0.4.3",
|
|
"@types/mkdirp": "^0.5.2",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/morgan": "^1.9.0",
|
|
"@types/mz": "0.0.32",
|
|
"@types/node": "^12.12.6",
|
|
"@types/request": "^2.48.4",
|
|
"@types/rimraf": "^2.0.4",
|
|
"@types/rwlock": "^5.0.2",
|
|
"@types/semver": "^7.1.0",
|
|
"@types/shell-quote": "^1.6.1",
|
|
"@types/sinon": "^7.5.2",
|
|
"@types/sinon-chai": "^3.2.3",
|
|
"@types/tmp": "^0.1.0",
|
|
"@types/yargs": "^15.0.4",
|
|
"balena-register-device": "^6.1.1",
|
|
"blinking": "~0.0.3",
|
|
"bluebird": "^3.7.2",
|
|
"body-parser": "^1.19.0",
|
|
"buffer-equal-constant-time": "^1.0.1",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-events": "0.0.1",
|
|
"chokidar": "^3.3.1",
|
|
"coffee-loader": "^0.9.0",
|
|
"coffeescript": "^1.12.7",
|
|
"common-tags": "^1.8.0",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"deep-object-diff": "^1.1.0",
|
|
"docker-delta": "^2.2.9",
|
|
"docker-progress": "^3.0.5",
|
|
"docker-toolbelt": "^3.3.8",
|
|
"duration-js": "^4.0.0",
|
|
"event-stream": "3.3.4",
|
|
"express": "^4.17.1",
|
|
"fork-ts-checker-webpack-plugin": "^4.1.3",
|
|
"fp-ts": "^2.5.3",
|
|
"husky": "^4.2.3",
|
|
"io-ts": "^2.1.2",
|
|
"io-ts-reporters": "^1.0.0",
|
|
"json-mask": "^0.3.9",
|
|
"knex": "^0.20.13",
|
|
"lint-staged": "^10.0.8",
|
|
"livepush": "^3.3.0",
|
|
"lockfile": "^1.0.4",
|
|
"lodash": "^4.17.15",
|
|
"log-timestamp": "^0.1.2",
|
|
"memoizee": "^0.4.14",
|
|
"mixpanel": "^0.10.3",
|
|
"mkdirp": "^0.5.3",
|
|
"mocha": "^5.2.0",
|
|
"morgan": "^1.10.0",
|
|
"mz": "^2.7.0",
|
|
"network-checker": "^0.1.1",
|
|
"nodemon": "^2.0.2",
|
|
"pinejs-client-request": "^5.2.0",
|
|
"pretty-ms": "^5.1.0",
|
|
"request": "^2.88.2",
|
|
"resin-cli-visuals": "^1.5.2",
|
|
"resin-docker-build": "^1.1.4",
|
|
"resumable-request": "^2.0.0",
|
|
"rimraf": "^2.7.1",
|
|
"rwlock": "^5.0.0",
|
|
"shell-quote": "^1.7.2",
|
|
"sinon": "^7.5.0",
|
|
"sinon-chai": "^3.5.0",
|
|
"strict-event-emitter-types": "^2.0.0",
|
|
"tar-stream": "^2.1.2",
|
|
"terser-webpack-plugin": "^2.3.5",
|
|
"tmp": "^0.1.0",
|
|
"ts-loader": "^6.2.2",
|
|
"ts-node": "^8.8.1",
|
|
"typed-error": "^2.0.0",
|
|
"typescript": "^3.8.3",
|
|
"webpack": "^4.42.0",
|
|
"webpack-cli": "^3.3.11",
|
|
"winston": "^3.2.1",
|
|
"yargs": "^15.3.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|