UNPKG

egg-bin

Version:
87 lines (86 loc) 2.66 kB
{ "name": "egg-bin", "version": "6.13.0", "publishConfig": { "tag": "latest" }, "description": "egg developer tool", "files": [ "dist", "scripts" ], "main": "dist/index.js", "bin": { "egg-bin": "dist/bin/cli.js" }, "dependencies": { "@artus-cli/artus-cli": "^0.2.9", "@artus-cli/plugin-autocomplete": "^0.1.1", "@artus-cli/plugin-version": "^1.0.1", "@eggjs/utils": "^4.0.2", "c8": "^10.0.0", "detect-port": "^2.0.0", "egg-ts-helper": "^2.1.0", "globby": "^11.1.0", "jest-changed-files": "^29.4.2", "mocha": "^10.2.0", "mochawesome-with-mocha": "^7.1.3", "runscript": "^2.0.0", "ts-node": "^10.9.2", "tsconfig-paths": "^4.1.2" }, "peerDependencies": { "egg-mock": ">=5.10.2" }, "peerDependenciesMeta": { "egg-mock": { "optional": true } }, "devDependencies": { "@eggjs/tsconfig": "^1.3.0", "@swc-node/register": "^1.6.1", "@swc/core": "^1.3.35", "@types/mocha": "^10.0.1", "@types/node": "^22.10.1", "assert-file": "^1.0.0", "coffee": "^5.4.0", "cpy": "^8.1.2", "egg": "^3.9.1", "egg-mock": "^5.10.2", "esbuild": "^0.17.7", "esbuild-register": "^3.4.2", "eslint": "^8.16.0", "eslint-config-egg": "^13.1.0", "npminstall": "^7.5.0", "typescript": "^5.2.2" }, "repository": { "type": "git", "url": "git@github.com:eggjs/egg-bin.git" }, "bug": { "url": "https://github.com/eggjs/egg/issues" }, "homepage": "https://github.com/eggjs/egg-bin", "author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)", "scripts": { "postinstall": "node scripts/postinstall.js", "contributor": "git-contributor", "lint": "eslint . --cache --ext ts", "test": "npm run lint -- --fix && npm run test-local", "test-local": "npm run tsc && node dist/bin/cli.js test", "test-local-with-ts-node-transpile-only": "node -r ts-node/register/transpile-only src/bin/cli.ts test", "test-local-with-swc": "node -r @swc-node/register src/bin/cli.ts test", "test-local-with-esbuild": "node -r esbuild-register src/bin/cli.ts test", "test-tsc": "npm run clean && npm run tsc && node dist/bin/cli.js && node dist/bin/cli.js test --base test/fixtures/example-ts && node dist/bin/cli.js dev --base test/fixtures/example-ts", "cov": "c8 -r lcov -r text-summary -x 'test/**' npm run test-local -- --timeout 120000", "ci": "npm run lint && npm run test-local && npm run test-tsc", "prepublishOnly": "npm run clean && npm run tsc", "tsc": "tsc", "clean": "rm -rf dist" }, "engines": { "node": ">= 16.19.0" } }