{"_id":"@andygotfridt/minifyallmod","_rev":"3-14b64e785ae6ed2b816684457c416894","name":"@andygotfridt/minifyallmod","dist-tags":{"latest":"1.1.20"},"versions":{"1.1.17":{"name":"@andygotfridt/minifyallmod","version":"1.1.17","description":"A CLI tool to minify JSON/C, HTML and CSS. Original https://github.com/Josee9988/MinifyAllCli","main":"dist/index.js","bin":{"minifyallmod":"bin/minifyall.js"},"types":"dist/index.d.ts","pre-commit":["versionUpdater"],"scripts":{"prepare":"npm run versionUpdater && npm run build","rmDist":"rm -R dist/ || exit 0","prepublish":"npm run rmDist && npm run prepare","prepublishOnly":"npm run lint","preversion":"npm run lint","build":"tsc && tsc -d --declarationDir dist/ --emitDeclarationOnly","watch":"tsc -watch","lint":"tslint -p tsconfig.json","start":"node dist/index.js","removeExtraExampleTestFile":"rm tests/.exampleTestFiles/testFile.min.css || exit 0","pretest":"npm run removeExtraExampleTestFile","test":"jest --ci","posttest":"npm run removeExtraExampleTestFile","removeExtraExampleTestFiles":"cd tests/.exampleTestFiles && rm -v !('jsonCFile.jsonc'|'jsonFile.json'|'styles.css'|'myWebpage.html') && cd ../..","uglifyjs":"uglifyjs-folder dist -e -o dist -x .js","testPack":"npm pack && tar -xvzf *.tgz && rm -rf package *.tgz","versionUpdater":"echo 'running versionUpdater...' && bash bin/versionUpdater.sh"},"private":false,"repository":{"type":"git","url":"git+https://github.com/AndyGotfridt/MinifyAllCli.git"},"keywords":["css","json","jsonc","html","css3","html5","minify","minifier"],"jest":{"preset":"ts-jest"},"author":{"name":"@AndyGotfridt"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/AndyGotfridt/MinifyAllCli/issues"},"homepage":"https://github.com/AndyGotfridt/MinifyAllCli#readme","devDependencies":{"@types/jest":"^25.2.2","@types/node":"^14.0.1","jest":"^25.0.1","pre-commit":"^1.2.2","ts-jest":"^25.5.1","tslint":"^6.1.2","typescript":"^3.9.2","uglifyjs-folder":"^2.0.0"},"dependencies":{"arg":"^4.1.3","chalk":"^4.0.0","esm":"^3.2.25"},"gitHead":"37be246ed422798fa4ca9604220b008d52553de7","_id":"@andygotfridt/minifyallmod@1.1.17","_nodeVersion":"14.16.1","_npmVersion":"7.11.2","dist":{"integrity":"sha512-077vzZegWf0xKUWPNM1JwbHibgB92d3/a2V81rT39iet9K1LJHnl4odZXHD8M5OOqUcBKlH3fPoUkjqqS8AIJA==","shasum":"0a81131795f986d9e7ac6d6cc3152de148f1d079","tarball":"https://registry.npmjs.org/@andygotfridt/minifyallmod/-/minifyallmod-1.1.17.tgz","fileCount":32,"unpackedSize":45119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkKbrCRA9TVsSAnZWagAA+4AP/jnXj/H8alIIKDjwk8lH\nq2WRP0cbqV6Br8yHTebY8CsF5qdAg+SWVDvoS/mkeJVS8JhnijHCQZXyklV4\n+Uvz0f/Mu7wtSp1punuwff5bNm7frEVKLobWGZ+lLZHmkXxAnFUN/+14TrPI\n94AomEa+CnttaEMSmDWBHXV12PzRQsfpyqcnboXA72HLXjM0SV22Gk4GmXHS\nsnw7l0y0cQEcjCDvKUZ9alRTKeO1t9aFnjSxPCzjOEBX0lmP5qNuXDEMjWIV\nfIUg84dCeJE5o958kbs3FSyxC9tjc4Pnbf3/DQBtf63qC+AeRUOduVhXuUi+\nLKlWtm73xZsiawELe6+JXBYhYhj9ZbdyIT2LIMWYGCxI5mNzzF0LAqzkCwTx\nMOqcV0kK2MBXvoS255nL+fhAukDBmAaNXH2wCI5oGtd/ESHs2QirIBNcV8Va\nixoNNWrfJOou7DqQHMT/i6YFvrx2PvxGO0PzZz/3Lj+Ns0X+aTS4+GUvlUB/\n5Djah03bvVhUuGXv5XuM9VTaiO5URqeR6SYrVkeMvA5Toi1weENN0Pq3t3v9\nHdHasgebMdvFXvRstfeq2MCMdQ7XMucrihs58zi2QU5s+/d0n626BJfesWbm\nLpBpHP+dGq/FUUZZC9Ghf8IixTNSdtuNuNd1qEghFxpsgC2YvRAolD09l85q\nmZ1l\r\n=nD19\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCH5D7awAD6GkwPx/vPH8z6wP9lPKNWPnaS0VQ42kK0VQIgBy+AgRhsd3NLW2+psMJpbXJrdEwuGA25p5MdD7ORrdE="}]},"_npmUser":{"name":"andygotfridt","email":"andresgotfridt@gmail.com"},"directories":{},"maintainers":[{"name":"andygotfridt","email":"andresgotfridt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minifyallmod_1.1.17_1620092651044_0.5421224473364523"},"_hasShrinkwrap":false},"1.1.18":{"name":"@andygotfridt/minifyallmod","version":"1.1.18","description":"A CLI tool to minify JSON/C, HTML and CSS. Original https://github.com/Josee9988/MinifyAllCli","main":"dist/index.js","bin":{"minifyallmod":"bin/minifyall.js"},"types":"dist/index.d.ts","pre-commit":["versionUpdater"],"scripts":{"prepare":"npm run versionUpdater && npm run build","rmDist":"rm -R dist/ || exit 0","prepublish":"npm run rmDist && npm run prepare","prepublishOnly":"npm run lint","preversion":"npm run lint","build":"tsc && tsc -d --declarationDir dist/ --emitDeclarationOnly","watch":"tsc -watch","lint":"tslint -p tsconfig.json","start":"node dist/index.js","removeExtraExampleTestFile":"rm tests/.exampleTestFiles/testFile.min.css || exit 0","pretest":"npm run removeExtraExampleTestFile","test":"jest --ci","posttest":"npm run removeExtraExampleTestFile","removeExtraExampleTestFiles":"cd tests/.exampleTestFiles && rm -v !('jsonCFile.jsonc'|'jsonFile.json'|'styles.css'|'myWebpage.html') && cd ../..","uglifyjs":"uglifyjs-folder dist -e -o dist -x .js","testPack":"npm pack && tar -xvzf *.tgz && rm -rf package *.tgz","versionUpdater":"echo 'running versionUpdater...' && bash bin/versionUpdater.sh"},"private":false,"repository":{"type":"git","url":"git+https://github.com/AndyGotfridt/MinifyAllCli.git"},"keywords":["css","json","jsonc","html","css3","html5","minify","minifier"],"jest":{"preset":"ts-jest"},"author":{"name":"@AndyGotfridt"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/AndyGotfridt/MinifyAllCli/issues"},"homepage":"https://github.com/AndyGotfridt/MinifyAllCli#readme","devDependencies":{"@types/jest":"^25.2.2","@types/node":"^14.0.1","jest":"^25.0.1","pre-commit":"^1.2.2","ts-jest":"^25.5.1","tslint":"^6.1.2","typescript":"^3.9.2","uglifyjs-folder":"^2.0.0"},"dependencies":{"arg":"^4.1.3","chalk":"^4.0.0","esm":"^3.2.25"},"gitHead":"37be246ed422798fa4ca9604220b008d52553de7","_id":"@andygotfridt/minifyallmod@1.1.18","_nodeVersion":"14.16.1","_npmVersion":"7.11.2","dist":{"integrity":"sha512-CYW9fNpnPxPNYKM7thJcwqmSLYJ36kpCvh+13DsEZDOfm4yu7UEmE/NE+U8hPMwzPpcfNA0ajYDumZgoPfwwng==","shasum":"a1c1b5f954e75134a0c433d2fc3cb3fe433e20aa","tarball":"https://registry.npmjs.org/@andygotfridt/minifyallmod/-/minifyallmod-1.1.18.tgz","fileCount":32,"unpackedSize":43339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkXpGCRA9TVsSAnZWagAAN8AQAKUDai6XReLfVTzgTAGT\n06sO1celhQgF/ofVOasEAzjJbTVtb8B4K+qovi+Yl4bz2u6ZTgc82lswmxDL\ncC+zC0XoJP9lVoqwVgx7qCkwViLxSVWBFej3gWUyR4o68jP4Na+/iS3YpssT\nFbNbcaXfKNZza5R8eIj8Wa5PDpRPpN4RV/6ojtDOJUw/SGSGWJFS3qtc/JrM\nxZrxnZ+LnfTsh+dacNmUTQX/8mBHjRYDmDEoBW0vbYTx93nhVvWYUVBVvAhB\nlfcXHzXb0/15lCzT64NTjxsNYq5Hp2F0h1WO16tmMYqDKKJJlIRoRh1PkZz0\niJymtgJESDwY8f/9CQoKGWdKVlPu1g0y52m8teRH5FqKuArXFFtolkldB3eF\nQj9F0jb4gvAvfESqpZiDQBTSQwepF3gUgSqoHVkAFEnorxJMuIa4Hko9g46V\n2QZLT3GQ87vJ0Pa+oHrJQCkZYPBJYxvzjTGaVCj55YZuaMshU/k1x6kjdxPk\nXgpZDdgCHBLUvdbQMkxYTRl4/b9Zg4QkirhF/AGwWp9YjmIUIP+1y10fH1yi\nYjfPZEEiv4xhN7HNX4InCDeVLxETm2j000vt7xHkSHoki21uHTKVDohk6Jgk\nXMtaECPn7PKHcoE5QT6wx1VcUDFJ6QhqlqrFrX+qILBWzP+RbpjKpRdx/T2b\nbj61\r\n=Hz17\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGObv+5t6HpijU9DSh3cAlYSHhwhqDjCWmMdjsi014DwAiEA7WR+6lQP5zw+GEN7ZbVN44xL9R+6Nb9Rl1LS7S2Zxxc="}]},"_npmUser":{"name":"andygotfridt","email":"andresgotfridt@gmail.com"},"directories":{},"maintainers":[{"name":"andygotfridt","email":"andresgotfridt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minifyallmod_1.1.18_1620146757435_0.5764049318075479"},"_hasShrinkwrap":false},"1.1.20":{"name":"@andygotfridt/minifyallmod","version":"1.1.20","description":"A CLI tool to minify JSON/C, HTML and CSS. Original https://github.com/Josee9988/MinifyAllCli","main":"dist/index.js","bin":{"minifyallmod":"bin/minifyall.js"},"types":"dist/index.d.ts","pre-commit":["versionUpdater"],"scripts":{"prepare":"npm run versionUpdater && npm run build","rmDist":"rm -R dist/ || exit 0","prepublish":"npm run rmDist && npm run prepare","prepublishOnly":"npm run lint","preversion":"npm run lint","build":"tsc && tsc -d --declarationDir dist/ --emitDeclarationOnly","watch":"tsc -watch","lint":"tslint -p tsconfig.json","start":"node dist/index.js","removeExtraExampleTestFile":"rm tests/.exampleTestFiles/testFile.min.css || exit 0","pretest":"npm run removeExtraExampleTestFile","test":"jest --ci","posttest":"npm run removeExtraExampleTestFile","removeExtraExampleTestFiles":"cd tests/.exampleTestFiles && rm -v !('jsonCFile.jsonc'|'jsonFile.json'|'styles.css'|'myWebpage.html') && cd ../..","uglifyjs":"uglifyjs-folder dist -e -o dist -x .js","testPack":"npm pack && tar -xvzf *.tgz && rm -rf package *.tgz","versionUpdater":"echo 'running versionUpdater...' && bash bin/versionUpdater.sh"},"private":false,"repository":{"type":"git","url":"git+https://github.com/AndyGotfridt/MinifyAllCli.git"},"keywords":["css","json","jsonc","html","css3","html5","minify","minifier"],"jest":{"preset":"ts-jest"},"author":{"name":"@AndyGotfridt"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/AndyGotfridt/MinifyAllCli/issues"},"homepage":"https://github.com/AndyGotfridt/MinifyAllCli#readme","devDependencies":{"@types/jest":"^25.2.2","@types/node":"^14.0.1","jest":"^25.0.1","pre-commit":"^1.2.2","ts-jest":"^25.5.1","tslint":"^6.1.2","typescript":"^3.9.2","uglifyjs-folder":"^2.0.0"},"dependencies":{"arg":"^4.1.3","chalk":"^4.0.0","esm":"^3.2.25"},"gitHead":"37be246ed422798fa4ca9604220b008d52553de7","_id":"@andygotfridt/minifyallmod@1.1.20","_nodeVersion":"14.16.1","_npmVersion":"7.11.2","dist":{"integrity":"sha512-jrp8wTGSAnShSr5cbts74/+PaqygD7g+kA9attVt4J7PXB+BdImThqJokHBlXmi40E0CGM/NkLzsC/cw8rWCqQ==","shasum":"ebbdc109d936be5c4226b902d6cf8ce94ed22f6c","tarball":"https://registry.npmjs.org/@andygotfridt/minifyallmod/-/minifyallmod-1.1.20.tgz","fileCount":32,"unpackedSize":43343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkYANCRA9TVsSAnZWagAAzKQP/3iOXsKdgBL12/yJm8sM\nE9KuPM+g7Pt4lNLYuncmrwPagfzisvdWYLd5pWqu+iE+UafeIwi8nccK9nGj\n4cEQ8EzW/uEUQYm+Wsbhv3k+I0w+1T2qbJVo0kpLyCv2C4/j+ujRyi0adJaq\nacNQkuJlIARiDikEVSnAXYoZ74sd05QqJNkWTbzY3uRa6O/5XBzAAbzdYpNR\nBG/XEBV31PLJrkgeJFooXsoAlolL+HLmw0NajlQhcRepbwpTZvD/3/ue71KM\ng1SchtwEVUsHvBFkdRJ46aWVstlutYBmZydV3eBoC3JB9dXPhXJM/DD/yOm5\ngK+9CxXWZbdV5iwvjuiyaBW0WDPp74Rj9pJRt4NXSW6TTrt/WCgfQPPeUSZ8\nb7shMGB6hhH39Di/8K8yOW0YXMvKinl+/oTM4qYJJLPAp7Ch3JfyIQDfTuLL\nJj4rnIDYD9WalRS+5JGALS1JW5SO+eDIKxR+6HZf3wIMUyJKl7m0i8H7SFoD\niVM7bnW7jSZrUw8A3IZvBZZtpP3lOleeqU/SL8DpdDuCn+xU1THEylXmkKQv\nKT04A6HsL4xORNCoOc2lVRgtUUv/dwjvLwXDZ4jOWmZeZi8POTIBESQPS0o2\n9oXlUWyhY4ZLnOreZoQx8D4DawsbuCZay9RJUOHhTMmj5C55p5/TF8Sdc0S+\nvozj\r\n=8cVL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfg53WPeXX+8YUH6C8X0C1s1MMfx4LHKfaV3UIKu1PogIhALKP4TZiZRC7RKdj/HgWPlKYwfrMZmnY80Lz0GY3VFoo"}]},"_npmUser":{"name":"andygotfridt","email":"andresgotfridt@gmail.com"},"directories":{},"maintainers":[{"name":"andygotfridt","email":"andresgotfridt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minifyallmod_1.1.20_1620148237243_0.1933087467781056"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-04T01:44:10.981Z","1.1.17":"2021-05-04T01:44:11.185Z","modified":"2022-04-04T14:04:40.013Z","1.1.18":"2021-05-04T16:45:57.599Z","1.1.20":"2021-05-04T17:10:37.360Z"},"maintainers":[{"name":"andygotfridt","email":"andresgotfridt@gmail.com"}],"description":"A CLI tool to minify JSON/C, HTML and CSS. Original https://github.com/Josee9988/MinifyAllCli","homepage":"https://github.com/AndyGotfridt/MinifyAllCli#readme","keywords":["css","json","jsonc","html","css3","html5","minify","minifier"],"repository":{"type":"git","url":"git+https://github.com/AndyGotfridt/MinifyAllCli.git"},"author":{"name":"@AndyGotfridt"},"bugs":{"url":"https://github.com/AndyGotfridt/MinifyAllCli/issues"},"license":"BSD-3-Clause","readme":"# **MinifyAll CLI MOD** ORIGINAL VERSION OF https://github.com/Josee9988/MinifyAllCli\n\nA simple package to minify your web **code**, _you will love its simplicity_!\n\nWith MinifyAll you will be able to minify **.html**, **.css**, **.json** and **.jsonc** directly from the CLI.\nIt also supports **minifying an entire directory recursively** (finding the available file extensions),\nyou could also change the **suffix** of the new minified file (by default \"-min\"),\ntoggle the minimization of **RGB**/**HEX** values and _much more_! \n\nUse it as a **CLI command** or as a **normal package**!\n\nMinifyAll uses **regex** as its main and only minimization tool, that will lead to **impressive minify times** compared to other minifiers that deeply analyze the code.\n\nCheck the **[website](https://minifyall.jgracia.es/)** or the original **[VSCode extension](https://github.com/Josee9988/MinifyAll)**.\n\n---\n\n## **Languages available** 🧪🔥\n\n- **HTML**\n- **CSS**\n- **JSON**\n- **JSONC**\n\n---\n\n## **Installation**\n\n  ### **Global installation**\n\n```bash\nnpm i @andygotfridt/minifyall --save-dev # install the package globally\n```\n\n  ### **Package installation**\n  \n  ```bash\n  npm i @andygotfridt/minifyall --save # install the package in your project\n  ```\n\n---\n\n## **Usage**\n\n### **CLI usage**\n  \n**`minifyall --help`** or **`minifyall --help`** will output:\n  \n  ```\nMinifyAllCli v1.1.20 MOD\n\nUsage: minifyall [file] [options]\n\nGlobal options:\n\n  -h, --help              Output usage information. (will ignore any other arguments)\n  -v, --version           Output package version. (will ignore any other arguments)\n  -m, --minify-hex                Will minify the hexadecimal color values. (default = false)\n  -s, --suffix            Append a suffix string to the minified filename\n  -o, --output            The new output file (will ignore \"--suffix\" argument)\n  -d, --dir               Will recursively look for HTML/CSS/JSON files inside a directory and will minify every one (will ignore \"--output\" argument)\n\nExamples of use:\n  minifyall --help\n  minifyall --version\n  minifyall myFile.css\n  minifyall pathToMyFile/dirs/myFile.css\n  minifyall myFile.css -m -s .min\n  minifyall myFile.css --minify-hex -s -minified\n  minifyall myFile.css --output someFolder/myNewFile.css\n  minifyall --dir myFolder/\n\nFor more information visit: https://github.com/Josee9988/MinifyAllCli\n  ```\n\n### **Package usage**\n   \n1. Import the package.\n  \n      ```typescript\n    import {MinifyAllClass} from '@andygotfridr/minifyall'; // import it\n      ```\n\n2. Initialize the minifier.\n  \n    ```typescript\n    const minifyall: MinifyAllClass = new MinifyAllClass(false); // initialize the class (true for minifying color values such as HEXADECIMAL/RGB/RGBA)\n    ```\n    \n3. Use the minifier by passing the function your array of strings (: string[]) with your non minified code.\n    \n    ```typescript\n    const minifiedHtmlCode: string = minifyall.minifyHtml(HTMLNotMinified); // html\n    const minifiedCssCode: string = minifyall.minifyCssScssLessSass(CSSNotMinified); // css\n    const minifiedJsonCode: string = minifyall.minifyJsonJsonc(JSONNotMinified); // json/c\n    ```\n\n---\n\n## **Built with**\n\n* [WebStorm](https://www.jetbrains.com/webstorm/)\n* [TypeScript](https://www.typescriptlang.org/)\n* [npm](https://www.npmjs.com/)\n* [Github](https://github.com/Josee9988)\n\n---\n\n## **Contributing**\n\nThis project is actively looking for new contributors to develop new functions, maintain and improve the project.\nIf you are interested make sure to fork the project and pull-request your improvements to be added as a contributor!\n\n---\n\n_Made with a lot of ❤️❤️ by **[@Josee9988](https://github.com/Josee9988)**_\n","readmeFilename":"README.md"}