initial commit

This commit is contained in:
Iuri Matias 2018-06-28 11:39:14 -04:00
commit 3bdd4a94ae
4 changed files with 35 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

7
index.js Normal file
View File

@ -0,0 +1,7 @@
const fortuneSource = require('fortune-tweetable')
module.exports = function (embark) {
embark.events.on("outputDone", () => {
embark.logger.info(fortuneSource.fortune())
});
};

13
package-lock.json generated Normal file
View File

@ -0,0 +1,13 @@
{
"name": "embark-fortune",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"fortune-tweetable": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fortune-tweetable/-/fortune-tweetable-1.0.0.tgz",
"integrity": "sha1-WXPMui/rbiVCq8vFgnUHkVuw+Lw="
}
}
}

14
package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "embark-fortune",
"version": "1.0.0",
"description": "Embark plugin to display a fortune quote after each build",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Iuri Matias <iuri.matias@gmail.com>",
"license": "ISC",
"dependencies": {
"fortune-tweetable": "1.0.0"
}
}