Skip to content

Commit

Permalink
Merge pull request #2 from eapearson/master
Browse files Browse the repository at this point in the history
pre-publication fixes
  • Loading branch information
eapearson authored Jun 14, 2019
2 parents 18e6f06 + ade7b1e commit aa29f22
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 25 deletions.
4 changes: 2 additions & 2 deletions lib/lib/windowChannel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ export declare class Channel {
sendMessage(message: Message): void;
send(name: string, payload: Payload): void;
sendRequest(message: Message, handler: (response: any) => any): void;
request(name: string, payload: Payload): Promise<{}>;
request(name: string, payload: Payload): Promise<unknown>;
startMonitor(): void;
listenOnce(listener: WaitingListener): void;
once(name: string, success: (payload: Payload) => void, error: (error: Error) => void): void;
when(name: string, timeout: number): Promise<{}>;
when(name: string, timeout: number): Promise<unknown>;
stats(): {
sent: number;
received: number;
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 13 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "kbase-ui-lib",
"name": "@kbase/ui-lib",
"version": "0.1.0-alpha.1",
"description": "A typescript library to support kbase-ui and plugins",
"main": "lib/index.js",
Expand All @@ -11,10 +11,8 @@
"test": "jest",
"copy-assets": "copyfiles -u 1 \"./src/**/*.css\" \"./lib/\"",
"clean": "rm -rf ./lib/*",
"xbuild": "tsc",
"build": "bash scripts/build.bash",
"start": "tsc --watch",
"xpostinstall": "bash scripts/postinstall.bash",
"generate-api-docs": "typedoc --out api-docs src"
},
"repository": {
Expand All @@ -29,7 +27,7 @@
"typescript"
],
"author": "KBase Developers",
"license": "SEE LICENSE IN LICENSE",
"license": "SEE LICENSE IN LICENSE.md",
"bugs": {
"url": "https://github.com/kbaseIncubator/kbase-ui-lib/issues"
},
Expand All @@ -51,17 +49,17 @@
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/enzyme": "^3.9.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.13",
"copyfiles": "^2.1.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.13.0",
"jest": "^24.8.0",
"typescript": "3.4.5",
"ts-jest": "^24.0.2",
"@types/enzyme": "3.9.3",
"@types/enzyme-adapter-react-16": "1.0.5",
"@types/jest": "24.0.14",
"copyfiles": "2.1.0",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.14.0",
"eslint": "5.16.0",
"eslint-plugin-react": "7.13.0",
"jest": "24.8.0",
"typescript": "3.5.2",
"ts-jest": "24.0.2",
"jest-transform-css": "2.0.0",
"typedoc": "0.14.2"
}
Expand Down

0 comments on commit aa29f22

Please sign in to comment.