File tree Expand file tree Collapse file tree 4 files changed +42
-13
lines changed Expand file tree Collapse file tree 4 files changed +42
-13
lines changed Original file line number Diff line number Diff line change 1+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+ * ~
4+ * .swp
5+ * .log
6+
7+ .DS_Store
8+ .idea /
9+ .temp /
10+
11+ build /
12+ dist /
13+ lib /
14+ coverage /
15+ es /
16+ types /
17+ node_modules /
18+
19+ demo /miniapp /components /
20+ _miniapp /
Original file line number Diff line number Diff line change 11{
22 "plugins" : [
33 [
4- " rax-plugin-api"
4+ " build-plugin-rax-component" ,
5+ {
6+ "type" : " rax" ,
7+ "targets" : [" web" ]
8+ }
59 ]
610 ]
711}
Original file line number Diff line number Diff line change 11{
22 "name" : " universal-loading" ,
33 "author" : " rax" ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.1 " ,
55 "description" : " " ,
66 "main" : " lib/index.js" ,
77 "files" : [
1010 " dist"
1111 ],
1212 "scripts" : {
13- "start" : " rax -scripts start" ,
14- "build" : " rax -scripts build"
13+ "start" : " build -scripts start" ,
14+ "build" : " build -scripts build"
1515 },
1616 "pre-commit" : [
1717 " lint"
1818 ],
1919 "keywords" : [
20- " Rax"
20+ " Rax" ,
21+ " rax-component"
2122 ],
2223 "engines" : {
2324 "npm" : " >=3.0.0"
2425 },
26+ "peerDependencies" : {
27+ "rax" : " ^1.1.0"
28+ },
2529 "dependencies" : {
26- "universal-env" : " ^2.0 .0"
30+ "universal-env" : " ^3.1 .0"
2731 },
2832 "devDependencies" : {
29- "rax" : " ^1.0.8" ,
30- "rax-plugin-api" : " ^0.2.0" ,
31- "rax-scripts" : " ^2.0.0" ,
32- "@types/eslint-visitor-keys" : " ^1.0.0" ,
33- "@types/json-schema" : " ^7.0.3"
33+ "@alib/build-scripts" : " ^0.1.0" ,
34+ "@types/rax" : " ^1.0.1" ,
35+ "build-plugin-rax-component" : " ^0.2.0" ,
36+ "rax" : " ^1.1.0" ,
37+ "rax-test-renderer" : " ^1.0.0" ,
38+ "typescript" : " ^3.7.5"
3439 }
3540}
Original file line number Diff line number Diff line change 1- import { isMiniApp , isWeChatMiniprogram } from 'universal-env' ;
1+ import { isMiniApp , isWeChatMiniProgram } from 'universal-env' ;
22import * as miniAppModule from './miniapp/ali' ;
33import * as weChatModule from './miniapp/wechat' ;
44
@@ -8,7 +8,7 @@ let Loading: Loading;
88if ( isMiniApp ) {
99 Loading = miniAppModule ;
1010}
11- if ( isWeChatMiniprogram ) {
11+ if ( isWeChatMiniProgram ) {
1212 Loading = weChatModule ;
1313}
1414
You can’t perform that action at this time.
0 commit comments