]> git.r.bdr.sh - rbdr/sumo/blobdiff - package.json
Use new lib components
[rbdr/sumo] / package.json
index 21ab9f3dc6377f91d1eba68d011be1c8bb1fc329..f0871f86ffac19b824b679ab7cdc655e55ab9920 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 --public-url '.' --no-minify",
     "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": {
-    "@serpentity/components.debug": "^2.0.0",
-    "@serpentity/components.position": "^2.0.0",
+    "@serpentity/components.angle": "^1.0.2",
+    "@serpentity/components.debug": "^3.0.2",
+    "@serpentity/components.force": "^1.0.3",
+    "@serpentity/components.position": "^3.0.2",
     "@serpentity/serpentity": "^2.1.0",
+    "babel-polyfill": "^6.26.0",
     "matter-js": "^0.14.1",
-    "pixi.js": "^4.7.3"
+    "pixi.js": "^4.7.3",
+    "tinycolor2": "^1.4.1"
   },
-  "browserslist": "last two versions",
+  "browserslist": [
+    "defaults"
+  ],
   "devDependencies": {
-    "babel-core": "^6.26.0",
-    "babel-polyfill": "^6.26.0",
-    "babel-preset-env": "^1.6.1",
-    "babel-loader": "^7.1.4",
+    "@babel/core": "^7.8.7",
+    "@babel/preset-env": "^7.8.7",
+    "@hapi/eslint-config-hapi": "^13.0.2",
+    "@hapi/eslint-plugin-hapi": "^4.3.5",
+    "babel-loader": "^8.0.6",
     "code": "^5.2.0",
-    "eslint": "^4.19.1",
+    "eslint": "^6.8.0",
     "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"
+    "parcel-bundler": "^1.12.4"
   }
 }