Browse code

upgrade required webpack-dev-server

Patches CVE-2018-14732

Joseph Weston authored on 08/10/2019 21:40:30
Showing 1 changed files
... ...
@@ -24,7 +24,7 @@
24 24
     "style-loader": "^0.20.2",
25 25
     "transform-runtime": "^0.0.0",
26 26
     "webpack": "^3.11.0",
27
-    "webpack-dev-server": "^2.11.1",
27
+    "webpack-dev-server": "^3.1.11",
28 28
     "webpack-merge": "^4.1.2"
29 29
   },
30 30
   "dependencies": {
Browse code

correct server init line in dev mode

Joseph Weston authored on 19/07/2018 15:54:24
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
   "license": "GPL-3.0",
7 7
   "scripts": {
8 8
     "build": "webpack -p",
9
-    "dev": "concurrently --kill-others --names 'WEBPACK,PYTHON' --prefix-colors 'bgBlue.bold,bgGreen.bold' 'webpack-dev-server --hot --inline --progress --config webpack.dev.js' 'python -m aiohttp.web -P 5000 nord.web:get_app'"
9
+    "dev": "concurrently --kill-others --names 'WEBPACK,PYTHON' --prefix-colors 'bgBlue.bold,bgGreen.bold' 'webpack-dev-server --hot --inline --progress --config webpack.dev.js' 'python -m aiohttp.web -P 5000 nord.web:init_app'"
10 10
   },
11 11
   "devDependencies": {
12 12
     "babel-core": "^6.26.0",
Browse code

implement frontend

Joseph Weston authored on 15/04/2018 18:32:56
Showing 1 changed files
... ...
@@ -28,11 +28,11 @@
28 28
     "webpack-merge": "^4.1.2"
29 29
   },
30 30
   "dependencies": {
31
-    "bulma": "^0.6.2",
31
+    "normalize.css": "^8.0.0",
32 32
     "react": "^16.2.0",
33
+    "react-animate-height": "^0.10.10",
33 34
     "react-dom": "^16.2.0",
34 35
     "react-simple-maps": "^0.11.1",
35
-    "react-slidedown": "^1.3.0",
36 36
     "react-spinkit": "^3.0.0"
37 37
   }
38 38
 }
Browse code

add dummy aiohttp webapp

Joseph Weston authored on 25/02/2018 19:48:23
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
   "license": "GPL-3.0",
7 7
   "scripts": {
8 8
     "build": "webpack -p",
9
-    "dev": "webpack-dev-server --hot --inline --progress --watch"
9
+    "dev": "concurrently --kill-others --names 'WEBPACK,PYTHON' --prefix-colors 'bgBlue.bold,bgGreen.bold' 'webpack-dev-server --hot --inline --progress --config webpack.dev.js' 'python -m aiohttp.web -P 5000 nord.web:get_app'"
10 10
   },
11 11
   "devDependencies": {
12 12
     "babel-core": "^6.26.0",
... ...
@@ -17,13 +17,15 @@
17 17
     "babel-preset-react": "^6.24.1",
18 18
     "babel-preset-stage-3": "^6.24.1",
19 19
     "babel-runtime": "^6.26.0",
20
+    "concurrently": "^3.5.1",
20 21
     "css-loader": "^0.28.10",
21 22
     "file-loader": "^1.1.9",
22 23
     "html-webpack-plugin": "^2.30.1",
23 24
     "style-loader": "^0.20.2",
24 25
     "transform-runtime": "^0.0.0",
25 26
     "webpack": "^3.11.0",
26
-    "webpack-dev-server": "^2.11.1"
27
+    "webpack-dev-server": "^2.11.1",
28
+    "webpack-merge": "^4.1.2"
27 29
   },
28 30
   "dependencies": {
29 31
     "bulma": "^0.6.2",
Browse code

make minimal frontend

Mock backend communication.

Joseph Weston authored on 25/02/2018 15:45:51
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
   "license": "GPL-3.0",
7 7
   "scripts": {
8 8
     "build": "webpack -p",
9
-    "dev": "webpack-dev-server --hot --inline --progress"
9
+    "dev": "webpack-dev-server --hot --inline --progress --watch"
10 10
   },
11 11
   "devDependencies": {
12 12
     "babel-core": "^6.26.0",
... ...
@@ -18,8 +18,10 @@
18 18
     "babel-preset-stage-3": "^6.24.1",
19 19
     "babel-runtime": "^6.26.0",
20 20
     "css-loader": "^0.28.10",
21
+    "file-loader": "^1.1.9",
21 22
     "html-webpack-plugin": "^2.30.1",
22 23
     "style-loader": "^0.20.2",
24
+    "transform-runtime": "^0.0.0",
23 25
     "webpack": "^3.11.0",
24 26
     "webpack-dev-server": "^2.11.1"
25 27
   },
... ...
@@ -27,6 +29,8 @@
27 29
     "bulma": "^0.6.2",
28 30
     "react": "^16.2.0",
29 31
     "react-dom": "^16.2.0",
30
-    "transform-runtime": "^0.0.0"
32
+    "react-simple-maps": "^0.11.1",
33
+    "react-slidedown": "^1.3.0",
34
+    "react-spinkit": "^3.0.0"
31 35
   }
32 36
 }
Browse code

add frontend web skeleton

Joseph Weston authored on 24/02/2018 21:02:14
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+{
2
+  "name": "nord",
3
+  "description": "An unofficial client for NordVPN",
4
+  "repository": "https://github.com/jbweston/nord",
5
+  "author": "Joseph Weston <joseph@weston.cloud>",
6
+  "license": "GPL-3.0",
7
+  "scripts": {
8
+    "build": "webpack -p",
9
+    "dev": "webpack-dev-server --hot --inline --progress"
10
+  },
11
+  "devDependencies": {
12
+    "babel-core": "^6.26.0",
13
+    "babel-loader": "^7.1.2",
14
+    "babel-plugin-transform-runtime": "^6.23.0",
15
+    "babel-polyfill": "^6.26.0",
16
+    "babel-preset-es2015": "^6.24.1",
17
+    "babel-preset-react": "^6.24.1",
18
+    "babel-preset-stage-3": "^6.24.1",
19
+    "babel-runtime": "^6.26.0",
20
+    "css-loader": "^0.28.10",
21
+    "html-webpack-plugin": "^2.30.1",
22
+    "style-loader": "^0.20.2",
23
+    "webpack": "^3.11.0",
24
+    "webpack-dev-server": "^2.11.1"
25
+  },
26
+  "dependencies": {
27
+    "bulma": "^0.6.2",
28
+    "react": "^16.2.0",
29
+    "react-dom": "^16.2.0",
30
+    "transform-runtime": "^0.0.0"
31
+  }
32
+}