UNPKG

fastify-cli

Version:

Run a fastify route with one command!

97 lines (96 loc) 3.62 kB
{ "name": "fastify-cli", "version": "7.4.0", "description": "Run a fastify route with one command!", "main": "cli.js", "type": "commonjs", "bin": { "fastify": "cli.js" }, "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "pretest": "xcopy /e /k /i . \"..\\node_modules\\fastify-cli\" || rsync -r --exclude=node_modules ./ node_modules/fastify-cli || echo 'this is fine'", "test": "npm run unit:suites && c8 --clean npm run test:cli-and-typescript", "unit:cjs": "node suite-runner.js \"templates/app/test/**/*.test.js\"", "unit:esm": "node suite-runner.js \"templates/app-esm/test/**/*.test.js\"", "unit:ts-cjs": "cross-env TS_NODE_PROJECT=./test/configs/ts-cjs.tsconfig.json node -r ts-node/register suite-runner.js \"templates/app-ts/test/**/*.test.ts\"", "unit:ts-esm": "cross-env TS_NODE_PROJECT=./test/configs/ts-esm.tsconfig.json FASTIFY_AUTOLOAD_TYPESCRIPT=1 node -r ts-node/register --loader ts-node/esm suite-runner.js \"templates/app-ts-esm/test/**/*.test.ts\"", "unit:suites": "node should-skip-test-suites.js || npm run all-suites", "all-suites": "npm run unit:cjs && npm run unit:esm && npm run unit:ts-cjs && npm run unit:ts-esm", "unit:cli-js-esm": "node suite-runner.js \"test/esm/**/*.test.js\"", "unit:cli-js": "tap \"test/**/*.test.js\" --no-coverage --timeout 400 --jobs 1 --color -R specy", "unit:cli-ts": "cross-env TS_NODE_PROJECT=./test/configs/ts-cjs.tsconfig.json tap \"test/**/*.test.ts\" --no-coverage --timeout 400 --jobs 1 --color -R specy", "unit:cli": "npm run unit:cli-js && npm run unit:cli-ts && npm run unit:cli-js-esm", "test:cli-and-typescript": "npm run unit:cli && npm run test:typescript", "test:typescript": "tsd templates/plugin -t ./../../index.d.ts && tsc --project templates/app-ts/tsconfig.json --noEmit && tsc --project templates/app-ts-esm/tsconfig.json --noEmit" }, "keywords": [ "fastify", "cli", "one command" ], "author": "Tomas Della Vedova - @delvedor (http://delved.org)", "contributors": [ { "name": "Matteo Collina", "email": "hello@matteocollina.com" } ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify-cli.git" }, "bugs": { "url": "https://github.com/fastify/fastify-cli/issues" }, "homepage": "https://github.com/fastify/fastify-cli#readme", "dependencies": { "@fastify/deepmerge": "^2.0.0", "chalk": "^4.1.2", "chokidar": "^4.0.0", "close-with-grace": "^2.1.0", "commist": "^3.0.0", "dotenv": "^16.0.0", "fastify": "^5.0.0", "fastify-plugin": "^5.0.0", "generify": "^4.0.0", "help-me": "^5.0.0", "is-docker": "^2.0.0", "pino-pretty": "^13.0.0", "pkg-up": "^3.1.0", "resolve-from": "^5.0.0", "semver": "^7.3.5", "yargs-parser": "^21.1.1" }, "devDependencies": { "@fastify/autoload": "^6.0.0", "@fastify/pre-commit": "^2.0.2", "@fastify/sensible": "^6.0.0", "@types/node": "^22.1.0", "@types/tap": "^15.0.5", "c8": "^10.1.2", "concurrently": "^9.0.0", "cross-env": "^7.0.3", "eslint": "^9.17.0", "fastify-tsconfig": "^3.0.0", "glob": "^11.0.1", "minimatch": "^10.0.1", "neostandard": "^0.12.0", "proxyquire": "^2.1.3", "rimraf": "^3.0.2", "simple-get": "^4.0.0", "sinon": "^19.0.2", "strip-ansi": "^6.0.1", "tap": "^16.1.0", "ts-node": "^10.4.0", "ts-standard": "^12.0.1", "tsd": "^0.31.0", "typescript": "~5.8.2", "walker": "^1.0.8" }, "tsd": { "directory": "test" } }