{"_id":"gd-assets","_rev":"35-15920f798a09fd4720969b4110f065ec","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","dist-tags":{"latest":"2.1.7"},"versions":{"1.1.0":{"version":"1.1.0","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/gd-assets","bugs":{"url":"http://github.com/godaddy/gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.2","express":"~3.4","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.4","ncp":"~0.5","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@1.1.0","dist":{"shasum":"9ad5c3466c773926d6962099d8a8f5b5dbab4679","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-1.1.0.tgz","integrity":"sha512-q6hSrEminjiBjBNGRkHz6f6hC3BzQQWMGfstLvmwlrL8YVw7rYUXtKJn6WeUZFRldnTVtIHWGQWLaFIbi/Ot3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/PHFQQH6vhf8KiZVjXQpoMJAK16BvzyEqSi/JnKQFWAiEAr3Do6geALPmq52E7nFTwgOdiRwL+GZa1MY8lWZbqXNs="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"1.1.1":{"version":"1.1.1","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/gd-assets","bugs":{"url":"http://github.com/godaddy/gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.2","express":"~3.4","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.4","ncp":"~0.5","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@1.1.1","dist":{"shasum":"f47df53e5b94201c8dd985b30c7a886cf67a684d","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-1.1.1.tgz","integrity":"sha512-mP2O2q+rlsLsZTVp3/Necrf0kAZQ45P2iFB4xJ4w+XMWZvM2p4ikEX4+BGLenHa4og/s4gmeQYU3VefutVWixg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCs5FC819FaIlDTGVwGDSIQx3nCRNlFkdmZWf62ELDb3AIgJApNvZaIJP0VHIDQaOGXLvasP6reyRaLXyGUPRxIzLM="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"1.1.2":{"version":"1.1.2","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/gd-assets","bugs":{"url":"http://github.com/godaddy/gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.2","express":"~3.4","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.4","ncp":"~0.5","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@1.1.2","dist":{"shasum":"278fb0ed64239d3267342e7302b07bd595d503f5","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-1.1.2.tgz","integrity":"sha512-xQyhkV6bDIhbbm5OU1uB7gEuaih5kynVvd1obd9YEBuSVexZh5jitC3MLR80KACRmjY/YS+G+8RI2j+CX9SIWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/xi0csp8cIfx+N03xaFJa6loUUkxJWLYklM6pkN+29wIhAONSzq+fwyHTrL6YjTZRiS+OWOH47NNF3aPuaoZ+13lU"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.0.0":{"version":"2.0.0","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.0.0","dist":{"shasum":"4b02c6f97b6184676c9f998648ca70258b7327d3","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.0.0.tgz","integrity":"sha512-FWuh/9D7CTZLghgSp1UXy9wi3pykakGLCz50pcuZDIBQlowISSCKcZGDnPpdITSXEbFMY+5SrjBH/O/15JqKEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVfqUoeYepYE6epsJK+emQQdpCJKA0UybBoNLGogQYMwIgALd/c++4P77SJvK5zV+3uc98KV5hbmk9ceYjJo0hckw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.0.1":{"version":"2.0.1","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.0.1","dist":{"shasum":"45760ea33f8e13a6567de38a25aa10d3638ab34a","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.0.1.tgz","integrity":"sha512-ho9x64pOjPOWTNx7XotspQvQhsfqOqbj2SUkal8M4KMm0yF4nA1cuv+ah/ToIXG5s7hRe+NLYAt2hJLDhEnQwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/su4QPBoa4KA8shzWpzpYH0225ezF5cFG2xKVToVXoAiEAm5SOg6NueKQfUZcp+1Mo6GGcTLBdxpAPUH/g5XENuF8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.0":{"version":"2.1.0","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.0","dist":{"shasum":"dfe9c256630595c647b6fcb6b88b7d0c510ebe69","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.0.tgz","integrity":"sha512-FKKli5M3ve4xhqGGk6jauu8Zt0Iy+LiA5RdxrTitUN4va3FEgWnjj98s6DR/RTRySrXoFi+Ari05xZpcGH7fOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmiMMjctzaHAn5LySb17xG3LvQcsOIdZdxfW6OUkSk4AiBTH7gIC8eEByJktnAItjkqIWBNGWOpY0vDQJK4dKcpbA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.1":{"version":"2.1.1","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.1","dist":{"shasum":"2b4d13d9447c0cb44d6dbefc80c00922f7a1c259","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.1.tgz","integrity":"sha512-6uGijAUAU4ewhqLyplUjvoXlKL0m/lK4tWvtEXKI8h6rSuNItYqiiJNsRXXXaxtIG773SsI9KMoVTg9ga/ZlMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGh0DVhbyk7+l6r85cT4AwZdd9/avnwka3DdCG9WC0S4AiEApbybE9eTrT4zc8cJU1fCvu8ynsn+7tb/nDdO9uaYpHg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.2":{"version":"2.1.2","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.2","dist":{"shasum":"db3fa3a489cbefe3324aff829c5393f48e16b5b6","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.2.tgz","integrity":"sha512-EHKTYhVNQWiveGEpI0+/YtynQxC1/zYlrKGR8e8m0PWEIksMxLVpC3tSuVXQDiZ+fcaDXAWmp2d/VFcU9NYTlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWCNHClLns7UPsaX/NUwqg5V1wCzz1Y7vgCm+kCutLVAiEA0ksUXxQ8xiQgkJWVjf2z3ChfgLXGzCyAWcDeHh8lZWA="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.3":{"version":"2.1.3","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.3","dist":{"shasum":"d776bfd2cd27bde093750f620fa8f347f807d2b8","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.3.tgz","integrity":"sha512-l/kdGRFCN6oEjnCqVFP5Sb0Gacp9wuWYHmctoGg2iG/JFTV2LAZmlaCInsnLIW/1ZxL0AgX3cCLn7C1T+pFZvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl/KM1JLMFPmV0VzT4BkrTTW79E2aZioV2dZFAe+Lj2wIhAOz8ckePXdNj8ggrNjXkJL3nUO6MYPmMpf9XNhpgi5UG"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.4":{"version":"2.1.4","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.8","compression":"~1.0","express":"~4.1","graceful-fs":"~2.0","handlebars":"~1.3","hbs":"~2.6","morgan":"~1.0","ncp":"~0.5","static-favicon":"~1.0","strip-json-comments":"0.1.x","uglify-js":"~2.4","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.4","dist":{"shasum":"2b4f0e8b251bd9ce79a08912c1da5b724feb4c81","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.4.tgz","integrity":"sha512-iEDUuKi/IDRakHMBnS3XiFMUfzb9qopi7pJjIqq8RqxpnUl7ZohLYE8k7JiHupaE/TZLWuIuIMYxn7Z7A0dXDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr3Rd6uCS6Ja6chkpndOP3SkrylZP0hF66oXB4VOXsxgIhAOKhrZCUOO8Jt6wq175X6te5gcq/J7dp+LwrQd45ZfP7"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.5":{"version":"2.1.5","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.9","compression":"~1","express":"~4","graceful-fs":"~3","hbs":"~2","morgan":"~1","ncp":"~0.6","static-favicon":"~1","strip-json-comments":"~1","uglify-js":"~2","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.5","dist":{"shasum":"03b2fbd8e2d1430f95644c3b5221b7575ac496dd","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.5.tgz","integrity":"sha512-1Qvd3ZU4xlpexYBjMHS0YzRQD3RP+2f5MeqcV/QIIGJadFYmVC+nF1Kh6j1c8AZ/KlOx5B6aPnlmsYGYEzjW8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvOJI0qG2wXvRNgPR7La9OMAoi7ZEK3fju0w87bQ8dDAIgbO3OVT4Vj8uEyCDVIWC9KcYgCS9D5kgrkZWNJ3AQhlw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.6":{"version":"2.1.6","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.9","compression":"~1","express":"~4","graceful-fs":"~3","hbs":"~2","morgan":"~1","ncp":"~0.6","static-favicon":"~1","strip-json-comments":"~1","uglify-js":"~2","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.6","dist":{"shasum":"c6dd0b7a69bd4321116474e4edf6da69ac7f3fc9","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.6.tgz","integrity":"sha512-EyWpftSysAoGhzkG5I3V2QcwosUbzPPn9+bDOMX+ax1ezUbAAghriLDpRyI7RNLvbW78BEUORwvYPbiutl3BFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1J6O8apwSvJvusJxmN4AApsVViqbWVohStt5AbikRUQIgRvYFmjNnC6MjK0OZnneWYtwQLUAFrOVWNMmCvsvzUWs="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]},"2.1.7":{"version":"2.1.7","name":"gd-assets","description":"CSS & JS combiner, compressor, and server","author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"license":"MIT","homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"dependencies":{"async":"~0.9","compression":"~1","express":"~4","graceful-fs":"~3","hbs":"~2","morgan":"~1","ncp":"~0.6","static-favicon":"~1","strip-json-comments":"~1","uglify-js":"~2","uglifycss":"0.0.x"},"main":"./index.js","_id":"gd-assets@2.1.7","dist":{"shasum":"188b4a48a4f56b545205ea7f3a9e5af5a2a0ae12","tarball":"https://registry.npmjs.org/gd-assets/-/gd-assets-2.1.7.tgz","integrity":"sha512-MpVRSZinxMbLMKcKjIiQ73Gjy9G6JFaY82djEI/EE81WhEeNSsnYvdsMLamMO3CSeG+CPGd/qPW5LBAy87jpbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvmfsqpzpcvQJ20gakbxB910UAXW+HuIHpPoOgV9TD/gIhAJnrwxVJAxqI4Rrj9DQjgsCtjOL2I5apILiz2Noj13vH"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"vincent99","email":"vincent@godaddy.com"},"maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}]}},"readme":"gd-assets\n========\nJS/CSS combining, compression, and serving.\n\n# Usage\n\n## Compiling to files\n```javascript\nvar Assets    = require('gd-assets');\nvar config    = Assets.Config.load('/path/to/your/assets.json');\nvar pkg       = require('/path/to/your/package.json');\nvar outputDir = '/path/to/compiled'\n\nvar opt = {\n  // See options\n};\n\nAssets.Compile(config, pkg, outputDir, opt);\n```\n\n## As a middleware\n```javascript\nvar app = express(); // Or connect\n\nvar Assets = require('gd-assets');\nvar config = Assets.Config.load('/path/to/your/assets.json');\nvar opt = {\n  // See options\n};\n\nAssets.Middleware(app, config, opt);\n```\n\n## As a standalone server\n```javascript\nvar Assets = require('gd-assets');\nvar config = Assets.Config.load('/path/to/assets.json');\nvar pkg    = require('/path/to/package.json');\nvar port   = 3000;\n\nAssets.Server(config, pkg, port);\n```\n\n# Assets.json file\n--------\n\n## CSS and JavaScript files\nThe assets.json file describes which files should be processed, and how they should be grouped together.  The file can be called whatever you like, but it must contain a JSON dictionary.  It is easiest to describe with an example:\n```javascript\n{\n  \"groups\": {\n    \"main\": {\n      \"js\":   [\"init\",\"util\",\"main\"],\n      \"view\": [\"layout\",\"index\",\"login\"],\n      \"css\":  [\"bootstrap\",\"app\"]\n    }\n  }\n}\n```\n\nThis will combine:\n```\n  js/init.js\n  js/util.js\n  js/main.js\n  The pre-compiled representation of view/layout.hbs\n  The pre-compiled representation of view/index.hbs\n  The pre-compiled representation of view/login.hbs\n```\ninto one file and make it available as <code>main.js</code> (in compiling files mode), <code>{prefix}/main.js</code> (in middleware mode), or <code>http://localhost/main.js</code> (in standalone server mode).  \n\nIt will also combine\n```\n  css/bootstrap.css\n  css/app.js\n```\ninto one <code>main.css</code> in the same places.\n\nA minified version of each is also produced, <code>main.min.js</code> and <code>main.min.css</code>.\n\n## Groups\nAll files are included in the output in the order they appear in the input arrays.  Groups can include other groups (and so on). Includes will be included before the other files of that group.\n```javascript\n{\n  \"groups\": {\n    \"framework\": {\n      \"saveOutput\": false,\n      \"view\": [\"layout\",\"index\"],\n      \"css\":  [\"bootstrap\"],\n      \"js\": [\"init\",\"util\"]\n    },\n\n    \"main\": {\n      \"include\": [\"framework\"],\n      \"view\": [\"login\"],\n      \"css\":  [\"app\"],\n      \"js\": [\"main\"]\n    }\n  }\n}\n```\nGroups that contain <code>\"saveOutput\": false</code> can be used as includes in other groups for logical organization, but will not produce any output file/URL themselves.  In the example above, only <code>main[.min].[js|css]</code> would be produced, not <code>framework[.min].[js|css]</code>.\n\n## Images and other static files\nDirectories of additional 'static' assets that do not need to be compiled may also be included using the <code>\"staticFileDirs\":</code> property.  Paths are relative to the location of the config file.\n```javascript\n{\n  \"staticFileDirs\": {\n    \"image\": \"public/my-images\",\n    \"font\":  \"/path/to/some/fonts\"\n  }\n}\n```\nThe above example will make the contents of <code>public/my-images</code> available at <code>{prefix}/image/</code> and <code>/path/to/some/fonts</code> at <code>{prefix}/font</code>.\n\n## Root files\nRoot files are similar to staticFileDirs, but are intended to be served from the absolute root of your URL (http://app.com/).  This is useful for things like favicon.ico and robots.txt that are expected to be at the root of the site even if the rest of the assets aren't.  Paths are relative to the location of the config file.\n```javascript\n{\n  \"rootFileDirs\": [\n    \"root\",\n    \"/path/to/more/root/stuff\"\n  ]\n}\n```\n\n## Path resolution\n### Group entries ###\nGroup entry paths are relative to <code>{the directory the assets.json file is in}/public/{js,css,view}/</code> by default.  All examples below assume the assets.json file is located at /app/assets.json.\n```javascript\n{\n  \"groups\": {\n    \"main\": {\n      \"js\": [\"things\"] // -> /app/public/js/things.js\n  }\n}\n```\n\nRelative paths may include <code>../</code>:\n```javascript\n{\n  \"groups\": {\n    \"main\": {\n      \"js\": [\"../vendor/blah/things\"]  // -> /app/public/js/../vendor/things.js -> /app/public/vendor/things.js\n  }\n}\n```\n\nOr you can specify an absolute path:\n```javascript\n{\n  \"groups\": {\n    \"main\": {\n      \"js\": [\"/path/to/some/things\"] // -> /path/to/some/things.js\n    }\n  }\n}\n```\n\nIndividual groups may specify an alternate base directory for the paths to be relative to.\n  * If specified, <code>public/{js,css,view}</code> will not be added automatically for you.\n```javascript\n{\n  \"groups\": {\n    \"main\": {\n      \"baseDir\": \"vendor\", // <-- Relative to the directory the assets.json file is in, or absolute.  See below.\n      \"js\": [\n        \"jquery\" // <-- /app/vendor/jquery.js\n      ],\n      \"css\": [\n        \"jquery\" // <-- /app/vendor/jquery.css\n      ]\n    }\n  }\n}\n```\n\n### Static paths and base directories ###\n<code>rootFileDirs</code>, <code>staticFileDirs</code>, and <code>baseDir</code> paths are relative to directory the assets.json file is in.  Relative paths, including <code>../</code> and absolute paths may be used.\n\n\n# Options\n\nName | Default | Description\n-----|---------|-------------\n<code>prefix:</code> | / | For middleware mode, the base path to listen for requests on.  e.g. '/assets' will make things available at http://host:port/assets/something.js\n<code>rootPrefix:</code> | / | For middleware mode, if [root files](#root-files) are specified, the base path to listen for root requests on.  Since the point of root files is to be at the root, you probably don't want to change this.\n<code>tplPrefix:</code>  | *none* | If set, this prefix will prepended to template names in the compiled output, so you will ask handlebars to render <code>{tplPrefix}{templateName}</code>\n<code>handlebarVar:</code> | Handlebars | Client-side variable name where Handlebars can be found.  Will be included in the compiled output.\n<code>templateVar:</code> | Handlebars.templates | Client-side variable name where compiled templates will be put.\n<code>templatePrefix:</code> | *none* | Prefix to put on template names when defining them in the compiled output.\n<code>emberViews:</code> | false | If true, use Ember's Handlebars to produce compiled views that will work in Ember instead of the standard Handlebars.\n<code>emberPath: | *none* | If <code>emberViews:</code> is <code>true</code>, the path to ember.js to use when compiling\n<code>handlebarsPath:</code> | *none* | If <code>emberViews:</code> is <code>true</code>, the path to handlebars.js to use when compiling\n<code>jsmin:</code> | {warnings: false, hoist_funs: false} | Options to pass to UglifyJS (see [documentation](https://github.com/mishoo/UglifyJS2)) \n\n","maintainers":[{"name":"vincent99","email":"vincent@godaddy.com"}],"time":{"modified":"2022-06-18T05:08:39.448Z","created":"2014-01-15T00:22:15.418Z","1.1.0":"2014-01-15T17:20:36.648Z","1.1.1":"2014-03-10T21:50:12.002Z","1.1.2":"2014-04-07T20:24:42.285Z","2.0.0":"2014-05-05T23:02:15.672Z","2.0.1":"2014-05-08T21:30:40.995Z","2.1.0":"2014-05-28T22:26:58.054Z","2.1.1":"2014-05-28T23:39:01.673Z","2.1.2":"2014-05-29T00:19:26.561Z","2.1.3":"2014-05-29T18:53:15.894Z","2.1.4":"2014-07-08T23:02:33.731Z","2.1.5":"2014-08-13T00:24:37.808Z","2.1.6":"2014-08-15T01:00:11.087Z","2.1.7":"2014-11-01T22:57:37.724Z"},"author":{"name":"Vincent Fiduccia","email":"vincent@godaddy.com"},"repository":{"type":"git","url":"https://github.com/godaddy/node-gd-assets.git"},"homepage":"http://github.com/godaddy/node-gd-assets","bugs":{"url":"http://github.com/godaddy/node-gd-assets/issues"},"license":"MIT","readmeFilename":"README.md","users":{"vincent99":true}}