{ "info": { "author": "Tom Gross", "author_email": "itconsense@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Topic :: Software Development :: Build Tools" ], "description": "collective.recipe.minify\n************************\n\n.. contents::\n\n\n- Code repository: http://svn.plone.org/svn/collective/collective.recipe.minify\n\n\nDetailed Documentation\n**********************\n\nSupported options\n-----------------\n\nThe recipe supports the following options:\n\ncss-command\n The script to be used for css minification. The YUI compressor is a good\n choice here. This option is not required. If it is omitted, a very simple\n whitespace stripping is done [' '.join(RESOURCE.split())]. The command \n must write its result to the standard output.\n\njs-command\n Same as ``css-command`` but used for JavaScript resources.\n\nignore\n A list of fnmatch-patters. If a filename matches one of these\n expressions, it is omitted from the minifying process.\n\npaths\n A list of paths, which contains JavaScript and CSS resources. All files\n ending with '.js' and '.css' are considered, except those which are ignored\n explicitly (see ignore option).\n\nsuffix\n Filename suffix that is used for the copy of the original file. The default\n is ``-full``. If the orignal filename is ``style.css`` the minified version\n will be ``style.css`` and the original development version will be\n ``style-full.css``.\n\ninclude-devel\n Include all packages listed in the devel-section of the buildout. This\n option is turned OFF per default.\n\nverbose\n Set verbosity for minify runs. The allowed values are ``true``\n and ``false`` and the default is ``false``.\n\nExample usage\n-------------\n\nA simple buildout that uses the recipe looks like this::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = minify\n ...\n ... [minify]\n ... recipe = collective.recipe.minify\n ... paths =\n ... ${buildout:directory}/src/foo\n ... ignore =\n ... firm*\n ... include-devel = false\n ... \"\"\")\n\nRunning the buildout gives us::\n\n >>> print system(buildout)\n Installing minify.\n Generated script '/sample-buildout/bin/minify'.\n \n\nRunning this script minifies all JavaScript and CSS resources found in\nthe specfied locations. It walks all the paths specified ignoring all files\nmatching one of the patterns specified in ignore.\n\nContributors\n************\n\nTom Gross, Author\n\n\nChange history\n**************\n\n1.0 (2010-01-05)\n----------------\n\n- initial release\n [Tom Gross]\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/collective.recipe.minify", "keywords": "CSS JavaScript Minify Performance", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "collective.recipe.minify", "package_url": "https://pypi.org/project/collective.recipe.minify/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.recipe.minify/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/collective.recipe.minify" }, "release_url": "https://pypi.org/project/collective.recipe.minify/1.0/", "requires_dist": null, "requires_python": null, "summary": "A minify-wrapper for CSS & JavaScript resources", "version": "1.0" }, "last_serial": 788142, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a8249af364244726fe85ee9f6bb597fa", "sha256": "ed9b9d1020a2098ff9d5311b06e65c1432e34aad3c33d67c80ec1d0574f31c8d" }, "downloads": -1, "filename": "collective.recipe.minify-1.0.tar.gz", "has_sig": false, "md5_digest": "a8249af364244726fe85ee9f6bb597fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7931, "upload_time": "2010-01-05T11:42:10", "url": "https://files.pythonhosted.org/packages/d7/ab/7332426f78c580c04e42f9928da333e7de22b249c4256696efc390e3a722/collective.recipe.minify-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a8249af364244726fe85ee9f6bb597fa", "sha256": "ed9b9d1020a2098ff9d5311b06e65c1432e34aad3c33d67c80ec1d0574f31c8d" }, "downloads": -1, "filename": "collective.recipe.minify-1.0.tar.gz", "has_sig": false, "md5_digest": "a8249af364244726fe85ee9f6bb597fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7931, "upload_time": "2010-01-05T11:42:10", "url": "https://files.pythonhosted.org/packages/d7/ab/7332426f78c580c04e42f9928da333e7de22b249c4256696efc390e3a722/collective.recipe.minify-1.0.tar.gz" } ] }