]> git.r.bdr.sh - rbdr/junction/blobdiff - extension/package.json
Update build to use content script
[rbdr/junction] / extension / package.json
index c6c2632b58f35f55565593b2aebae537bb2cb9b0..a59a35ceed1a80c15c9eec9eb88c6a430626c9ff 100644 (file)
@@ -2,16 +2,22 @@
   "name": "junction-extension",
   "version": "1.0.0",
   "description": "",
   "name": "junction-extension",
   "version": "1.0.0",
   "description": "",
-  "main": "src/junction.js",
+  "main": "junction.js",
   "scripts": {
   "scripts": {
-    "build": "babel --presets es2015 src/junction.js -o build/junction.js",
+    "build": "webpack",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "author": "",
   "license": "ISC",
   "devDependencies": {
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "author": "",
   "license": "ISC",
   "devDependencies": {
+    "@babel/preset-env": "^7.11.5",
     "babel-cli": "^6.26.0",
     "babel-core": "^6.26.3",
     "babel-cli": "^6.26.0",
     "babel-core": "^6.26.3",
-    "babel-preset-es2015": "^6.24.1"
-  }
+    "babel-loader": "^8.1.0",
+    "babel-preset-es2015": "^6.24.1",
+    "socket.io-client": "^2.3.0",
+    "webpack": "^4.44.2",
+    "webpack-cli": "^3.3.12"
+  },
+  "dependencies": {}
 }
 }