first commit
This commit is contained in:
commit
89bd041125
|
@ -0,0 +1 @@
|
|||
node_modules/
|
|
@ -0,0 +1,7 @@
|
|||
const Haml = require('haml');
|
||||
|
||||
module.exports = function(embark) {
|
||||
embark.registerPipeline((embark.pluginConfig.files || ['**/*.haml']), function (opts) {
|
||||
return Haml.render(opts.source);
|
||||
});
|
||||
};
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name": "embark-haml",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"haml": {
|
||||
"version": "0.4.3",
|
||||
"resolved": "https://registry.npmjs.org/haml/-/haml-0.4.3.tgz",
|
||||
"integrity": "sha1-90BTGPPC7dGXpIsbjysvE+C7U3g="
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "embark-haml",
|
||||
"version": "1.0.0",
|
||||
"description": "Embark plugin to support haml templates",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"haml": "^0.4.3"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue