balena-supervisor/package.json
Cameron Diver 9dab00d156
Allow writing test files in typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-19 10:55:15 +01:00

118 lines
4.2 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": "9.16.4",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/resin-io/resin-supervisor.git"
},
"scripts": {
"start": "./entry.sh",
"build": "webpack",
"build:debug": "npm run typescript:release && npm run coffeescript:release && npm run migrations:copy && npm run packagejson:copy",
"lint": "npm run lint:coffee && npm run lint:typescript",
"test": "npm run lint && npm run test:build && JUNIT_REPORT_PATH=report.xml istanbul cover _mocha && npm run coverage",
"test:build": "npm run typescript:test-build && npm run coffeescript:test && npm run testitems:copy && npm run migrations:copy-test && npm run packagejson:copy",
"coverage": "istanbul report text && istanbul report html",
"test:fast": "npm run test:build && mocha",
"test:debug": "npm run test:build && mocha --inspect-brk",
"precommit": "lint-staged",
"prettify": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"{src,test,typings}/**/*.ts\"",
"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 .",
"coffeescript:release": "coffee -m -c -o build src",
"migrations:copy": "cp -r src/migrations build/",
"migrations:copy-test": "cp -r src/migrations build/src",
"packagejson:copy": "cp package.json build/",
"testitems:copy": "cp -r test/data build/test/",
"lint:coffee": "resin-lint src/ test/",
"lint:typescript": "resin-lint --typescript src/ test/ typings/ && tsc --noEmit"
},
"private": true,
"dependencies": {
"sqlite3": "^4.0.8"
},
"engines": {
"node": "^6.13.1"
},
"devDependencies": {
"@types/bluebird": "^3.5.25",
"@types/chai": "^4.1.7",
"@types/common-tags": "^1.8.0",
"@types/dockerode": "^2.5.13",
"@types/event-stream": "^3.3.34",
"@types/express": "^4.11.1",
"@types/knex": "^0.14.14",
"@types/lockfile": "^1.0.0",
"@types/lodash": "4.14.122",
"@types/memoizee": "^0.4.2",
"@types/mkdirp": "^0.5.2",
"@types/mocha": "^5.2.7",
"@types/morgan": "^1.7.35",
"@types/mz": "0.0.32",
"@types/node": "^10.12.17",
"@types/request": "^2.48.1",
"@types/rwlock": "^5.0.2",
"@types/shell-quote": "^1.6.0",
"balena-sync": "^10.0.0",
"blinking": "~0.0.2",
"bluebird": "^3.5.3",
"body-parser": "^1.12.0",
"buffer-equal-constant-time": "^1.0.1",
"chai-events": "0.0.1",
"chokidar": "^3.0.0",
"coffee-loader": "^0.9.0",
"coffeescript": "^1.12.7",
"common-tags": "^1.8.0",
"copy-webpack-plugin": "^4.6.0",
"dbus-native": "^0.2.5",
"deep-object-diff": "^1.1.0",
"docker-delta": "^2.2.9",
"docker-progress": "^3.0.3",
"docker-toolbelt": "^3.3.7",
"duration-js": "^4.0.0",
"event-stream": "3.3.4",
"express": "^4.0.0",
"fork-ts-checker-webpack-plugin": "^0.5.2",
"fp-ts": "^1.12.2",
"husky": "^1.3.0",
"io-ts": "^1.5.1",
"istanbul": "^0.4.5",
"json-mask": "^0.3.8",
"knex": "~0.15.2",
"lint-staged": "^8.1.0",
"livepush": "^2.0.1",
"lockfile": "^1.0.1",
"lodash": "^4.17.5",
"log-timestamp": "^0.1.2",
"memoizee": "^0.4.1",
"mixpanel": "^0.10.1",
"mkdirp": "^0.5.1",
"mocha": "^5.1.1",
"mochainon": "^2.0.0",
"morgan": "^1.9.1",
"mz": "^2.7.0",
"network-checker": "^0.1.1",
"pinejs-client-request": "^5.2.0",
"prettier": "1.17.0",
"pretty-ms": "^4.0.0",
"request": "^2.51.0",
"resin-lint": "^3.0.0",
"resin-register-device": "^3.0.0",
"resumable-request": "^2.0.0",
"rimraf": "^2.6.2",
"rwlock": "^5.0.0",
"shell-quote": "^1.6.1",
"strict-event-emitter-types": "^2.0.0",
"terser": "^3.14.1",
"ts-loader": "^5.3.0",
"typed-error": "^2.0.0",
"typescript": "^3.5.1",
"webpack": "^4.25.0",
"webpack-cli": "^3.1.2",
"winston": "^3.2.1"
}
}