UNPKG

replacer-util

Version:

Find and replace strings or template outputs in text files (CLI tool designed for use in npm package.json scripts)

95 lines (94 loc) 2.48 kB
{ "name": "replacer-util", "version": "1.3.2", "description": "Find and replace strings or template outputs in text files (CLI tool designed for use in npm package.json scripts)", "license": "MIT", "type": "module", "module": "dist/replacer.js", "types": "dist/replacer.d.ts", "exports": "./dist/replacer.js", "files": [ "dist" ], "bin": { "replacer": "bin/cli.js", "replacer-util": "bin/cli.js" }, "repository": { "type": "git", "url": "git+https://github.com/center-key/replacer-util.git" }, "homepage": "https://github.com/center-key/replacer-util", "bugs": "https://github.com/center-key/replacer-util/issues", "docs": "https://github.com/center-key/replacer-util#readme", "author": "Center Key (https://centerkey.com)", "keywords": [ "cli", "concat", "files", "recursive", "regex", "replace", "scripts", "search", "site-generator", "template" ], "jshintConfig": { "esversion": 11, "strict": "implied", "eqeqeq": true, "undef": true, "unused": true, "varstmt": true, "node": true, "mocha": true }, "runScriptsConfig": { "clean": [ "rimraf build dist spec/fixtures/target" ], "lint": [ "jshint . --exclude-path .gitignore", "eslint --max-warnings 0" ], "build": [ "tsc", "add-dist-header build dist" ] }, "scripts": { "pretest": "run-scripts clean lint build", "test": "mocha spec/*.spec.js", "posttest": "html-validator spec/fixtures/target" }, "dependencies": { "chalk": "~5.3", "cli-argv-util": "~1.2", "fancy-log": "~2.0", "glob": "~11.0", "istextorbinary": "~9.5", "liquidjs": "~10.16", "slash": "~5.1" }, "devDependencies": { "@eslint/js": "~9.9", "@fortawesome/fontawesome-free": "~6.6", "@types/fancy-log": "~2.0", "@types/node": "~22.2", "add-dist-header": "~1.4", "assert-deep-strict-equal": "~1.2", "copy-file-util": "~1.2", "eslint": "~9.9", "fetch-json": "~3.3", "highlight.js": "~11.10", "jshint": "~2.13", "mocha": "~10.7", "pretty-print-json": "~3.0", "rimraf": "~6.0", "run-scripts-util": "~1.3", "typescript": "~5.5", "typescript-eslint": "~8.1", "w3c-html-validator": "~1.8" } }