Score
0
Watch 31 Star 123 Fork 28

百度开源 / amisTypeScript

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
此仓库主要用于镜像和文档,主要开发依然在 https://github.com/baidu/amis spread retract

https://baidu.gitee.io/amis/docs/index

  • TypeScript 55.5%
  • JavaScript 17.0%
  • HTML 15.7%
  • CSS 11.8%
Clone or download
publish.sh 362 Bytes
Copy Edit Raw Blame History
2betop authored 2020-06-02 11:02 . 先切成 typescript@3.8.x
#!/bin/bash
set -e
rm -rf lib
rm -rf output
fis3 release publish -c
rm -rf lib/node_modules
# 生成 sdk
rm -rf sdk && fis3 release publish-sdk -c
# 生成 .d.ts 文件
./node_modules/.bin/tsc --allowJs --declaration
cd output
for f in $(find . -name "*.d.ts"); do
mkdir -p ../lib/$(dirname $f) && mv $f ../lib/$(dirname $f)
done
cd ..
rm -rf output

Comment ( 0 )

Sign in for post a comment

TypeScript
1
https://gitee.com/baidu/amis.git
git@gitee.com:baidu/amis.git
baidu
amis
amis
master

Search