UNPKG

stdouttojson

Version:
95 lines (94 loc) • 2.62 kB
{ "name": "stdouttojson", "version": "1.0.0", "description": "transforms stdout to JSON 📇", "main": "dist/index.js", "types": "dist/index.d.ts", "module": "dist/esm/index.js", "files": [ "dist" ], "scripts": { "build": "rimraf dist && tsup src/index.ts --format cjs,esm --dts --minify --clean --sourcemap --legacy-output", "commit-msg": "commitlint --edit $1", "install:commit-msg": "(path-exists .husky/commit-msg) || (npx husky add .husky/commit-msg 'npm run commit-msg')", "install:pre-commit": "(path-exists .husky/pre-commit) || (npx husky add .husky/pre-commit 'npm run pre-commit')", "lint": "eslint src/*.ts", "pre-commit": "lint-staged && pnpm typecheck", "prepare": "is-ci || (husky install && pnpm install:commit-msg && pnpm install:pre-commit)", "prepublishOnly": "pnpm i && pnpm test && pnpm build", "release": "release-it", "test": "tsx tests/index.test.ts", "transpile": "tsc && rollup --config rollup.config.ts --configPlugin typescript", "typecheck": "tsc --noEmit", "update": "codependence --update" }, "repository": { "type": "git", "url": "git+https://github.com/yowainwright/stdoutToJSON.git" }, "keywords": [ "stdout", "cli", "testing", "json", "stdoutJSON", "cli" ], "author": "Jeff Wainwright <https://jeffry.in> (yowainwright@gmail.com)", "license": "MIT", "bugs": { "url": "https://github.com/yowainwright/stdoutToJSON/issues" }, "homepage": "https://loom.com/share/6b7082bd802b43618646242477701def", "devDependencies": { "@commitlint/cli": "18.4.4", "@commitlint/config-conventional": "18.4.4", "@types/node": "20.11.5", "@typescript-eslint/eslint-plugin": "6.19.0", "@typescript-eslint/parser": "6.19.0", "codependence": "^0.2.6", "eslint": "8.56.0", "eslint-config-prettier": "^9.1.0", "husky": "8.0.3", "is-ci": "^3.0.1", "lint-staged": "15.2.0", "path-exists-cli": "^2.0.0", "release-it": "17.0.1", "rimraf": "5.0.5", "tslib": "2.6.2", "tsup": "^8.0.1", "tsx": "^4.7.0", "typescript": "5.3.3" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "header-max-length": [ 2, "always", 120 ] } }, "husky": { "hooks": { "pre-commit": "lint-staged && pnpm typecheck" } }, "lint-staged": { "src/**/*.ts": [ "eslint --fix" ] }, "release-it": { "git": { "commitMessage": "chore: release" } }, "dependencies": { "json5": "^2.2.3" } }