diff package.json @ 489:361ab9e7ffad

Replace webpacker with esbuild and use plain js instead of coffee
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 02:34:06 +0900
parents 994ae0349ade
children 3038dddd33cb
line wrap: on
line diff
--- a/package.json	Tue Jan 17 01:53:36 2023 +0900
+++ b/package.json	Tue Jan 17 02:34:06 2023 +0900
@@ -2,17 +2,19 @@
   "name": "zeropaste",
   "private": true,
   "dependencies": {
-    "@rails/webpacker": "5.4.3",
-    "bootstrap": "4.4.1",
-    "coffee-loader": "^4.0.0",
-    "coffeescript": "2.7.0",
+    "bootstrap": "^4.4",
     "commonmark": "^0.30.0",
+    "esbuild": "^0.17.0",
+    "glob": "^8.1.0",
     "highlight.js": "^11.7.0",
     "jquery": "^3.6.3",
-    "popper.js": "^1.16.1"
+    "popper.js": "^1.16.1",
+    "semistandard": "^16.0.1"
   },
   "version": "0.1.0",
-  "devDependencies": {
-    "webpack-dev-server": "^4.11.1"
-  }
+  "scripts": {
+    "build": "esbuild app/javascript/application.js --bundle --outfile=app/assets/builds/application.js",
+    "lint": "semistandard app/assets/javascripts/**/*.js app/javascript/**/*.js"
+  },
+  "type": "module"
 }