{"_id":"static-on-rails","_rev":"38-550c85d74123948ba4d8968e04ab21de","name":"static-on-rails","description":"A framework to build static apps.","dist-tags":{"latest":"0.1.8"},"versions":{"0.0.1":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.1","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static_generate":"./bin/static_init.js","static_build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.1","_shasum":"613328fb89aef3fcd4d0db1f0730965eba213011","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"613328fb89aef3fcd4d0db1f0730965eba213011","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.1.tgz","integrity":"sha512-l0+Yt5jWsY7lRaB/hmfd7hci1IOwTwR/+2Si6Oh5/7NRdfgRiHt1slv24JrryknDnJ4rcaK775ROfjjLLWG92A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7Z91a3RibpmgDTGse24vOhlYmko6z2dj8taie5+abjQIgUr3JyzJdpxAomHPq+DkIIZA6JaY6QxQ9V+F04KPMnBw="}]}},"0.0.2":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.2","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.2","_shasum":"8a3202d285a1b4385fc838c23f87c74dfc90fbd5","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"8a3202d285a1b4385fc838c23f87c74dfc90fbd5","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.2.tgz","integrity":"sha512-aRPB1WXXcKeHxJslPh57pV1dJgyorAphg8q2XjlevLlXx+4NZrcVKt5/UcGVCg7cWzb30qTDLG6my556tRDa1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgQByfYtNBQZh+Y7SAcPFWO4ISnDL+0w7k/0rZMXIkjQIgaTz0gAntl9xAeKmPpxE5U3EHglbJGLcp8jF2D1tyYbc="}]}},"0.0.3":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.3","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.3","_shasum":"99d9b1edac4d02eb32731cf39aabbae8cf61097a","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"99d9b1edac4d02eb32731cf39aabbae8cf61097a","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.3.tgz","integrity":"sha512-+zjcY0QGEOxONi08QGL4f/JmjsLBt+aNESgYu22cIs79vyLai15S6knia0VXEDN1i2jxmWdwQuJ6a7ivW2Jtww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9CbaDvZ2rNOiH3k027sqcC51aNdUFOxQ8F19eDM/NMAiEA87P/ROHEwNDYbS6M5qxUK1CVJvt64ipAaLvgRr0vt9w="}]}},"0.0.4":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.4","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.4","_shasum":"659a8e1f4172a060a51f0604cbfa75cc7cd8768e","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"659a8e1f4172a060a51f0604cbfa75cc7cd8768e","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.4.tgz","integrity":"sha512-Fn1hcuM6n1TPvqvAo4SXNpUB6YQw/8OMT1hN2fmHL0EgwZXJz0kkxZkEc2oAPj2R2mdl/ihHmM34YcmSudhiew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJPsFjAbSpDJtqqGlBjKuYdOPN8WVm+/6eB/wOg1cUiAiAr7gXsGHdG079RRHVpNR+qSGAobsQ8SlRE2MBV10ufXA=="}]}},"0.0.5":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.5","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.5","_shasum":"39d374293237e84fbe208e0176a38162c88b273a","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"39d374293237e84fbe208e0176a38162c88b273a","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.5.tgz","integrity":"sha512-Qt5w9/PiRJ6GTfCcTWuIkclmKLn9s9TRhmGAXxShiEtnZ18VOVUZyvWt8Lhw2sKwhflwLLHOXi4u46yYnWEHww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNFL5r7sW2s/WjmZ/OqhmOPrfnZTbMDhpaFU1f/tVPhQIhAOz5KJ8ErDtxejolPInFAzOcy8FU2qDzZ6a8GNWrF9m7"}]}},"0.0.6":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.6","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.6","_shasum":"b6768e2be7e1ce9de79d7e2b40e9d3f04a1467ef","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"b6768e2be7e1ce9de79d7e2b40e9d3f04a1467ef","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.6.tgz","integrity":"sha512-g87JGJXmUTfDRLJN1SVN7jnThmxwGGipUySnU/nLyerx80GLvEAkbvk3MymdJK+VvuCHScijOaO1VZ2wVPGiMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGwakzP2rBzP4mXk2K+2a9V+Atz43XgYvZuNUR8MTgSfAiEAkTPVdsMaxOHOvmmsTJ3cT+jejjePDvme5mdla4+uvYw="}]}},"0.0.7":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.7","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*","request":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.7","_shasum":"e1f287478b6b25e0f4b52f99bfc3d2904d7c426f","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"e1f287478b6b25e0f4b52f99bfc3d2904d7c426f","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.7.tgz","integrity":"sha512-ZR/mjjBknfPm6GT8k8BRvhY8KVKc0375v2QwOVAazMeotc/Lky9DDkxr8Aq5POL7eZ3yMST7seEE5pYe2RNEnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHp4PO0ccC/BMiTKTXXf2gXJ+/qdxES1c+Utj6EDUI/QIhALl2m/N+uPcVlq4E5RWFYTWiMsPCcBoTuqh3DNHfxHcZ"}]}},"0.0.8":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.8","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*","request":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.8","_shasum":"c685b59dae7ddc77091fc00a3a81a85a15aa8603","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"c685b59dae7ddc77091fc00a3a81a85a15aa8603","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.8.tgz","integrity":"sha512-uCsVZHZwrXq+9KkhwDq5ri9JcknBemRTCXYktLOkat9JnGOKg5XBXHclkQDc6DB8+0xRmztBu1cMkEzHW1oFMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICviNilMl07whqwl4hQ0gLsEdNCExq2BAJ7fu7gbVMi6AiAXnBGwq/lY+Q6zziToqPAMUqDHLtgXw1fWFUSSDQIeqA=="}]}},"0.0.9":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.0.9","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*","request":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.0.9","_shasum":"64baf8a2d36ea5d9931d788bc350aa00818fa5c7","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"64baf8a2d36ea5d9931d788bc350aa00818fa5c7","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.0.9.tgz","integrity":"sha512-g+1XGpPtP60yMyOGlxk5D4PueeIYYQW/15OuZGE5LwUoHirHofig2JKP7i9aXtJ72D7cFWs8PmZ8jwlkkrlbMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4ID80YkGpfUMDkcCDfMNRveSnWu5gM5iDfTIO45oQygIgXDT5iUwufTLAwgbXizQBs6DMV2O8l7JFJ987sfeYGbk="}]}},"0.1.0":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.1.0","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*","request":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.0","_shasum":"e366a40f8d7ddc8f02546492ae95975dd017c9fc","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"e366a40f8d7ddc8f02546492ae95975dd017c9fc","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.0.tgz","integrity":"sha512-9em0Pqk0JMly6SzvC3h9lqXbUgEpvQitxcrxkPzXjDAGW9eDzOWeV0nQ2nOG5nNrHNma7gv3n4Z6gIoBiGJweg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7QsVG76qK9SfOleKW4+rpgyuf0MueDjOih8xepLWovAiEAuW++GbOBeTkTAsPfDvEIbJSgojN7j7tHvVlstdhBBk8="}]}},"0.1.1":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.1.1","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*","request":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.1","_shasum":"e6821437784b6eb32bd5d791bf34f3c46a9b0009","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"e6821437784b6eb32bd5d791bf34f3c46a9b0009","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.1.tgz","integrity":"sha512-gFGsLWUbg1a84rbp+Ywg7/6E7oDS7ADUCCsTyfFYhxzEc3DX+nZwM4atp5lS21wQlw1fnLhQ760brEH0UYYniw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM28LF7xYXmHvGbbCWiKTzxP7q2XSMJ7w9Bh4m2YsMJQIhAMeg+4m41NR+V5NpfOAlFjcpss/CF5LhTCaJyo9/mG+3"}]}},"0.1.2":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.1.2","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*","request":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.2","_shasum":"d21b7b966f854f837617c1a9bcbfadfa85e81d8e","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"d21b7b966f854f837617c1a9bcbfadfa85e81d8e","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.2.tgz","integrity":"sha512-8ceN9KRLTuS+yYqdHLL2PxbawC36C0FplMBJ6YNhEZaZQTVXk6/DhCJv1veIspamlLhWRYwyS5UNQyvCx0EXTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICiKyIdPZnCUdSNL4w+PwJi9I1ubWfGR3VNFzpW9msY8AiEA1FoLVuPdq9hVOrC4w0mkKcHiUsxxu/udRK/dmKj0TrY="}]}},"0.1.3":{"name":"static-on-rails","description":"A framework to build static apps.","main":"./lib/static","author":{"name":"Chiyan Chen"},"version":"0.1.3","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"jam":{"main":"lib/main.js","include":["lib/main.js","README.md","LICENSE"]},"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.3","_shasum":"a487903417eb2e3dd3857912a5f6617cc88073e6","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"a487903417eb2e3dd3857912a5f6617cc88073e6","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.3.tgz","integrity":"sha512-MxreHV2Z0szWorLDk2c2VqDjv2UrLrPgp8T6O3skeaBXceySX83ybqSJzj3/16jcARUDD0oWIncO358BBcCZwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYF5mBiXCMm9scjz6fFJb8XiEsZI/Cap/IxDUWxAZX0AiAftSr7ihWYiicj54s090n7enzfMYLQKGqjdwi6UZw8xw=="}]}},"0.1.4":{"name":"static-on-rails","description":"A framework to build static apps.","author":{"name":"Chiyan Chen"},"version":"0.1.4","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.4","_shasum":"6d0b6e31626e029ccffdc7d123844660a988873f","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"6d0b6e31626e029ccffdc7d123844660a988873f","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.4.tgz","integrity":"sha512-aZzaywb1zEKDU0zwJ5dynw2DOu4gfh66uWRQbbTm8gwxwC9YNKoYpXb+/3Xq3Xa8XPq9HXw7WrH726DtWADDpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJsyW4zKRLp76m3ThGSW/S7q4pMZOeVgeVsJqWLgaMcAiEAoDIpBjRc4W+Jk0fnlMkUU7OZ35wwb3Gt2++6OnQvN3w="}]}},"0.1.5":{"name":"static-on-rails","description":"A framework to build static apps.","author":{"name":"Chiyan Chen"},"version":"0.1.5","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.5","_shasum":"5f75e0a7833a74a2705d0a73d9ac583044107ec7","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"5f75e0a7833a74a2705d0a73d9ac583044107ec7","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.5.tgz","integrity":"sha512-M4m4hslSR7Voh6+Lx9RnOKkb2UIvWA/3xIDmsFfLGCI2ZFxvTfzqTt4ceF7RucQmCcnlwCDiRTfEl7X+RC+N/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRDm/EuvHkC77r3EV+5D0fpPTrqSvA06czuvxrX9UZuAIhAI5YgCgvU7CFNTm1RN0Mnkk4Pwxm8rXfc0vWEVfxkBFo"}]}},"0.1.6":{"name":"static-on-rails","description":"A framework to build static apps.","author":{"name":"Chiyan Chen"},"version":"0.1.6","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.6","_shasum":"12190b374eed81aa812f1c710d4ba7ba31bdeff2","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"12190b374eed81aa812f1c710d4ba7ba31bdeff2","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.6.tgz","integrity":"sha512-8PFuAuIOhjoMcgWw1Xrzqfztn60w978Pr3z1lDRxPHba8l1jBLZpd3yDDpHpuMOWQaHvvjJbUKb+pegv2zPQXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAD58etQkMTWNNRJCResnHMgWVP2pbuvgXnzOMnR4HD/AiEAu4d8W4XfcfUTWyIie/LprF4fiVmeWLQtN0aEAR+B/oY="}]}},"0.1.7":{"name":"static-on-rails","description":"A framework to build static apps.","author":{"name":"Chiyan Chen"},"version":"0.1.7","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.7","_shasum":"56113389f3649fac2ec20a8793dbf9f506924da1","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"56113389f3649fac2ec20a8793dbf9f506924da1","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.7.tgz","integrity":"sha512-vRQYBmZixcI9P5WSVy3Vl0hVd4TzJz3fmxyIaY63LGU9QhakuHz+bIWzsUW+NqN9UyrNB6MqmlgQrIFlRYBy8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHM9C88wUNATUBiiPjO0P0ube9KwJVbIi/48tCMaN+LrAiBr858RBCdOGCRtcUuE3isucJ1KKq9B6Wtk8GBM52h3fg=="}]}},"0.1.8":{"name":"static-on-rails","description":"A framework to build static apps.","author":{"name":"Chiyan Chen"},"version":"0.1.8","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"licenses":[{"type":"MIT","url":"https://github.com/redblaze/static-on-rails/raw/master/LICENSE"}],"bin":{"static-init":"./bin/static_init.js","static-build":"./bin/static_build.js"},"dependencies":{"cps":"*","better-js-class":"*","underscore":"*","jsdom":"*","yuglify":"*","fs-extra":"*"},"homepage":"https://github.com/redblaze/static-on-rails","_id":"static-on-rails@0.1.8","_shasum":"c298c16d9705c2ef26b7603bdad5bb4efad35545","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"redblaze","email":"redblaze2005@gmail.com"},"maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"dist":{"shasum":"c298c16d9705c2ef26b7603bdad5bb4efad35545","tarball":"https://registry.npmjs.org/static-on-rails/-/static-on-rails-0.1.8.tgz","integrity":"sha512-GVDYMnGEpy0iyMAq5yGwfeW3nhDUP8V0oYMpLWO01kk6eipjbUGnVL8tijv9NBomo2i/xqKV5KhwKYydk4lovQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRnHcGVgrhl3B0CaDdOrleBI1FC9laalVurWL8r1IBTQIhAO3Van4eHVwTjm8nSoMQ7Dd3r13FWrwVjL8/9NxkWqIG"}]}}},"readme":"# static-on-rails\n\nA feather weight tool to build static applications:\n\n* Feather-weight self-contained framework for building purely static\n  application.\n* No yet-another templating system for Javascript.  Page view\n  construction is via standard DOM manipulating in Javascript (powered\n  by the jsdom).\n  * Full support to reusable partial page views.\n* Simple and easy-to-use development environment that does not require\n  any build process or server restart throughout coding practice.\n* Turn key solution for building deployment package\n  * JS/CSS compression is handled transparently (powered by yuglify).\n\n\n## Installation\n\n```text\nnpm install static-on-rails -g\n```\n\n## Use\n\nThere are two commands:\n\n### static-init\n\nstatic-init helps to generate a scaffold static application, which\nservers as both an example and a basis for further development.  To\nuse:\n\n```text\n> mkdir app-name\n> cd app-name\n> static-init\n```\n\nAfter running these commands you will have a directory \"app-name\" will\nan example application in it.  An static-on-rails application has the\nfollowing structure:\n\n* app\n* js\n* css\n* html\n* json\n* images\n* fonts\n* js_css.json\n* config.json\n\n##### app\n\nThis is the directory where all your pages are at.  In classic MVC\nmodel, this directory corresponds to the controllers.  With in this\ndirectory, there are page directories, each of which contains the\nentry point for a specific page.  In the scaffold that is\nauto-generated, there is an example page directory that can be\nfollowed to develop other page directories.\n\nTo view the page:\n\n* Start a static http server and point its root at the app-name directory.\n* Go to URL:\n\n```text\nhttp://localhost/app/page-name/page-name.html\n```\n\n##### assets: js, css, html, json, images, fonts\n\nThe directories js, css, html and json are places to store the assets.\nThe names of these directories are self-explaining.\n\n\n##### js_css.json\n\nThe file js_css.json is a centraized place that contains the\ninformation of CSS and JS packages that are used in the construction\nof the pages.  Here is an example of the js_css.json:\n\n```json\n{\n    \"js\": {\n        \"shared\": [\n            \"/js/env.js\",\n            \"/js/properties.js\"\n        ],\n        \"example\": [\n            \"/js/example/example.js\"\n        ]\n    },\n    \"css\": {\n        \"example\": [\n            \"/css/example.css\"\n        ]\n    }\n}\n```\n\nThere are two sections, for js and css respectively.  Each section is\ngrouped in packages.  Each package will eventually be merged and\nminified to one single file.\n\n##### config.json\n\nThe file config.json contains a list of global configurations for\nbuilding the project to a deployment package.\n\n```json\n{\n    \"jquery-path\": \"/js/lib/jquery-1.8.3.min.js\",  /* mandatory, jquery path */\n    \"excluded-apps\": \"example\", /* optional, list of apps to exclude from the build */\n    \"minify\": false /* optional, default true, whether the css and js should be minified, useful for debugging */\n}\n```\n\n### static-build\n\nYou can package up you development of the static application to a\nrelease package by typing the following command:\n\n```text\nstatic-build\n```\n\nThis will generate a build diretory in the working directory, which\nincludes self-contained static application.  It has all the required\nassets, compressed js and css files as well as entry point html pages\nto the static applications.\n\n## How to Write a Static Application\n\nTo write a static application named \"bar\":\n\n* Create a directory under the \"app\" directory and name is \"bar\".\n* Create two files under \"bar\" directory\n  * \"bar.html\"\n  * \"bar.js\"\n\n### app-name.html\n\n\"bar.html\" is the entry point of your static application.  Here's a sample:\n\n```html\n<!DOCTYPE html>\n<head>\n    <title>Static on Rails Example</title>\n    <meta charset=\"utf-8\">\n    <meta property=\"og:locale\" content=\"en_US\"/>\n    <meta property=\"og:type\" content=\"website\"/>\n</head>\n\n<body id=\"body\">\n\n<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\"></script>\n<script type=\"text/javascript\" src=\"//cdnjs.cloudflare.com/ajax/libs/lodash.js/0.10.0/lodash.min.js\"></script>\n<script class=\"compiler exclude\" type=\"text/javascript\" src=\"/js/lib/dom.js\"></script>\n<script class=\"compiler exclude\" type=\"text/javascript\" src=\"/js/lib/cps.js\"></script>\n<script class=\"compiler\" type=\"text/javascript\" src=\"/js/env.js\"></script>\n<script class=\"compiler\" type=\"text/javascript\" src=\"/js/properties.js\"></script>\n<script class=\"compiler\" type=\"text/javascript\" src=\"/app/bar/bar.js\"></script>\n\n<script class=\"compiler\">\n    $.ajaxSetup({\n        cache: false\n    });\n\n    var cb = function(err, res) {\n        if (err) {\n            throw err;\n        }\n    };\n\n    __m__($, __dom__, cb);\n</script>\n</body>\n</html>\n\n```\n\nThe key customizable in this html is the inclusion of the application js file:\n\n```html\n<script class=\"compiler\" type=\"text/javascript\" src=\"/app/bar/bar.js\"></script>\n```\n\n### app-name.js\n\n\"bar.js\" hosts the code to construct the application page.  Here is an example:\n\n```js\nvar __m__ = function($, dom, cb) {\n    dom.page({\n        env: __properties__[__env__],\n        jquery: $,\n        css: ['example'],\n        js: ['shared', 'example'],\n        html: [\n            function(_, cb) {\n                dom.loadHTML('/html/foobar.html', '#foobar', cb)\n            },\n            function(o, cb) {\n                $('#body').append($(o));\n                cb();\n            },\n            function(_, cb) {\n                dom.loadJSON('/json/example.json', cb);\n            },\n            function(json, cb) {\n                $('#body').append('<div>' + JSON.stringify(json) + '</div>');\n                cb();\n            }\n        ]\n    }, cb);\n};\n\n__m__;\n```\n\nThe framework of this js file is fixed:\n\n```js\nvar __m__ = function($, dom, cb) {\n    dom.page({\n        /* \n        Environment setup.  This is a framework convention which must be retained.\n        */\n        env: __properties__[__env__],  \n        /*\n        JQuery object setup.  This is a framework convention which must be retained. \n        */\n        jquery: $,\n        css: [/* list of your css packages */], \n        js: [/* list of your js packages */], \n        html: [\n\t    /*\n\t    This is where you template your page using the partial html templates.\n\t    */\n        ]\n    }, cb);\n};\n\n__m__;\n```\n\nYou always copy this part for every app-name.js file.  The\nconstruction of the page is via the APIs from the \"dom\" object.\n\n### The dom object\n\nThe \"dom\" object has the following APIs:\n\n* loadHTML(url, cssSelector, callback)\n* loadJSON(url, callback)\n* page(conf, callback)\n\n##### loadHTML(url, cssSelector, callback)\n\nThe function \"loadHTML\" loads a html fragment, as identified by \"url\"\nand \"cssSelector\" parameters, into the page (as result parameter of\nthe callback).  The application page can then be synthesized from\nthese fragments using jquery.\n\n##### loadJSON(url, callback)\n\nThe function \"loadJSON\" loads JSON assets into the current page.  This\nwould be useful when part of the UI construction is directed by\nconfigurations in JSON format.\n\n##### page(conf, callback)\n\nThis function \"page\" is the top level function that constructs a static application. \nThe conf object has the following fields:\n\n* env: This is a required field by the framework convention.  Please always use the following setup:\n```text\nenv: __properties__[__env__]\n```\n* jquery: This is a required field by the framework convention.  Please always use the following setup:\n```text\njquery: $\n```\n\n* css: A list of all css packages that are to be included in the page.\n  A css package is mapped to a list of css files in the \"js_css.json\"\n  file.  Each css package will be merged to one file and minified at\n  build time to be included in the release/deployment package.\n\n* js: A list of all js packages that are to be included in the page.\n  A js package is mapped to a list of js files in the \"js_css.json\"\n  file.  Each js package will be merged to one file and minified at\n  build time to be included in the release/deployment package.\n\n* html: A list of cps-style procedures to construct the html\n  structure of the page.  Note that \"loadHTML\" and \"loadJSON\" function\n  should be used here.\n\n\n","maintainers":[{"name":"redblaze","email":"redblaze2005@gmail.com"}],"time":{"modified":"2022-06-27T00:03:51.613Z","created":"2014-05-13T00:08:46.009Z","0.0.1":"2014-05-13T00:08:46.009Z","0.0.2":"2014-05-13T00:22:57.077Z","0.0.3":"2014-05-13T00:24:49.153Z","0.0.4":"2014-05-13T00:38:15.679Z","0.0.5":"2014-05-13T00:44:36.707Z","0.0.6":"2014-05-13T05:10:22.316Z","0.0.7":"2014-05-15T22:13:07.234Z","0.0.8":"2014-05-15T23:56:21.105Z","0.0.9":"2014-05-16T00:11:28.343Z","0.1.0":"2014-05-20T00:09:04.216Z","0.1.1":"2014-05-21T18:10:29.165Z","0.1.2":"2014-05-21T19:17:40.795Z","0.1.3":"2014-05-21T19:41:41.913Z","0.1.4":"2014-05-21T19:56:39.552Z","0.1.5":"2014-06-11T05:26:37.389Z","0.1.6":"2014-06-11T05:33:13.346Z","0.1.7":"2014-06-12T02:02:26.899Z","0.1.8":"2014-11-06T23:29:53.549Z"},"homepage":"https://github.com/redblaze/static-on-rails","repository":{"type":"git","url":"https://github.com/redblaze/static-on-rails.git"},"author":{"name":"Chiyan Chen"},"bugs":{"url":"https://github.com/redblaze/static-on-rails/issues"},"readmeFilename":"README.md"}