zzz-hello 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of zzz-hello might be problematic. Click here for more details.
- package/echo.sh +2 -0
- package/index.js +17 -0
- package/package.json +12 -0
package/echo.sh
ADDED
package/index.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
function helloWorld () {
|
2
|
+
console.log('Hello World!');
|
3
|
+
}
|
4
|
+
|
5
|
+
function doSomethingAwesome () {
|
6
|
+
console.log('Doing something awesome...');
|
7
|
+
}
|
8
|
+
|
9
|
+
function doSomethingElse () {
|
10
|
+
console.log('Now something else...');
|
11
|
+
}
|
12
|
+
|
13
|
+
module.exports = {
|
14
|
+
helloWorld: helloWorld,
|
15
|
+
doSomethingAwesome: doSomethingAwesome,
|
16
|
+
doSomethingElse: doSomethingElse
|
17
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "zzz-hello",
|
3
|
+
"version": "1.0.3",
|
4
|
+
"description": "test",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "chmod +x echo.sh; ./echo.sh",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "f",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|