Setting up the Development Environment to mess with JS/TS/RxJS

Step 01

mkdir RxJS/test

Step 02

npm init -y
package.json

Step 03

npm install rxjs webpack webpack-dev-server typescript ts-loader
"dependencies": {   "rxjs": "^6.5.4",   "ts-loader": "^6.2.1",   "typescript": "^3.7.5",   "webpack": "^4.41.5",   "webpack-dev-server": "^3.10.1"}

Step 04

npm install webpack-cli--save-dev
"devDependencies": {    "webpack-cli": "^3.3.10"}

Step 05

code .
VS code

Step 06

"scripts": {    "test": "echo \"Error: no test specified\" && exit 1"},
"scripts": {   "start": "webpack-dev-server --mode development"},
npm run start

Step 07

Step 08

Step 09

index.html
index.ts

Step 11

npm run start
npm run start

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store