Skip to content

Commit

Permalink
+ build-fix.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nullice committed Apr 23, 2018
1 parent 4b6f4c0 commit c3acf14
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion dist/RichangEs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ declare var Calc: {};
declare var FileFIL: {
filterFileName: (name: any, fix: any) => any;
};
declare var Url: {
removeQuery: (url: any) => any;
getQuery: (url: any, getObject: any) => any;
urlParse: () => void;
};
declare var Richang: {
Object: {
isEmptyObject: (obj: any) => boolean;
Expand Down Expand Up @@ -194,6 +199,11 @@ declare var Richang: {
filterFileName: (name: any, fix: any) => any;
};
Calc: {};
Url: {
removeQuery: (url: any) => any;
getQuery: (url: any, getObject: any) => any;
urlParse: () => void;
};
};
export default Richang;
export { ObjectOBJ as Object, StringSTR as String, TypeTYP as Type, AarryArr as Array, Rect, ConsoleCON as Console, Tool, FileFIL as File, Calc };
export { ObjectOBJ as Object, StringSTR as String, TypeTYP as Type, AarryArr as Array, Rect, ConsoleCON as Console, Tool, FileFIL as File, Calc, Url };
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "richang.js",
"version": "4.0.1",
"version": "4.0.2",
"description": "richang js code.",
"main": "dist/Richang.js",
"module": "dist/RichangEs.js",
Expand All @@ -14,7 +14,7 @@
"build": "rollup -c",
"build-min": "rollup -c rollup-min.config.js",
"build-node-bundle": "webpack --verbose",
"build-all": "npm run build && npm run build-min && npm run build-node-bundle",
"build-all": "node ./build-fix.js && npm run build && npm run build-min && npm run build-node-bundle",
"windows-gen-d.ts": "copy dist\\RichangEs.js dist\\RichangEs.ts && tsc ./dist/RichangEs.ts -d --outDir ./dist/ts & copy dist\\ts\\RichangEs.d.ts dist\\RichangEs.d.ts && rmdir /S/Q dist\\ts && del dist\\RichangEs.ts",
"doc": "jsdoc2md dist/RichangNode.js > doc/RichangNode.md && type README-HEAD.MD > README.MD && type doc\\RichangNode.md >> README.MD"
},
Expand Down

0 comments on commit c3acf14

Please sign in to comment.