mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
039591152a
Change-Id: I6391efcfdf0574b2339e536e8150e12e370b285e
23 lines
326 B
Bash
23 lines
326 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
rm -rf npm
|
|
mkdir npm
|
|
|
|
cp -rf lib npm
|
|
cp package.json npm
|
|
cp schema.json npm
|
|
cp -rf scss npm
|
|
cp -rf docs npm
|
|
cp -rf examples npm
|
|
cp -rf sdk npm
|
|
|
|
cd npm
|
|
|
|
sed -i '' -e 's/\"name\": \"amis\"/\"name\": \"@fex\/amis\"/g' ./package.json
|
|
|
|
npm publish --registry=http://registry.npm.baidu-int.com
|
|
|
|
cd ..
|
|
rm -rf npm
|