UNPKG

code-executor

Version:

A CLI/library to execute code against test cases in various languages and obtain relevant results.

71 lines (70 loc) 2.03 kB
{ "name": "code-executor", "version": "0.2.7", "description": "A CLI/library to execute code against test cases in various languages and obtain relevant results.", "main": "dist/src/index.js", "keywords": [ "code-executor", "executor", "docker", "sandbox", "synchronization", "parallel-execution", "code-runner" ], "bin": { "code-executor": "bin/code-executor" }, "scripts": { "build": "npm run clean && tsc && npm run build:dockerfiles", "build:dockerfiles": "shx cp -r src/langs dist/src/langs", "clean": "shx rm -rf ./dist", "test": "mocha --config test/.mocharc.json test/**/*.ts", "lint": "eslint \"src/**/*.{ts,js,jsx}\" \"test/**/*.ts\" \"examples/**/*.{ts,js}\"", "lint:fix": "eslint --fix \"src/**/*.{ts,js,jsx}\" \"test/**/*.ts\" \"examples/**/*.{ts,js}\"", "prepare": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/csivitu/code-executor.git" }, "author": "", "license": "ISC", "bugs": { "url": "https://github.com/csivitu/code-executor/issues" }, "homepage": "https://github.com/csivitu/code-executor#readme", "devDependencies": { "@types/bull": "^3.14.2", "@types/commander": "^2.12.2", "@types/dockerode": "^2.5.34", "@types/node": "^14.6.3", "@types/randomstring": "^1.1.6", "@types/uuid": "^8.3.0", "@typescript-eslint/eslint-plugin": "^4.0.1", "@typescript-eslint/parser": "^4.0.1", "eslint": "^7.8.1", "eslint-config-airbnb-base": "^14.2.0", "eslint-config-airbnb-typescript": "^9.0.0", "eslint-plugin-import": "^2.22.0", "husky": "^4.2.5", "mocha": "^8.1.3", "shx": "^0.3.2", "ts-node": "^9.0.0", "typescript": "^4.0.2" }, "husky": { "hooks": { "pre-commit": "npm run lint" } }, "dependencies": { "bull": "^3.18.0", "commander": "^6.2.0", "del": "^6.0.0", "dockerode": "^3.2.1", "randomstring": "^1.1.5", "uuid": "^8.3.0", "winston": "^3.3.3" } }