UNPKG

@mountainpass/hooked-cli

Version:
129 lines (128 loc) 4.23 kB
{ "name": "@mountainpass/hooked-cli", "version": "1.0.161", "description": "A tool for runnable scripts", "author": "Mountain Pass <info@mountain-pass.com.au>", "contributors": [ "Nick Grealy <nickgrealy@gmail.com>", "Nick Grealy <nick@mountain-pass.com.au>" ], "keywords": [ "cli", "script", "server-agnostic" ], "engines": { "node": ">=14" }, "engineStrict": false, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/mountain-pass/hooked.git" }, "bugs": { "url": "https://github.com/mountain-pass/hooked/issues" }, "homepage": "https://github.com/mountain-pass/hooked#readme", "REFER_FOR_INQUIRER": "https://github.com/SBoudrias/Inquirer.js/issues/1129#issuecomment-1499464050", "type": "module", "main": "./dist/index.js", "bin": { "j": "./dist/index.js", "hooked": "./dist/index.js" }, "dir": [ "dist", "public", "schemas", "!dist/lib/schema/writeSchema.script.js" ], "scripts": { "password": "tsx src/index.ts -pw obi1kenobi", "writeSchema": "tsx src/lib/schema/writeSchema.script.ts", "start": "LOG_LEVEL=debug SKIP_VERSION_CHECK=1 nodemon --exec 'tsx src/index.ts'", "start:server": "TZ=Australia/Sydney LOG_LEVEL=debug SKIP_VERSION_CHECK=1 nodemon --exec 'tsx src/index.ts -s --config $(pwd)/hooked-server.yaml'", "start:serverssl": "TZ=Australia/Sydney LOG_LEVEL=debug SKIP_VERSION_CHECK=1 nodemon --exec 'tsx src/index.ts -s --config $(pwd)/hooked-server.yaml --ssl --api-key abc'", "build": "tsc --build", "build:clean": "tsc --build --clean", "postbuild": "chmod 755 dist/index.js", "installBin": "npm link", "prej": "yarn workspace cli build", "j": "node ./dist/index.js", "initialPublish": "npm publish --access public", "test": "LOG_LEVEL=debug ts-mocha", "test:bdd": "NODE_OPTIONS='--loader ts-node/esm' cucumber-js", "test:bdd:wip": "NODE_OPTIONS='--loader ts-node/esm' cucumber-js --tags @wip", "test:bdd:watch": "nodemon --exec 'npm run test:bdd'", "test:debug": "LOG_LEVEL=debug DEBUG=mocha:* ts-mocha", "test:watch": "nodemon", "test:watch:wip": "nodemon --exec 'npm run test -- --grep wip'", "test:coverage": "nyc --reporter=html --reporter=text --reporter=text-summary npm test", "test:wip": "npm run test -- --grep wip", "lint": "eslint --ext .js,.ts src", "lint:fix": "eslint --fix --ext .js,.ts src", "prettier": "prettier --write 'src/**/*.{js,ts,json}|*.{js,ts,json}'", "pretty-quick": "pretty-quick", "npm-check": "npm-check --production" }, "dependencies": { "bcrypt": "5.1.1", "bcryptjs": "2.4.3", "commander": "12.1.0", "cookie-parser": "1.4.6", "cors": "2.8.5", "cron": "3.1.7", "ethers": "6.13.1", "express": "4.19.2", "glob": "10.4.2", "hjson": "3.2.2", "inquirer": "9.3.1", "jsonpath": "1.1.1", "jsonwebtoken": "9.0.2", "node-cleanup": "2.1.2", "passport": "0.7.0", "passport-jwt": "4.0.1", "tmp": "0.2.3", "ws": "8.17.1", "yaml": "2.4.5", "zod": "3.23.8" }, "devDependencies": { "@cucumber/cucumber": "10.9.0", "@eslint/js": "9.8.0", "@types/bcrypt": "5.0.2", "@types/bcryptjs": "2.4.6", "@types/chai": "4.3.16", "@types/chai-as-promised": "7.1.8", "@types/commander": "2.12.2", "@types/cookie-parser": "1.4.7", "@types/cors": "2.8.17", "@types/express": "4.17.21", "@types/hjson": "2.4.6", "@types/inquirer": "9.0.7", "@types/jsonpath": "0.2.4", "@types/jsonwebtoken": "9.0.6", "@types/mocha": "10.0.7", "@types/node": "20.14.9", "@types/node-cleanup": "2.1.5", "@types/passport": "1.0.16", "@types/passport-jwt": "4.0.1", "@types/sinon": "17.0.3", "@types/tmp": "0.2.6", "chai": "5.1.1", "chai-as-promised": "8.0.0", "eslint": "9.8.0", "globals": "15.8.0", "mocha": "10.5.2", "nodemon": "3.1.4", "sinon": "18.0.0", "ts-mocha": "10.0.0", "ts-node": "10.9.2", "tsx": "4.16.0", "typescript": "5.5.4", "typescript-eslint": "7.17.0", "zod-to-json-schema": "3.23.2" }, "gitHead": "998ed0a18a759e2160a72dea4d7c41e4125d5c54" }