amis2/publish.sh

23 lines
334 B
Bash
Raw Normal View History

2019-04-30 11:11:25 +08:00
#!/bin/bash
set -e
rm -rf npm
mkdir npm
2019-04-30 11:11:25 +08:00
cp -rf lib npm
cp package.json npm
cp schema.json npm
cp -rf scss npm
cp -rf sdk npm
2021-08-09 18:57:53 +08:00
cp .npmignore npm
2021-09-03 10:55:16 +08:00
cp -rf node_modules npm
2019-04-30 11:11:25 +08:00
cd npm
2019-08-05 16:54:39 +08:00
sed -i '' -e 's/\"name\": \"amis\"/\"name\": \"@fex\/amis\"/g' ./package.json
2019-04-30 11:11:25 +08:00
npm publish --registry=http://registry.npm.baidu-int.com
2019-04-30 11:11:25 +08:00
2020-05-27 19:31:50 +08:00
cd ..
2020-10-27 22:58:30 +08:00
# rm -rf npm