expose-kit 0.1.0 → 0.1.2
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.
- package/dist/index.js +4 -61
- package/dist/package.json +57 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// index.ts
|
|
4
4
|
import { Command } from "commander";
|
|
5
|
-
import { dirname } from "path";
|
|
5
|
+
import { dirname, join } from "path";
|
|
6
6
|
import { fileURLToPath } from "url";
|
|
7
7
|
import chalk4 from "chalk";
|
|
8
8
|
|
|
@@ -153,69 +153,12 @@ var showCredit = (VERSION) => beautify`
|
|
|
153
153
|
${calmGradienrain(`Expose Kit v${VERSION}`)}
|
|
154
154
|
`;
|
|
155
155
|
|
|
156
|
-
// package.json
|
|
157
|
-
var package_default = {
|
|
158
|
-
name: "expose-kit",
|
|
159
|
-
version: "0.0.1",
|
|
160
|
-
module: "dist/index.js",
|
|
161
|
-
type: "module",
|
|
162
|
-
private: false,
|
|
163
|
-
author: "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
|
|
164
|
-
license: "MIT",
|
|
165
|
-
repository: {
|
|
166
|
-
type: "git",
|
|
167
|
-
url: "git+https://github.com/EdamAme-x/expose-kit.git"
|
|
168
|
-
},
|
|
169
|
-
publishConfig: {
|
|
170
|
-
registry: "https://registry.npmjs.org",
|
|
171
|
-
access: "public"
|
|
172
|
-
},
|
|
173
|
-
homepage: "https://evex.land",
|
|
174
|
-
scripts: {
|
|
175
|
-
format: "biome format **/*.ts",
|
|
176
|
-
"format:fix": "biome format --write **/*.ts",
|
|
177
|
-
lint: "biome lint **/*.ts",
|
|
178
|
-
"lint:fix": "biome lint --write **/*.ts",
|
|
179
|
-
build: "tsup",
|
|
180
|
-
postbuild: "publint",
|
|
181
|
-
release: "np"
|
|
182
|
-
},
|
|
183
|
-
devDependencies: {
|
|
184
|
-
"@biomejs/biome": "2.3.11",
|
|
185
|
-
"@types/bun": "latest",
|
|
186
|
-
np: "^10.2.0",
|
|
187
|
-
publint: "^0.3.16",
|
|
188
|
-
tsup: "^8.5.1"
|
|
189
|
-
},
|
|
190
|
-
peerDependencies: {
|
|
191
|
-
typescript: "^5"
|
|
192
|
-
},
|
|
193
|
-
dependencies: {
|
|
194
|
-
"@babel/generator": "^7.28.5",
|
|
195
|
-
"@babel/parser": "^7.28.5",
|
|
196
|
-
"@babel/traverse": "^7.28.5",
|
|
197
|
-
"@babel/types": "^7.28.5",
|
|
198
|
-
"@types/babel__generator": "^7.27.0",
|
|
199
|
-
"@types/babel__traverse": "^7.28.0",
|
|
200
|
-
chalk: "^5.6.2",
|
|
201
|
-
commander: "^14.0.2",
|
|
202
|
-
"loading-cli": "^1.1.2"
|
|
203
|
-
},
|
|
204
|
-
bin: {
|
|
205
|
-
expose: "dist/index.js",
|
|
206
|
-
"expose-kit": "dist/index.js",
|
|
207
|
-
"expose-js": "dist/index.js",
|
|
208
|
-
exposejs: "dist/index.js"
|
|
209
|
-
},
|
|
210
|
-
files: [
|
|
211
|
-
"dist"
|
|
212
|
-
]
|
|
213
|
-
};
|
|
214
|
-
|
|
215
156
|
// index.ts
|
|
157
|
+
import { readFileSync as readFileSync2 } from "fs";
|
|
216
158
|
var __filename = fileURLToPath(import.meta.url);
|
|
217
159
|
var __dirname = dirname(__filename);
|
|
218
|
-
|
|
160
|
+
var pkg = JSON.parse(readFileSync2(join(__dirname, "package.json"), "utf8"));
|
|
161
|
+
console.log(showCredit(pkg.version));
|
|
219
162
|
console.log();
|
|
220
163
|
var program = new Command();
|
|
221
164
|
program.name("expose").description("CLI for Deobfuscating").version(
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "expose-kit",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"private": false,
|
|
6
|
+
"author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/EdamAme-x/expose-kit.git"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"registry": "https://registry.npmjs.org",
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://evex.land",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "bun test",
|
|
19
|
+
"format": "biome format **/*.ts",
|
|
20
|
+
"format:fix": "biome format --write **/*.ts",
|
|
21
|
+
"lint": "biome lint **/*.ts",
|
|
22
|
+
"lint:fix": "biome lint --write **/*.ts",
|
|
23
|
+
"build": "tsup && cp package.json dist/package.json",
|
|
24
|
+
"postbuild": "publint",
|
|
25
|
+
"release": "np"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@biomejs/biome": "2.3.11",
|
|
29
|
+
"@types/bun": "latest",
|
|
30
|
+
"cp": "^0.2.0",
|
|
31
|
+
"publint": "^0.3.16",
|
|
32
|
+
"tsup": "^8.5.1"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"typescript": "^5"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@babel/generator": "^7.28.5",
|
|
39
|
+
"@babel/parser": "^7.28.5",
|
|
40
|
+
"@babel/traverse": "^7.28.5",
|
|
41
|
+
"@babel/types": "^7.28.5",
|
|
42
|
+
"@types/babel__generator": "^7.27.0",
|
|
43
|
+
"@types/babel__traverse": "^7.28.0",
|
|
44
|
+
"chalk": "^5.6.2",
|
|
45
|
+
"commander": "^14.0.2",
|
|
46
|
+
"loading-cli": "^1.1.2"
|
|
47
|
+
},
|
|
48
|
+
"bin": {
|
|
49
|
+
"expose": "dist/index.js",
|
|
50
|
+
"expose-kit": "dist/index.js",
|
|
51
|
+
"expose-js": "dist/index.js",
|
|
52
|
+
"exposejs": "dist/index.js"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"dist"
|
|
56
|
+
]
|
|
57
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expose-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
|
|
@@ -20,13 +20,14 @@
|
|
|
20
20
|
"format:fix": "biome format --write **/*.ts",
|
|
21
21
|
"lint": "biome lint **/*.ts",
|
|
22
22
|
"lint:fix": "biome lint --write **/*.ts",
|
|
23
|
-
"build": "tsup",
|
|
23
|
+
"build": "tsup && cp package.json dist/package.json",
|
|
24
24
|
"postbuild": "publint",
|
|
25
25
|
"release": "np"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@biomejs/biome": "2.3.11",
|
|
29
29
|
"@types/bun": "latest",
|
|
30
|
+
"cp": "^0.2.0",
|
|
30
31
|
"publint": "^0.3.16",
|
|
31
32
|
"tsup": "^8.5.1"
|
|
32
33
|
},
|