Commit b648f8e1 authored by super-lin0's avatar super-lin0

upgrade no

parent 6ff932c1
Pipeline #123 canceled with stages
#!/usr/bin/env node #!/usr/bin/env node
require("../lib/index"); const cli = require("../src/cli");
cli();
{ {
"name": "nemean-cli", "name": "nemean-cli",
"version": "1.0.2", "version": "1.0.4",
"main": "index.js", "main": "src/index.js",
"license": "MIT", "license": "ISC",
"author": "super-lin", "author": "super-lin",
"scripts": { "scripts": {
"postinstall": "ant-design-pro" "postinstall": "nemean-cli"
}, },
"dependencies": { "dependencies": {
"chalk": "^2.4.2", "chalk": "^2.4.2",
...@@ -14,7 +14,5 @@ ...@@ -14,7 +14,5 @@
"inquirer": "^7.0.0", "inquirer": "^7.0.0",
"shelljs": "^0.8.3" "shelljs": "^0.8.3"
}, },
"bin": { "bin": "bin/npmrc.js"
"nemean": "./bin/npmrc.js"
}
} }
...@@ -96,8 +96,8 @@ class Factory { ...@@ -96,8 +96,8 @@ class Factory {
} else { } else {
curPackage.devDependencies[item] = temPackage.devDependencies[item]; curPackage.devDependencies[item] = temPackage.devDependencies[item];
} }
if (curPackage.dependencies && curPackage.dependencies["solomon-init"]) { if (curPackage.dependencies && curPackage.dependencies["nemean-cli"]) {
delete curPackage.dependencies["solomon-init"]; delete curPackage.dependencies["nemean-cli"];
} }
}); });
...@@ -119,8 +119,8 @@ class Factory { ...@@ -119,8 +119,8 @@ class Factory {
curPackage.dependencies[item] = temPackage.dependencies[item]; curPackage.dependencies[item] = temPackage.dependencies[item];
} }
if (curPackage.dependencies && curPackage.dependencies["solomon-init"]) { if (curPackage.dependencies && curPackage.dependencies["nemean-cli"]) {
delete curPackage.dependencies["solomon-init"]; delete curPackage.dependencies["nemean-cli"];
} }
}); });
......
{ {
"name": "ant-design-pro", "name": "nemean-cli",
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"description": "An out-of-box UI solution for enterprise applications", "description": "An out-of-box UI solution for enterprise applications",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment