{"_id":"mimosa-minify-js","_rev":"27-802fc97174b1d4b3ec8fa892929ca873","name":"mimosa-minify-js","description":"JS Minification module w/source maps for Mimosa browser development workflow tool","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"mimosa-minify-js","version":"1.0.0","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.3","wrench":"1.5.1","logmimosa":"0.6.0"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","scripts":{"prepublish":"mimosa build"},"bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.0.0","dist":{"shasum":"9e6bf9cfa18dc6337cdeb6cb99eea5940527cd37","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.0.0.tgz","integrity":"sha512-6c+rjAcnN+CdvSbPiR/obsXq9eDeUJ/1VtkvDv2aa9dVRVeoZbtwBJ12q7l7bpIGacUQKh7r/sMa/5yhsPx/hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9KniPT0Jmk5XFvDmqrvqVx8Wjn9+aiSkc2mTdKySM1AiEA6/lM1VKRTG9XmMSJiyekkO4gVjDPGd5TxPRMEUrmRzs="}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}],"directories":{}},"1.0.1":{"name":"mimosa-minify-js","version":"1.0.1","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.3","wrench":"1.5.1","logmimosa":"0.6.0"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","scripts":{"prepublish":"mimosa build"},"bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.0.1","dist":{"shasum":"16beaaa2fa406a1d9275750939863857271303b1","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.0.1.tgz","integrity":"sha512-fJxiCT1wrpoyAjIzTCVm2l69B7+bdvVItiJyDVn5T9KlhpGP01Ipzw1Mj3u/rPH661h30GVV179Z2QmSFkeSWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVcF6o8LGvy0gWz96hkAeT1Gd4SBiXuJ+E61UNlD338AiAakvcebp1MaVsxXFUkyrt7iKf54BdYQ6lpraQHK6Ea2Q=="}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.0":{"name":"mimosa-minify-js","version":"1.1.0","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.3","wrench":"1.5.6"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.0","dist":{"shasum":"dfd7baa92b05e1561e708a7b62069446cab3be86","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.0.tgz","integrity":"sha512-OQFC0tbPGCo283JqVtuz2Lqp7aG+dCnHDKcwYo/FD6YuAYzPmgdVUuorID38KBHZoMYUAA2CtF8+hYKny9SNYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC318MdHjny4vwk+URuYDs5wlYK1tnkQFS3d7wfVpSg4QIgdYFHtGEMBIa4dhm+7pbziFEZz/LCJFG/CKXlFj6SlU0="}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.1":{"name":"mimosa-minify-js","version":"1.1.1","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.3","wrench":"1.5.6"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.1","dist":{"shasum":"5e3687830f1ef4add79f5da702d7de2c87d691c6","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.1.tgz","integrity":"sha512-y1yzZO2sGSWgdoHnQsyYg1a5dXsBoySSq2/kFeKlRnW+IBaWMyXgzB+cXoia38LeYUXaxvBCoBzLjmCcxnlZkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdwCQ1C10aNkCgRZEUtrhHoMnOF55KotdiKHNgeN4fTAiEA8cI6NQonPtTl6pu1heldHmRWRkLd9PR3EMduimUaNoQ="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.2":{"name":"mimosa-minify-js","version":"1.1.2","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.3","wrench":"1.5.6"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.2","dist":{"shasum":"c6a10fa3400be71c79941deaacd4febbcfc63826","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.2.tgz","integrity":"sha512-jqzS8RBEJ+rTLQBh8+ph+L34zttvGWgPsLlTV3UhTriTAZR1uXmz9frWZXyJItgvqfmHBktjL+PDTVe3fPZlQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxWA7uYXYw+5INr6TDyVwoq6bbneHZZsD3jM9IPHQ0RQIhAMh8SdT4ClqOHwPXf5VXgIDYKxgw0/7BXg+HyPnHmCZ9"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.3":{"name":"mimosa-minify-js","version":"1.1.3","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.13","wrench":"1.5.8"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.3","dist":{"shasum":"e107c2f391a2c78381c4015270d0a2b1e800b699","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.3.tgz","integrity":"sha512-du2DQhJzEtVClfEppGyoBIMlDG8FXtUQHy04yb4CPhGMSXJOMUgCxjfGlBZthIXoBqaAsNENsb1XBUm9HoobLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSuzscKqLhRenTCxwerYS2+NNxXVO4r5UjxTfyK0V7rAiEA2jI5TmT/UM7E/D/ehEjc6AfNxF13hAGI+zlsVUKYpFY="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.4":{"name":"mimosa-minify-js","version":"1.1.4","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.15","wrench":"1.5.8"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.4","dist":{"shasum":"d7c2342374829e1c9b2b1f438eb4924c1942abd2","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.4.tgz","integrity":"sha512-FyqJoJCfdPFXd0KH+QOuX1vAKVkpsqxFf0pnG1o2zEjL9HZNUKf/Y/s2CUL4z9npiNc2P9HVICtpI5CLzMBwmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAi7g58JFJQ41jbO0BaLoGt7NfmOeay94Z6WvOfWKEMhAiEAvWgkCatV8q8uMsCwxA3Jc0yf3AtM1DnyDHvoDzBMHho="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.5":{"name":"mimosa-minify-js","version":"1.1.5","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.15","wrench":"1.5.8"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.5","dist":{"shasum":"f38d0897a3dbf041b157a0ded54813f5f7586e58","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.5.tgz","integrity":"sha512-RzY1L/Gypk57pSK4e9xtP+Iz9HueBkV6DptPTU7GtzFiWH93z/8UULydgqvKHk2d6yV3NbwvTwCKF1w1vNzHWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDry5ha8eOXBjForxkVotuL/SH3u0T/c/+TppnvLImhGQIgbRcMQVsct6cPnWkXUO49ZYPDtgjMvnWG8n3eTbEKLpg="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}]},"1.1.6":{"name":"mimosa-minify-js","version":"1.1.6","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.16","wrench":"1.5.8"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","gitHead":"732de8c88298d3d336ab348c537281d61dd6c483","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@1.1.6","scripts":{},"_shasum":"c24aa8bcf6b41ab8e7cb239d3a48260dd1cf99b1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}],"dist":{"shasum":"c24aa8bcf6b41ab8e7cb239d3a48260dd1cf99b1","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-1.1.6.tgz","integrity":"sha512-Ijnjh0PtMwuAqfkqqQhNOEv2Qvk5UPPCBlOQ7zz0/DNu8DJy/FcbRqWxSqVAoTFR5H2S+Vt/A7INcislGD7wIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQZm1DxXgxaxhhiMZpMJReAT+xJaDav/yELJ3kpTk+3AIhAO66SQOLBjzF2QGY4pO8ol3NgY4N7VeU/TdGJGwVZsYQ"}]}},"2.0.0":{"name":"mimosa-minify-js","version":"2.0.0","homepage":"http://www.mimosa.io","author":{"name":"David Bashford"},"description":"JS Minification module w/source maps for Mimosa browser development workflow tool","contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"dependencies":{"uglify-js":"2.4.16","wrench":"1.5.8","convert-source-map":"0.4.1","source-map-url":"0.3.0"},"license":"MIT","engines":{"node":">=0.8"},"main":"./src/index","gitHead":"a88d9e8947d860e8295314572993b6b5201f2de1","bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"_id":"mimosa-minify-js@2.0.0","scripts":{},"_shasum":"14f60abc50392534449b85bbe6d253069a5e130b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dbashford","email":"dbashford@hotmail.com"},"maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}],"dist":{"shasum":"14f60abc50392534449b85bbe6d253069a5e130b","tarball":"https://registry.npmjs.org/mimosa-minify-js/-/mimosa-minify-js-2.0.0.tgz","integrity":"sha512-5SO4Jo3imVANFByTT/a484UOt5Q/zQRUClM2X99wyltpGfMkWuQOTMhMNZ5Sn+BO39nXKLQlXwoGxNBZ7NgPNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFUi/eipbF2uGaZFSyVVTKEP/0I9IeR1eU+CqmaHGLhwIhANYp4jgVvvL0npliZhG2qzzq6kQTk2bvHraI8D9YQz0p"}]}}},"readme":"mimosa-minify-js\n===========\n\nThis is a JavaScript minification module for the Mimosa build tool. This tool utilizes [uglify](https://github.com/mishoo/UglifyJS2) to perform the minification of JavaScript assets.\n\nFor more information regarding Mimosa, see http://mimosa.io.\n\n# Usage\n\nAdd `'minify-js'` to your list of modules.  That's all!  Mimosa will install the module for you when you start `mimosa watch` or `mimosa build`.\n\n# Functionality\n\nWhen `mimosa watch` or `mimosa build` are executed with the `--optimize` or `--minify` flag, this module will minify any files identified as `.js` right before the output is written.  This includes plain `.js` files but also any files compiled by any of the Mimosa JavaScript compilers.\n\nIf minifying a file that has an external sourceMap the minifier will use the source map and use it to create a new map. So, for example, CoffeeScript compiled to JavaScript and then minified will have source maps that map the minified code back to the CoffeeScript source if external (not inline) source maps are used.\n\n## Source Maps\n\nSource maps will be generated when running `mimosa watch`.  This module will also check if an existing source map is in place and if it is, will attempt to read it in and use is to get multi-step source maps. This way you can have a source map that goes from minified JavaScript => JavaScript => CoffeeScript.\n\nAs of `v2.0.0` of this module, this module no longer writes `.map` files, instead it embeds all source map information inline via a base64 encoded string.\n\nSource maps will not be generated if running `mimosa build`.\n\n\n# Default Config\n\n```javascript\nminifyJS: {\n  exclude:[/\\.min\\./],\n  mangleNames:true\n}\n```\n\n#### `minifyJS.exclude` array of strings/regex\nMatches paths to exclude from minification. String paths can be either relative to the `watch.compiledDir` or absolute. String paths must include the file name. Any file possessing \".min.\" in its name, like `jquery.min.js`, is assumed to already be minified so it will be ignored by default.\n\n#### `minifyJS.mangleNames` boolean\nWhen set to `false` variable names will not be altered when JavaScript code is minified.\n\n# Release Notes\n\n### 2.0\n* Source maps are only provided inline. No longer will source maps be provided as separate files. If for some reason you need separate files, then pre-2.0 releases of this module will be needed.\n* Module will detect any existing inline source maps, pull them out and include them as `orig` maps in the uglify.  This way you get maps back to anything that may already be compiled.  i.e. coffeescript -> javascript -> minified javascript.\n* Many eslint errors fixed.","maintainers":[{"name":"dbashford","email":"dbashford@hotmail.com"}],"time":{"modified":"2022-06-19T20:07:41.509Z","created":"2013-11-27T21:44:08.892Z","1.0.0":"2013-11-27T21:44:10.212Z","1.0.1":"2013-12-12T01:01:50.839Z","1.1.0":"2014-02-13T01:28:19.953Z","1.1.1":"2014-03-05T17:01:46.017Z","1.1.2":"2014-05-06T13:08:36.845Z","1.1.3":"2014-05-30T18:05:19.220Z","1.1.4":"2014-07-28T21:23:19.443Z","1.1.5":"2014-08-04T15:43:21.950Z","1.1.6":"2015-01-07T00:22:05.460Z","2.0.0":"2015-01-07T20:09:14.670Z"},"author":{"name":"David Bashford"},"repository":{"type":"git","url":"https://github.com/dbashford/mimosa-minify-js"},"readmeFilename":"README.md","homepage":"http://www.mimosa.io","keywords":["javascript","uglify","minify","package","optimize","mimosa","mmodule","source maps","source","maps"],"contributors":[{"name":"David Bashford","email":"dbashford@hotmail.com"}],"bugs":{"url":"https://github.com/dbashford/mimosa-minify-js/issues"},"license":"MIT"}