-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (43 loc) · 1.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "qkube",
"version": "1.1.11",
"description": "",
"main": "index.js",
"bin": {
"qkube": "./dist/cli.js"
},
"files": [
"dist/*"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "./node_modules/.bin/webpack && ./node_modules/.bin/javascript-obfuscator ./src/generator.js -o ./dist/generator.js --dead-code-injection true --control-flow-flattening true",
"wp": "./node_modules/.bin/webpack --config ./generator/webpack.config.js",
"bb": "./node_modules/.bin/javascript-obfuscator generator/index.js -o ./dist/generator.js",
"postbuild": "echo '#!/usr/bin/env node' | cat - ./dist/cli.js > ./dist/_cli.js && mv ./dist/_cli.js ./dist/cli.js && npm run zip",
"zip": "zip -r kloudhow_templates kloudhow_templates",
"__prepublishOnly": "cp package.json dist/package.json",
"prepublishOnly": "npm run build",
"pub": "npm version patch && npm publish && head -n 20 package.json"
},
"author": "Tam Du <duminhtam@gmail.com>",
"license": "ISC",
"dependencies": {
"adm-zip": "^0.4.14",
"commander": "^2.20.0",
"plop": "^2.2.0",
"readline-sync": "^1.4.10",
"rimraf": "^3.0.2",
"superagent": "^5.2.2"
},
"devDependencies": {
"javascript-obfuscator": "^0.18.1",
"shebang-loader": "0.0.1",
"terser-webpack-plugin": "^1.3.0",
"tmp": "^0.1.0",
"webpack": "^4.38.0",
"webpack-cli": "^3.3.6",
"webpack-node-externals": "^1.7.2",
"webpack-obfuscator": "^0.27.2"
}
}