File tree 3 files changed +47
-6
lines changed
3 files changed +47
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Deploy Documents
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+
7
+ jobs :
8
+ build-deploy :
9
+ runs-on : ubuntu-18.04
10
+ steps :
11
+ - uses : actions/checkout@master
12
+
13
+ - name : Setup Node
14
+ uses : actions/setup-node@v1
15
+ with :
16
+ node-version : 10
17
+
18
+ - run : npm install
19
+ - run : npm run build
20
+ - run : cp ./example/apple-app-site-association ./typedoc
21
+
22
+ - name : Build and Deploy
23
+
24
+ env :
25
+ ACTIONS_DEPLOY_KEY : ${{ secrets.ACTIONS_DEPLOY_KEY }}
26
+ PUBLISH_BRANCH : gh-pages
27
+ PUBLISH_DIR : ./typedoc
Original file line number Diff line number Diff line change 2
2
"name" : " @uiw/react-native-wechat" ,
3
3
"title" : " @uiw/react Native Wechat" ,
4
4
"version" : " 1.0.0" ,
5
- "description" : " TODO " ,
5
+ "description" : " React Native 包使用微信分享、登录、收藏、支付等功能。 " ,
6
6
"main" : " index.js" ,
7
7
"files" : [
8
8
" android/libs" ,
14
14
" README.md"
15
15
],
16
16
"scripts" : {
17
- "test " : " echo \" Error: no test specified \" && exit 1 "
17
+ "build " : " typedoc "
18
18
},
19
19
"repository" : {
20
20
"type" : " git" ,
21
- "url" : " git+https://github.com/uiwjs/@uiw/ react-native-wechat.git" ,
22
- "baseUrl" : " https://github.com/uiwjs/@uiw/ react-native-wechat"
21
+ "url" : " git+https://github.com/uiwjs/react-native-wechat.git" ,
22
+ "baseUrl" : " https://github.com/uiwjs/react-native-wechat"
23
23
},
24
24
"keywords" : [
25
- " react-native"
25
+ " react-native" ,
26
+ " wechat"
26
27
],
27
28
"author" : {
28
29
"name" : " Kenny Wong" ,
37
38
},
38
39
"devDependencies" : {
39
40
"react" : " ^16.9.0" ,
40
- "react-native" : " ^0.61.5"
41
+ "react-native" : " ^0.61.5" ,
42
+ "typedoc" : " 0.17.8" ,
43
+ "typescript" : " 3.9.7"
41
44
}
42
45
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "inputFiles" : " ./index.d.ts" ,
3
+ "out" : " typedoc" ,
4
+ "name" : " React Native Wechat" ,
5
+ "mode" : " file" ,
6
+ "includeDeclarations" : true ,
7
+ "excludeExternals" : true ,
8
+ "ignoreCompilerErrors" : true ,
9
+ "excludePrivate" : true ,
10
+ "excludeProtected" : true
11
+ }
You can’t perform that action at this time.
0 commit comments