UNPKG

esm-to-plain-js

Version:

Simplistic string substitution to replace export with a globalThis assignment (CLI tool designed for use in npm package.json scripts)

77 lines (76 loc) 2.04 kB
{ "name": "esm-to-plain-js", "version": "1.1.4", "description": "Simplistic string substitution to replace export with a globalThis assignment (CLI tool designed for use in npm package.json scripts)", "license": "MIT", "type": "module", "module": "dist/esm-to-plain-js.js", "types": "dist/esm-to-plain-js.d.ts", "exports": "./dist/esm-to-plain-js.js", "files": [ "dist" ], "bin": { "esm-to-plain-js": "bin/cli.js" }, "repository": { "type": "git", "url": "git+https://github.com/center-key/esm-to-plain-js.git" }, "homepage": "https://github.com/center-key/esm-to-plain-js", "bugs": "https://github.com/center-key/esm-to-plain-js/issues", "docs": "https://github.com/center-key/esm-to-plain-js#readme", "author": "Center Key (https://centerkey.com)", "keywords": [ "cli", "export" ], "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", "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", "copy-file-util": "~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" } }