UNPKG

copy-file-util

Version:

Copy or rename a file with optional package version number (CLI tool designed for use in npm package.json scripts)

82 lines (81 loc) 2.09 kB
{ "name": "copy-file-util", "version": "1.2.3", "description": "Copy or rename a file with optional package version number (CLI tool designed for use in npm package.json scripts)", "license": "MIT", "type": "module", "module": "dist/copy-file.js", "types": "dist/copy-file.d.ts", "exports": "./dist/copy-file.js", "files": [ "dist" ], "bin": { "copy-file": "bin/cli.js", "copy-file-util": "bin/cli.js" }, "repository": { "type": "git", "url": "git+https://github.com/center-key/copy-file-util.git" }, "homepage": "https://github.com/center-key/copy-file-util", "bugs": "https://github.com/center-key/copy-file-util/issues", "docs": "https://github.com/center-key/copy-file-util#readme", "author": "Center Key (https://centerkey.com)", "keywords": [ "cli", "copy", "cp", "file", "rename", "scripts" ], "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" }, "dependencies": { "chalk": "~5.4", "cli-argv-util": "~1.2", "dna-engine": "~3.2", "fancy-log": "~2.0", "slash": "~5.1" }, "devDependencies": { "@eslint/js": "~9.21", "@types/fancy-log": "~2.0", "@types/node": "~22.13", "add-dist-header": "~1.4", "assert-deep-strict-equal": "~1.2", "eslint": "~9.21", "jshint": "~2.13", "mocha": "~11.1", "rimraf": "~6.0", "run-scripts-util": "~1.3", "typescript": "~5.8", "typescript-eslint": "~8.26" } }