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

upgrade no

parent 6ff932c1
Pipeline #123 canceled with stages
#!/usr/bin/env node
require("../lib/index");
const cli = require("../src/cli");
cli();
{
"name": "nemean-cli",
"version": "1.0.2",
"main": "index.js",
"license": "MIT",
"version": "1.0.4",
"main": "src/index.js",
"license": "ISC",
"author": "super-lin",
"scripts": {
"postinstall": "ant-design-pro"
"postinstall": "nemean-cli"
},
"dependencies": {
"chalk": "^2.4.2",
......@@ -14,7 +14,5 @@
"inquirer": "^7.0.0",
"shelljs": "^0.8.3"
},
"bin": {
"nemean": "./bin/npmrc.js"
}
"bin": "bin/npmrc.js"
}
......@@ -96,8 +96,8 @@ class Factory {
} else {
curPackage.devDependencies[item] = temPackage.devDependencies[item];
}
if (curPackage.dependencies && curPackage.dependencies["solomon-init"]) {
delete curPackage.dependencies["solomon-init"];
if (curPackage.dependencies && curPackage.dependencies["nemean-cli"]) {
delete curPackage.dependencies["nemean-cli"];
}
});
......@@ -119,8 +119,8 @@ class Factory {
curPackage.dependencies[item] = temPackage.dependencies[item];
}
if (curPackage.dependencies && curPackage.dependencies["solomon-init"]) {
delete curPackage.dependencies["solomon-init"];
if (curPackage.dependencies && curPackage.dependencies["nemean-cli"]) {
delete curPackage.dependencies["nemean-cli"];
}
});
......
{
"name": "ant-design-pro",
"name": "nemean-cli",
"version": "1.0.0",
"private": true,
"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