Advertisement
yurystanev

runner package.json - 30.07.2019

Jul 30th, 2019
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.63 KB | None | 0 0
  1. {
  2.   "name": "menlolab-runner",
  3.   "version": "0.1.4",
  4.   "description": "The agent deployed on private and public infrastructure to manage tasks.",
  5.   "main": "runner.js",
  6.   "bin": "runner.js",
  7.   "scripts": {
  8.     "build": "npx pkg -t linux runner.js",
  9.     "rpm-link": "ln -s ~/menlolab/runner ~/rpmbuild",
  10.     "start": "node runner.js start",
  11.     "spec": "speculate",
  12.     "rpm": "npm run tar && cp ./runner.tar.gz ~/rpmbuild/SOURCES/runner.tar.gz",
  13.     "tar": "tar -zcv --exclude='./rpm' --exclude='./Vagrantfile' --exclude='./.vagrant' --exclude='./.history' --exclude='./runner.tar.gz' -f runner.tar.gz ./",
  14.     "package-deb": "npm run build && cp runner deb/menlolab-runner && cd deb && rm -f package-lock.json && ../node_modules/.bin/node-deb -- menlolab-runner",
  15.     "package-deb-publish": "",
  16.     "package-deb-clean": "rm -r deb/menlolab-runner*",
  17.     "test": "nyc mocha -t 10000 --exit",
  18.     "test-html": "nyc --reporter=lcov mocha -t 10000 --exit",
  19.     "local-public-runner": "PUBLICSECRET=superSecret ADDRESS=http://localhost:4443 node runner.js start -j tmp/ -c config/local_public.yml",
  20.     "local-private-runner-register": "ADDRESS=http://localhost:4443 node runner.js register -j tmp/ -c config/local_private.yml",
  21.     "local-private-runner": "ADDRESS=http://localhost:4443 node runner.js start -j tmp/ -c config/local_private.yml",
  22.     "stage-public-runner": "PUBLICSECRET=superSecret ADDRESS=https://runner.menlolab.io node runner.js start -j tmp/ -c config/stage_public.yml",
  23.     "stage-private-runner-register": "ADDRESS=https://runner.menlolab.io node runner.js register -j tmp/ -c config/stage_private.yml",
  24.     "stage-private-runner": "ADDRESS=https://runner.menlolab.io node runner.js start -j tmp/ -c config/stage_private.yml",
  25.     "lint": "npx eslint --quiet */*.js"
  26.   },
  27.   "spec": {
  28.     "post": [
  29.       "ln -s /usr/lib/menlolab-runner/runner.js menlolab-runner",
  30.       "chmod ugo+x /usr/lib/menlolab-runner/runner.js"
  31.     ]
  32.   },
  33.   "files": [
  34.     "./config",
  35.     "./deb",
  36.     "./lib",
  37.     "./test",
  38.     "./util",
  39.     "/.gitignore",
  40.     "./.gitlab-ci.yml",
  41.     "./.gitmodules",
  42.     "./README.md",
  43.     "./package-lock.json",
  44.     "./package.json",
  45.     "./runner.js"
  46.   ],
  47.   "repository": {
  48.     "type": "git",
  49.     "url": "git+ssh://git@gitlab.com/MenloLab/runner.git"
  50.   },
  51.   "author": "Tyler Stiene <tyler@menlolab.com>",
  52.   "license": "MIT",
  53.   "bugs": {
  54.     "url": "https://gitlab.com/MenloLab/runner/issues"
  55.   },
  56.   "homepage": "https://gitlab.com/MenloLab/runner#README",
  57.   "eslintIgnore": [
  58.     "/coverage",
  59.     "/node_modules"
  60.   ],
  61.   "eslintConfig": {
  62.     "extends": [
  63.       "airbnb-base"
  64.     ],
  65.     "parserOptions": {
  66.       "ecmaVersion": 2018
  67.     },
  68.     "env": {
  69.       "node": true,
  70.       "mocha": true
  71.     },
  72.     "rules": {
  73.       "max-len": "off",
  74.       "no-underscore-dangle": "off",
  75.       "eqeqeq": "warn",
  76.       "no-restricted-syntax": [
  77.         "off",
  78.         "BinaryExpression[operator='in']"
  79.       ],
  80.       "no-prototype-builtins": "off",
  81.       "prefer-destructuring": "off",
  82.       "no-param-reassign": "warn",
  83.       "no-await-in-loop": "off",
  84.       "global-require": "off",
  85.       "no-console": "off",
  86.       "no-loop-func": "off",
  87.       "consistent-return": "warn",
  88.       "no-unused-vars": [
  89.         "error",
  90.         {
  91.           "varsIgnorePattern": "should|expect"
  92.         }
  93.       ]
  94.     }
  95.   },
  96.   "dependencies": {
  97.     "@sentry/node": "^5.4.2",
  98.     "chai-exec": "^1.1.1",
  99.     "chai-fs": "^2.0.0",
  100.     "check-sudo": "^1.1.3",
  101.     "chmodr": "^1.2.0",
  102.     "command-exists": "^1.2.8",
  103.     "commander": "^2.20.0",
  104.     "debug": "^4.1.1",
  105.     "dockerode": "^2.5.8",
  106.     "fs-extra": "^8.0.1",
  107.     "inquirer": "^6.4.1",
  108.     "js-yaml": "^3.13.1",
  109.     "moment": "^2.24.0",
  110.     "node-rest-client": "^3.1.0",
  111.     "node-vagrant": "^1.3.9",
  112.     "npid": "^0.4.0",
  113.     "pidusage": "^2.0.17",
  114.     "request": "^2.88.0",
  115.     "request-promise-native": "^1.0.7",
  116.     "shelljs": "^0.8.3",
  117.     "simple-git": "^1.116.0",
  118.     "simple-zstd": "^1.0.0",
  119.     "sinon": "^7.3.2",
  120.     "sinon-chai": "^3.3.0",
  121.     "socket.io-client": "^2.2.0",
  122.     "ssh2shell": "^1.9.1",
  123.     "systeminformation": "^4.12.2",
  124.     "tar-fs": "^2.0.0"
  125.   },
  126.   "devDependencies": {
  127.     "babel-eslint": "^10.0.2",
  128.     "chai": "^4.2.0",
  129.     "eslint": "^5.16.0",
  130.     "eslint-config-airbnb-base": "^13.1.0",
  131.     "eslint-import-resolver-node": "^0.3.2",
  132.     "eslint-plugin-import": "^2.18.0",
  133.     "eslint-plugin-mocha": "^5.3.0",
  134.     "istanbul": "^0.4.5",
  135.     "mocha": "^6.1.4",
  136.     "node-deb": "^0.10.7",
  137.     "nodemon": "^1.18.11",
  138.     "nyc": "^14.1.1",
  139.     "pkg": "^4.3.7",
  140.     "s3rver": "^3.2.0",
  141.     "speculate": "^2.0.0"
  142.   }
  143. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement