UNPKG

pushoo-cli

Version:

A command line tool with Pushoo.js pushes multiple platform messages.

125 lines (124 loc) 3.29 kB
{ "name": "pushoo-cli", "version": "0.2.5", "description": "A command line tool with Pushoo.js pushes multiple platform messages.", "bin": { "pushoo": "./dist/index.js", "pushoo-cli": "./dist/index.js" }, "files": [ "dist/" ], "scripts": { "start": "node ./dist/index.js", "lint:code": "eslint --max-warnings 0 src/**/*.ts", "lint:style": "prettier --check 'src/**/*.ts'", "lint": "npm run lint:code && npm run lint:style", "compile": "ncc build ./src/main.ts --source-map --minify --license LICENSE -o ./dist", "dev": "watch \"npm run compile\" src", "prepublish": "npm run compile", "release": "np", "prepare": "if [[ $NODE_ENV != \"production\" ]]; then husky install; fi && patch-package && npm run compile", "npm:check": "npx npm-check-updates", "clean": "npx rimraf node_modules", "test:tsc": "tsc --project tsconfig.json", "test:unit": "vitest run --config config/vitest.ts", "test:watch": "vitest watch --config config/vitest.ts", "test": "npm run test:tsc && npm run test:unit", "pkg": "npm run compile && pkg package.json" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/funnyzak/pushoo-cli.git" }, "keywords": [ "nodejs", "pushoo-cli", "push-message", "pushoo" ], "engines": { "node": ">= 14" }, "author": "Leon (silenceace@gmail.com)", "license": "MIT", "bugs": { "url": "https://github.com/funnyzak/pushoo-cli/issues" }, "homepage": "https://github.com/funnyzak/pushoo-cli#readme", "dependencies": { "arg": "5.0.2", "boxen": "7.0.0", "chalk": "5.1.2", "chalk-template": "0.4.0", "clipboardy": "3.0.0", "command-exists": "1.2.9", "compression": "1.7.4", "globby": "13.1.2", "prompt": "1.3.0", "pushoo": "0.1.4", "update-check": "1.5.4", "yaml": "2.2.2" }, "devDependencies": { "c8": "7.12.0", "@types/node": "18.14.6", "@types/prompt": "1.1.4", "@typescript-eslint/eslint-plugin": "5.47.0", "@typescript-eslint/parser": "5.45.0", "@vercel/ncc": "0.36.0", "@vitest/coverage-c8": "0.28.3", "eslint": "8.40.0", "eslint-config-airbnb-base": "15.0.0", "eslint-config-airbnb-typescript": "17.0.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-prettier": "4.2.1", "husky": "8.0.3", "lint-staged": "13.1.0", "np": "7.6.4", "npm-check-updates": "16.6.2", "patch-package": "6.5.0", "pkg": "5.8.1", "prettier": "2.8.7", "rimraf": "^3.0.2", "typescript": "4.9.4", "vitest": "0.25.5", "watch": "1.0.2" }, "np": { "yarn": false, "contents": ".", "branch": "main", "releaseDraft": true }, "pkg": { "assets": [ "dist/**/*.js", "dist/**/*.map", "LICENSE", "dist/**/*.cjs" ], "targets": [ "node16-linux-x64", "node16-macos-x64", "node16-win-x64" ], "outputPath": "release" }, "publishConfig": { "access": "public" }, "lint-staged": { "*": [ "prettier --ignore-unknown --write" ], "source/**/*.ts": [ "eslint --max-warnings 0 --fix", "vitest related --run" ], "tests": [ "vitest --run" ] } }