Skip to content

Commit fdce2a4

Browse files
committed
Fix some details, set version to v0.0.3
1 parent d39bf19 commit fdce2a4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"**/*.d.ts": true,
55
"**/*.js": true,
66
"**/*.map": true
7-
}
7+
},
8+
"typescript.tsdk": "./node_modules/typescript/lib"
89
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "windows-api-show-window",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Call ShowWindow from node via .NET",
55
"main": "src/index.js",
66
"dependencies": {
@@ -12,8 +12,9 @@
1212
},
1313
"scripts": {
1414
"postinstall": "npm run build",
15-
"build": "./node_modules/.bin/tsc",
16-
"test": "npm run build && start node test/index.js"
15+
"build": "tsc",
16+
"test": "npm run build && start node test/index.js",
17+
"watch": "tsc --watch"
1718
},
1819
"files": [
1920
"src",

test/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ console.log("");
4747
}).then(promiseToWait)
4848
.then(() => {
4949
console.log("Test finished");
50-
}).catch(err => {
50+
}).then(promiseToWait)
51+
.catch(err => {
5152
console.error(err);
5253
});

0 commit comments

Comments
 (0)