{"_id":"mdk","_rev":"28-ae3e8c79c331d9131a32995b2d7a2648","name":"mdk","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"mdk","version":"0.0.1","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"AGPL-3.0","_id":"mdk@0.0.1","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"}],"homepage":"https://github.com/jwilander/mdk#readme","bugs":{"url":"https://github.com/jwilander/mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"633897017d3b0bdaf53e0a5f233ad062d6bb5783","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.1.tgz","integrity":"sha512-VdXsE18vUaiGQDLM9s1SKueKvg1GhhsNr5pyV9zfQNd7/fMHbzjaE/3hHjjqwQ5omQ8TQj9Ppr7NVMF60TN6bw==","signatures":[{"sig":"MEUCIGOnEHp7nVGHhOlyCwh9UkMM9qIWwUQybbokeUQT9DsXAiEAktTrR1/eUiZIZC2hOFYzg27i+OezEU/ratx4Aot/c0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"633897017d3b0bdaf53e0a5f233ad062d6bb5783","gitHead":"6b88062746f2d8e01b45d89d1d797adddc7d1948","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/jwilander/mdk.git","type":"git"},"_npmVersion":"4.3.0","description":"Mattermost developer toolkit helper for integration and plugin template generation","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.1.tgz_1503079779294_0.05469811661168933","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"mdk","version":"0.0.2","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"Apache-2.0","_id":"mdk@0.0.2","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"}],"homepage":"https://github.com/jwilander/mdk#readme","bugs":{"url":"https://github.com/jwilander/mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"009714b074d27afa7cbda59da9a02728e629bf0c","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.2.tgz","integrity":"sha512-zju/OR4Kn38oy6xbaagP565IcFwGxiLFMRzxjPi/NEfd+Be7gEdwbHC/jGaTcxX3B1RrfrKYZ2HKoaJFBQvtTg==","signatures":[{"sig":"MEYCIQCVKAmYHdOeiWYfytN1xcQBOI1yW+Ey5oP/IBD3QywvCgIhAPdGGqvpMA6dKwim94bHBlMUR2Q19G0Bf9smVdfnsYuR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"009714b074d27afa7cbda59da9a02728e629bf0c","gitHead":"299949f0688ee62aedc7cc0a8c9717f134d1ba1a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/jwilander/mdk.git","type":"git"},"_npmVersion":"4.3.0","description":"Mattermost developer toolkit helper for integration and plugin template generation","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.2.tgz_1503505028534_0.4617263476829976","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"mdk","version":"0.0.3","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"Apache-2.0","_id":"mdk@0.0.3","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"mattermost-user","email":"community@mattermost.com"}],"homepage":"https://github.com/mattermost/mattermost-mdk#readme","bugs":{"url":"https://github.com/mattermost/mattermost-mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"1940f59f9c419fd918e9983b368338ca882d9be3","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.3.tgz","integrity":"sha512-KYki3p0mFH5tWfrTUsepe+Uu3rOtB3Mzbh0r8t3HpD7aW15NpM2zo2BucYyQ5rRKgYb1WC580V6admmUYhfXOg==","signatures":[{"sig":"MEQCIH+VKNu3/ZLCXEvgTj2q1r6JHg1DpyxcQ0n9AD1vEW1xAiB6GU0oz8wz0tJH81doYX8i5s3P+CGeuJKq7870RSFWPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1940f59f9c419fd918e9983b368338ca882d9be3","gitHead":"27f896da787c9431bd6d1ba9044e31d407bb3626","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/mattermost/mattermost-mdk.git","type":"git"},"_npmVersion":"4.3.0","description":"Command line tool for generating Mattermost integration and plugin templates","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.3.tgz_1504712589801_0.2835579782258719","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"mdk","version":"0.0.4","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"Apache-2.0","_id":"mdk@0.0.4","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"mattermost-user","email":"community@mattermost.com"}],"homepage":"https://github.com/mattermost/mattermost-mdk#readme","bugs":{"url":"https://github.com/mattermost/mattermost-mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"6688635b923ac0624189896df2a842232cc46616","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.4.tgz","integrity":"sha512-fYdq8VyYm0eFcMTTDSndIyPBPG4YHKuzzhm8nrPm2uAovzdyvMVo9XMrpJZXuCcrntdddwLI22GaStCFt7+nxg==","signatures":[{"sig":"MEQCID9xFAni/+AfmWu313qDnIfRzf6ScH0tTl0kf7ykWjNiAiAHG814O/xnw1TvAxgjpD4+n4i/MKDqRbVNk3oX7znsZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6688635b923ac0624189896df2a842232cc46616","gitHead":"db59550885e2d137c873a4b4377d25e524668663","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/mattermost/mattermost-developer-kit.git","type":"git"},"_npmVersion":"4.3.0","description":"Command line tool for generating Mattermost integration and plugin templates","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0","denodeify":"1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.4.tgz_1505857040386_0.05663511669263244","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"mdk","version":"0.0.5","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"Apache-2.0","_id":"mdk@0.0.5","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"mattermost-user","email":"community@mattermost.com"}],"homepage":"https://github.com/mattermost/mattermost-mdk#readme","bugs":{"url":"https://github.com/mattermost/mattermost-mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"1f468e84d83404107283944df1c27f02f8af8d36","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.5.tgz","integrity":"sha512-9VxW7JKRXDFDCZU7p1yQnmbpAeRBNzECIEPavJ+iARkTecb3Uh9EKJ25EmoBA9uvwLhJdtxZ/wm7VRZL+8jDXA==","signatures":[{"sig":"MEUCIFxntnsmIcSvxx0R1yrmb08pYTwru0YBLf8vUWTigexcAiEA2gcTH0mbyGJfZPe0nhOi0dxCGp+HxbjhwUESJYOTq8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1f468e84d83404107283944df1c27f02f8af8d36","gitHead":"a24ce4bb8f83822c154bb4209aedefccdb92878f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/mattermost/mattermost-developer-kit.git","type":"git"},"_npmVersion":"4.3.0","description":"Command line tool for generating Mattermost integration and plugin templates","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0","denodeify":"1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.5.tgz_1505913773127_0.6567165623418987","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"mdk","version":"0.0.6","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"Apache-2.0","_id":"mdk@0.0.6","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"mattermost-user","email":"community@mattermost.com"}],"homepage":"https://github.com/mattermost/mattermost-mdk#readme","bugs":{"url":"https://github.com/mattermost/mattermost-mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"6ca4b6ebbb11b8d801fc95d3f42acb1b5564975a","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.6.tgz","integrity":"sha512-PH62g6a2CktRZd5osBVjwuf+kY96O8hkoc2z9CbO5Ie0ckXGKcssMkj1kO5T1GZTWCvYyDuvFLARqGN6BZZWZA==","signatures":[{"sig":"MEQCIBIKg3VP76XHuKy4vpoIlA3i9cKwMDFSdWOVCvaHJYsqAiAK027Eq6sd1Sgp4cmYecMPh8UOSjymRgTtCjuVv/uvrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6ca4b6ebbb11b8d801fc95d3f42acb1b5564975a","gitHead":"024bbb52c14051b4c2239bca0d0893104c78e8ca","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/mattermost/mattermost-developer-kit.git","type":"git"},"_npmVersion":"4.3.0","description":"Command line tool for generating Mattermost integration and plugin templates","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0","denodeify":"1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.6.tgz_1506694405134_0.608307585818693","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"mdk","version":"0.0.7","keywords":["mattermost","developer","toolkit"],"author":{"name":"Joram Wilander"},"license":"Apache-2.0","_id":"mdk@0.0.7","maintainers":[{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"enahum","email":"nahumhbl@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"mattermost-user","email":"community@mattermost.com"}],"homepage":"https://github.com/mattermost/mattermost-mdk#readme","bugs":{"url":"https://github.com/mattermost/mattermost-mdk/issues"},"bin":{"mdk":"./index.js"},"dist":{"shasum":"b49e9ad5e212b94bb6428ad88b488b08121943a2","tarball":"https://registry.npmjs.org/mdk/-/mdk-0.0.7.tgz","integrity":"sha512-lL+xWQ/4SIrQotlfYuKojyu2+zr72ogE4F32PYqH8d3WterbUyOG41D2MNZ/cuKpuBynJ5NFr69ZUp+Hcm+8CA==","signatures":[{"sig":"MEUCIQCR2PO/3Ght6aeTD2+Wcve9O42UIjVlXXvH7FZXoQ2j/wIgCYTQtDd4Squ6QfylbACxQfT1Rzcng3vtorHxjkfOzpE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b49e9ad5e212b94bb6428ad88b488b08121943a2","gitHead":"0e203b1a94eeb19b3a9c575541ee24e6065e2026","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jwilander","email":"jwawilander@gmail.com"},"repository":{"url":"git+https://github.com/mattermost/mattermost-developer-kit.git","type":"git"},"_npmVersion":"4.3.0","description":"Command line tool for generating Mattermost integration and plugin templates","directories":{},"_nodeVersion":"7.5.0","dependencies":{"co":"4.6.0","ncp":"2.0.0","chalk":"2.1.0","replace":"0.3.0","inquirer":"3.2.1","co-prompt":"1.0.0","commander":"2.11.0","denodeify":"1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/mdk-0.0.7.tgz_1510785865425_0.9857486265245825","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-08-18T18:09:39.511Z","modified":"2026-08-24T18:10:25.746Z","0.0.1":"2017-08-18T18:09:39.511Z","0.0.2":"2017-08-23T16:17:08.803Z","0.0.3":"2017-09-06T15:43:09.905Z","0.0.4":"2017-09-19T21:37:20.495Z","0.0.5":"2017-09-20T13:22:53.198Z","0.0.6":"2017-09-29T14:13:26.923Z","0.0.7":"2017-11-15T22:44:26.604Z"},"bugs":{"url":"https://github.com/mattermost/mattermost-mdk/issues"},"author":{"name":"Joram Wilander"},"license":"Apache-2.0","homepage":"https://github.com/mattermost/mattermost-mdk#readme","keywords":["mattermost","developer","toolkit"],"repository":{"url":"git+https://github.com/mattermost/mattermost-developer-kit.git","type":"git"},"description":"Command line tool for generating Mattermost integration and plugin templates","maintainers":[{"email":"harshil.sharma@mattermost.com","name":"harshil.sharma"},{"email":"community@mattermost.com","name":"mattermost-user"},{"email":"crspeller@gmail.com","name":"crspeller"},{"email":"jwawilander@gmail.com","name":"jwilander"},{"email":"corey@hulen.com","name":"coreyhulen"},{"email":"nahumhbl@gmail.com","name":"enahum"},{"email":"build@mattermost.com","name":"matterbuild"},{"email":"harrisonmhealey@gmail.com","name":"hmhealey"},{"email":"eva.sarafianou@mattermost.com","name":"evasarafianou"},{"email":"daniel@mattermost.com","name":"danielschalla"},{"email":"devin.binnie@mattermost.com","name":"devinbinnie"},{"email":"cpoile@gmail.com","name":"cpoile"},{"email":"daniel.sischy@mattermost.com","name":"danielsischy"},{"email":"mattbirtch@gmail.com","name":"matthewbirtch"},{"email":"paul.harrison@mattermost.com","name":"phar-mm"}],"readme":"# mdk - Mattermost Developer Kit (experimental)\n\nmdk is a tool for generating and managing templates for Mattermost integrations and plugins in Go and JavaScript.\n\nThe tool is still experimental and subject to changes.\n\n## Install\n\n```\nnpm install -g mdk\n```\n\n## Usage\n\n```\nmdk init --help\n```\n\n### Plugins\n\n1. Generate a template for a web/desktop app plugin in the current directory:\n```\nmdk init plugin\n```\n\n2. Switch into the plugin directory and code your plugin:\n```\ncd your-plugin\n```\n[See the template explanation for more information](https://github.com/mattermost/mdk/tree/master/templates/webapp/README.md#template)\n\n3. Once the plugin is ready, build it:\n```\nmake build\n```\n\n### Integrations\n\n1. Generate an integration in the current directory:\n```\nmdk init integration\n```\n\n2. Switch into the integration directory and code your integration:\n```\ncd your-integration\n```\n[See the template explanation for more information](https://github.com/mattermost/mdk/tree/master/templates/rest-api/README.md#template)\n\n3. To test your integration, run it:\n```\nmake run\n```\n\n4. Once done, build distributables for Linux, Mac OSX and Windows:\n```\nmake dist\n```\n\nThis command will write a distributable of your plugin to `dist/your-plugin.tar.gz`. You can then take this and upload it to your Mattermost server.\n\n## Current Features\n\n* Generate template for web and desktop app plugins.\n* Generate template for REST API integrations.\n\n## Planned Features\n\n* Advanced features for the webapp plugin template (Redux store, etc.)\n* Generate templates for server plugins.\n* Generate templates for webhook and slash command integrations, including bot integrations, in both JavaScript and Go.\n* Generate templates for OAuth2 integrations in both JavaScript and Go.\n* Manage generated integrations and plugins, such as adding features to an existing plugin.\n\n## Templates\n\nExplanations of each of the different templates can be found in their respective READMEs:\n\n* [Plugins](https://github.com/mattermost/mdk/tree/master/templates/plugins/README.md#template)\n  * [Webapp](https://github.com/mattermost/mdk/tree/master/templates/webapp/README.md#template)\n* Integrations\n  * [REST API](https://github.com/mattermost/mdk/tree/master/templates/rest-api/README.md#template)\n\n","readmeFilename":"README.md","users":{"jwilander":true,"michael2008s":true}}