{"_id":"lazy-alloy","_rev":"33-6690d7ed401e8f238c56752782c41301","name":"lazy-alloy","description":"Write Alloy apps in coffee-script, jade and coffee-css","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"lazy-alloy","version":"0.0.1","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"glob":"~3.1.17","coffee-script":"~1.4.0","stylus":"~0.32.0","jade":"~0.28.1","sty":"latest","watchr":"latest","commander":"1.1.1"},"_id":"lazy-alloy@0.0.1","dist":{"shasum":"c9db84942bd17561c775477e24d4a307f2f843b2","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.1.tgz","integrity":"sha512-9kPYXdDAinRjtD2PLJX63OeDHnHIyTGEO0GhxCJjTNQvYct3BqjR15x4zag0ySehuZ2MSu4zpFNhEZnfMy3/Mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl6Otu2UY3TRQ4vl7XPodWNIU4YWKYFp7tDX6+6nn1ZgIgCxMcgwTKKSAVTvG5W+JgXiEsqCL9EHCpufOLB4W2Jbg="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"zzzwww","email":"isak.burstrom@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"directories":{}},"0.0.2":{"name":"lazy-alloy","version":"0.0.2","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"glob":"~3.1.17","coffee-script":"~1.4.0","stylus":"~0.32.0","jade":"~0.28.1","sty":"latest","watchr":"latest","commander":"1.1.1"},"_id":"lazy-alloy@0.0.2","dist":{"shasum":"4a3bf7a1e0bae466937286097d72103aacb00523","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.2.tgz","integrity":"sha512-aP2p5/FoD5wYNgJy12qaN91glHEl4uDQEOCfocdDG1dFbuNYN4X4OscuRbbkfXQ9Pwcy46Ka+D6I/TPqGz7pbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHImM3fqKPIzwEG8Dj6BrAKuO8IM1g/o1xTe8bW690nQIhAPYK3yTW5LSJnBVTqgpClAh34wj02PsSUN1vXWDUPS8E"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"zzzwww","email":"isak.burstrom@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"directories":{}},"0.0.3":{"name":"lazy-alloy","version":"0.0.3","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"match-files":"0.1.1","coffee-script":"~1.4.0","stylus":"~0.32.0","jade":"~0.28.1","sty":"latest","watchr":"latest","commander":"1.1.1"},"_id":"lazy-alloy@0.0.3","dist":{"shasum":"25476b862d6952cf9ea776e7f22834d22a4924ae","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.3.tgz","integrity":"sha512-r1j6wz/nkJM1a+7jKYGqOQIxGd/gb3bB1+pDuXDKFZlG6XyIs9J9MOpsCvpy5mVmlfwfLd+2EsT4oTCcAuhjTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDypHuOaVNRMbLCO65Jlf9V+BtFiM3IOp1h/d/fVy2vRwIhALVcfsVw2mEoeqnLgqgGRcfVmUdg2456x+Hp7U4ffjii"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"zzzwww","email":"isak.burstrom@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"directories":{}},"0.0.4":{"name":"lazy-alloy","version":"0.0.4","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"match-files":"0.1.1","coffee-script":"~1.4.0","stylus":"~0.32.0","jade":"~0.28.1","sty":"latest","watchr":"latest","commander":"1.1.1"},"_id":"lazy-alloy@0.0.4","dist":{"shasum":"157b5d40188b625f6e7c93545e8fc5a26b4f4948","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.4.tgz","integrity":"sha512-u0Znq7BuHqnK9EmhxDKxYnkXSCz0BNsSe2vrXmm42COKBfPb+h6bKTMXz17L0Yns/vU98OR6WqqTCDIYCIS3qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJtnlJX3II0LDONTNjxGvBnosiC+k1dJseD/n/t6c3NwIgHF0ED5cm6IIh7lMAXjC+tHRXZuEJNrLnNg/vE34nRrA="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"zzzwww","email":"isak.burstrom@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"directories":{}},"0.0.5":{"name":"lazy-alloy","version":"0.0.5","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"match-files":"0.1.1","coffee-script":"~1.4.0","stylus":"~0.32.0","jade":"~0.28.1","sty":"latest","watchr":"latest","commander":"1.1.1"},"_id":"lazy-alloy@0.0.5","dist":{"shasum":"a1f253e4ec2b1ab41550dc38c4693d23e895a6d1","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.5.tgz","integrity":"sha512-VJ2YhafExGAWfTT4pwmDP1sD9QxeYc0iRFKYbeUCGVCc4WPk6LJaojFFKv6qrVfeUYL+LnRZdsGkO7OiQ5bUQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfcWK/h8C9eZbeaXpzZZw2U2qvb5Ieo1Aygdyih2eL/AIgCCIkvGVk5MBnmz200UFCKW5EoNaqpEG1S3Kbah3s9A4="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"zzzwww","email":"thoughtsinthoughts@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}]},"0.0.6":{"name":"lazy-alloy","version":"0.0.6","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"coffee-script":"~1.8.0","commander":"2.3.0","jade":"~1.5.0","match-files":"0.1.1","promptly":"^0.2.0","sty":"latest","stylus":"~0.48.1","watchr":"latest"},"gitHead":"e7e7af9bccc2d1f40b14876a04de6018ea783cd1","bugs":{"url":"https://github.com/vastness/lazy-alloy/issues"},"homepage":"https://github.com/vastness/lazy-alloy","_id":"lazy-alloy@0.0.6","_shasum":"0261f7c774e5cff5dfcbf3ba338257333a4e2be4","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"zzzwww","email":"isak.burstrom@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"dist":{"shasum":"0261f7c774e5cff5dfcbf3ba338257333a4e2be4","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.6.tgz","integrity":"sha512-7bWdjIaL8Ip3bLuzRfv+bhQKqf2phY0aTJxs0TL/4FBjiZoY53bnxdugRRSKhic/s26Hu5/umT/DhlVaNKMfdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGERrtDPxufEgiqR2eWRpS4tZBWJfJOKvV8o5jUhhUSAiEAgXj6kD83A05fl61DCGKRi/3lej+CbPFOLQsj0odBsWY="}]}},"0.0.7":{"name":"lazy-alloy","version":"0.0.7","description":"Write Alloy apps in coffee-script, jade and coffee-css","main":"lazy-alloy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"author":{"name":"zzzwww"},"license":"BSD","bin":{"lazyalloy":"./bin/lazy-alloy"},"dependencies":{"coffee-script":"~1.8.0","commander":"2.3.0","jade":"~1.5.0","match-files":"0.1.1","promptly":"^0.2.0","sty":"latest","stylus":"~0.48.1","watchr":"latest"},"gitHead":"1b8b41b79e05539aae984b829751013e066ea8cf","bugs":{"url":"https://github.com/vastness/lazy-alloy/issues"},"homepage":"https://github.com/vastness/lazy-alloy","_id":"lazy-alloy@0.0.7","_shasum":"e89565e9fbb6d3ce2c8ac9106e1248026ddbaf03","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"zzzwww","email":"isak.burstrom@gmail.com"},"maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"dist":{"shasum":"e89565e9fbb6d3ce2c8ac9106e1248026ddbaf03","tarball":"https://registry.npmjs.org/lazy-alloy/-/lazy-alloy-0.0.7.tgz","integrity":"sha512-ausofMfGm7cy+Z5M8oasf9dQsTxtgnqkNVGOiMUwLyNEUQ9MfBTPq1jSbwogOzvTyXVO3N6hHpbAXCoUSlxyrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCvdftf/44fCmWAqmGdIC0xcmdDKmuceZFi8xxH9lVUAiBYgo/X25j2WxS++E1i7fa4IfROeCYXJ3kU3gLy239hBg=="}]}}},"readme":"lazy-alloy\n==========\n\n`lazy-alloy` is a CoffeeScript & Jade preprocessor for [Titanium Alloy Framework](http://projects.appcelerator.com/alloy/docs/Alloy-bootstrap/index.html).\n\n##What does it do?\n\nIt makes you write a tiny bit less code. Perhaps also a bit more readable (¿¿¿) code as well.\n\nCompile from sourcefile | To alloy readable output\n------------ | -------------\n`src/controllers/{{name}}.coffee` | `app/controllers/{{name}}.js`\n`src/styles/{{name}}.coffee` | `app/styles/{{name}}.tss`\n`src/views/{{name}}.jade` | `app/views/{{name}}.xml`\n`src/models/{{name}}.coffee` | `app/models/{{name}}.js`\n`src/lib/{{name}}.coffee` | `app/lib/{{name}}.js`\n\nAlso, it will compile your widgets from src/widgets stored in the following directories.\n\nFrom | To \n------------ | -------------\n`src/widgets/{{name}}/controllers/*.coffee` | `app/widgets/{{name}}/controllers/*.js` \n`src/widgets/{{name}}/styles/*.coffee` | `app/widgets/{{name}}/styles/*.tss`\n`src/widgets/{{name}}/views/*.jade` | `app/widgets/{{name}}/views/*.xml` \n\nInspired by [coffee-alloy](https://github.com/brantyoung/coffee-alloy) but eventually grew out of its box. Feel free to improve.\n\n\n## Usage\n\n### Dependencies\n* nodejs\n* npm\n* titanium *(cli)*\n* alloy\n* brain *(optional)*\n\n### Installation\n1. Install [Titanium Alloy Framework](http://projects.appcelerator.com/alloy/docs/Alloy-bootstrap/index.html).\n2. `npm install -g lazy-alloy`\n\n### Note regarding the \\*.coffee –> \\*.tss conversion\nThe files need to be valid coffee-script objects; thus the first line of these files needs to be a variable assignment like the following\n\n    tss =\n\t  \".container\":\n\t    backgroundColor: \"red\"\n\n\t  \"Label\":\n\t\twidth: Ti.UI.SIZE\n\t\theight: Ti.UI.SIZE\n\t\tcolor: \"#fff\"\n\n      \nIts output will look like this:\n\n    \".container\": {\n      backgroundColor: \"red\"\n    },\n    \"Label\": {\n      width: Ti.UI.SIZE,\n      height: Ti.UI.SIZE,\n      color: \"#fff\"\n    }\n\nPerhaps something like *stylus* would be a better fit for this kind of job. Feel free to help us improve this section!\n\n###Options\n    Usage: lazyalloy [COMMAND] [OPTIONS]\n\n    Commands:\n\n      compile                Just compile.\n      watch                  Watch file changes & compile.\n      build <platform>       Run titanium on `platform`\n      new                    Setup the lazy-alloy directory structure.\n      generate <type> <name> Generate a new (lazy-)alloy type such as a controller.\n\n    Options:\n\n      -h, --help                 output usage information\n      -V, --version              output the version number\n      -p, --platform [platform]  (watch) When done, run titanium on `platform`\n      -d, --directory [dirname]  Set source directory (default `src/`)\n     \t\n\n\n![AFRICA!](http://24.media.tumblr.com/60efb9b1b8da24b3250c1ab21232c2b8/tumblr_mhtwirmVV51r8sj1to1_500.jpg)\n","maintainers":[{"name":"zzzwww","email":"isak.burstrom@gmail.com"}],"time":{"modified":"2022-06-19T10:55:54.271Z","created":"2013-02-12T00:16:45.742Z","0.0.1":"2013-02-12T00:16:47.818Z","0.0.2":"2013-02-17T16:06:12.792Z","0.0.3":"2013-06-12T09:11:09.938Z","0.0.4":"2013-06-28T16:35:34.996Z","0.0.5":"2013-09-09T08:52:00.183Z","0.0.6":"2014-08-30T19:52:11.197Z","0.0.7":"2014-08-30T19:55:26.668Z"},"author":{"name":"zzzwww"},"repository":{"type":"git","url":"git@github.com:vastness/lazy-alloy.git"},"homepage":"https://github.com/vastness/lazy-alloy","bugs":{"url":"https://github.com/vastness/lazy-alloy/issues"},"license":"BSD","readmeFilename":"README.md"}