Skip to content

Commit 004e2f1

Browse files
committed
update npm libs
1 parent b6ec6f2 commit 004e2f1

File tree

3 files changed

+82
-81
lines changed

3 files changed

+82
-81
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The project includes the following files and folder
5252
![npm command display](images/npm_install.png "npm command display")
5353

5454
3. If the machine is behind a proxy server, you need to configure Node.js uses proxy instead of a direct HTTP connection via the following command in a command prompt: ```set https_proxy=http://<proxy.server>:<port>```
55-
4. Run ```$> npx webpack``` in the command prompt to build and compile all TypeScript files in *src* into JavaScript source file (*/web/dist/* folder)
55+
4. Run ```$> npm run build``` in the command prompt to build and compile all TypeScript files in *src* into JavaScript source file (*/web/dist/* folder)
5656

5757
![webpack command display](images/webpack_screen2.png "webpack command display")
5858

package-lock.json

Lines changed: 72 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@
44
"description": "A simple project that demonstrates how to implement WebSocket with TypeScript",
55
"main": "server.js",
66
"dependencies": {
7-
"@types/express": "^4.17.11",
8-
"@types/node": "^15.0.2",
9-
"@types/websocket": "^1.0.2",
7+
"@types/express": "^4.17.13",
8+
"@types/node": "^15.14.7",
9+
"@types/websocket": "^1.0.4",
1010
"express": "^4.17.1"
1111
},
1212
"devDependencies": {
1313
"awesome-typescript-loader": "^5.2.1",
1414
"mem": "^8.1.1",
15-
"source-map-loader": "^2.0.1",
16-
"typescript": "^4.2.4",
15+
"source-map-loader": "^2.0.2",
16+
"typescript": "^4.3.5",
1717
"webpack": "5.37.0",
18-
"webpack-cli": "^4.7.0",
19-
"yargs-parser": "^20.2.7"
18+
"webpack-cli": "^4.7.2",
19+
"yargs-parser": "^20.2.9"
2020
},
2121
"scripts": {
22-
"test": "echo \"Error: no test specified\" && exit 1"
22+
"test": "echo \"Error: no test specified\" && exit 1",
23+
"build": "webpack"
2324
},
2425
"author": "Wasin Waeosri <wasin.waeosri@refinitiv.com> (https://developers.refinitiv.com/)",
2526
"license": "MIT",

0 commit comments

Comments
 (0)