]> git.r.bdr.sh - rbdr/sumo/blobdiff - package.json
Fix positioning and lessen friction (#8)
[rbdr/sumo] / package.json
index 50f2a47bd91c7d997826893b5ee4a3f0dca2fc8e..290cec9936310cce56f22d45b13f822747cf4a81 100644 (file)
@@ -4,11 +4,12 @@
   "description": "A game about sumo",
   "main": "index.js",
   "scripts": {
-    "build": "webpack-cli --mode production --config ./config/webpack.js",
+    "build": "parcel build ./index.html",
     "document": "jsdoc2md -f 'lib/**/*.js' > doc/README.md",
     "lint": "eslint lib",
+    "setup-hooks": "ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit",
     "test": "I'm really really sorry!",
-    "watch": "webpack --watch --mode development --config ./config/webpack.js"
+    "watch": "parcel ./index.html"
   },
   "repository": {
     "type": "git",
   },
   "homepage": "https://github.com/rbdr/sumo#readme",
   "dependencies": {
+    "babel-polyfill": "^6.26.0",
     "@serpentity/components.debug": "^2.0.0",
     "@serpentity/components.position": "^2.0.0",
     "@serpentity/serpentity": "^2.1.0",
+    "matter-js": "^0.14.1",
     "pixi.js": "^4.7.3"
   },
-  "browserslist": "last two versions",
+  "browserslist": "last 2 versions",
   "devDependencies": {
+    "parcel-bundler": "^1.7.1",
     "babel-core": "^6.26.0",
-    "babel-polyfill": "^6.26.0",
     "babel-preset-env": "^1.6.1",
     "babel-loader": "^7.1.4",
     "code": "^5.2.0",
@@ -37,8 +40,6 @@
     "eslint-config-hapi": "^11.0.0",
     "eslint-plugin-hapi": "^4.1.0",
     "jsdoc": "^3.5.5",
-    "jsdoc-to-markdown": "^4.0.1",
-    "webpack": "^4.6.0",
-    "webpack-cli": "^2.0.14"
+    "jsdoc-to-markdown": "^4.0.1"
   }
 }