UNPKG

add-dist-header

Version:

Prepend a one-line banner comment (with license notice) to distribution files

89 lines (88 loc) 2.33 kB
{ "name": "add-dist-header", "version": "1.4.4", "description": "Prepend a one-line banner comment (with license notice) to distribution files", "license": "MIT", "type": "module", "module": "dist/add-dist-header.js", "types": "dist/add-dist-header.d.ts", "exports": "./dist/add-dist-header.js", "files": [ "dist" ], "bin": { "add-dist-header": "bin/cli.js", "dist-header": "bin/cli.js" }, "repository": { "type": "git", "url": "git+https://github.com/center-key/add-dist-header.git" }, "homepage": "https://github.com/center-key/add-dist-header", "bugs": "https://github.com/center-key/add-dist-header/issues", "docs": "https://github.com/center-key/add-dist-header#readme", "author": "Center Key (https://centerkey.com)", "keywords": [ "banner", "directory", "dist", "distribution", "file", "folder", "header", "prepend" ], "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" ], "build": [ "jshint . --exclude-path .gitignore", "eslint --max-warnings 0", "tsc" ], "dist": [ "copy-file build/src/add-dist-header.js --folder dist", "node bin/cli.js --no-version build/src dist", "html-validator spec" ] }, "scripts": { "pretest": "run-scripts clean build dist", "test": "mocha spec/*.spec.js" }, "dependencies": { "chalk": "~5.4", "cli-argv-util": "~1.2", "fancy-log": "~2.0", "glob": "~11.0", "istextorbinary": "~9.5", "slash": "~5.1" }, "devDependencies": { "@eslint/js": "~9.21", "@types/fancy-log": "~2.0", "@types/node": "~22.13", "assert-deep-strict-equal": "~1.2", "copy-file-util": "~1.2", "copy-folder-util": "~1.1", "eslint": "~9.21", "jshint": "~2.13", "mocha": "~11.1", "rimraf": "~6.0", "run-scripts-util": "~1.3", "typescript": "~5.7", "typescript-eslint": "~8.25", "w3c-html-validator": "~1.8" } }