Browse Source

chore: 更新打包脚本

es6
iapyang 5 years ago
parent
commit
6fbc162575
  1. 2
      lib/publish/publish.js

2
lib/publish/publish.js

@ -13,7 +13,5 @@ packageJSON.version = `2.0.${new Date().getTime()}`;
writeFileSync(resolve(__dirname, "../../package.json"), JSON.stringify(packageJSON, null, 2)); writeFileSync(resolve(__dirname, "../../package.json"), JSON.stringify(packageJSON, null, 2));
execSync([ execSync([
`npm-cli-login -u fui -p ${process.env.PASSWORD} -e teller@fanruan.com -r http://192.168.5.154:4873/`,
"npm whoami",
"npm publish --registry http://192.168.5.154:4873/", "npm publish --registry http://192.168.5.154:4873/",
].join(" && ")); ].join(" && "));

Loading…
Cancel
Save