X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/493ec31cb19b4211c703762d14a4e6232c4c2143..aaa1f8f65bae59680e930fa6788e4662abae332c:/package.json?ds=inline diff --git a/package.json b/package.json index 21ab9f3..0df1130 100644 --- a/package.json +++ b/package.json @@ -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", + "lint": "quick-lint-js lib/**/*.js", + "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", @@ -21,25 +22,25 @@ }, "homepage": "https://github.com/rbdr/sumo#readme", "dependencies": { - "@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" + "@serpentity/components.angle": "^4.0.0", + "@serpentity/components.debug": "^4.0.0", + "@serpentity/components.force": "^4.0.0", + "@serpentity/components.position": "^4.0.0", + "@serpentity/serpentity": "^4.0.0", + "matter-js": "^0.19.0", + "pixi.js": "^7.2.4", + "tinycolor2": "^1.6.0" }, - "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", - "code": "^5.2.0", - "eslint": "^4.19.1", - "eslint-config-hapi": "^11.0.0", - "eslint-plugin-hapi": "^4.1.0", - "jsdoc": "^3.5.5", + "@babel/core": "^7.22.8", + "@babel/preset-env": "^7.22.7", + "babel-loader": "^9.1.3", "jsdoc-to-markdown": "^4.0.1", - "webpack": "^4.6.0", - "webpack-cli": "^2.0.14" + "parcel": "^2.9.3", + "punycode": "^1.4.1", + "url": "^0.11.0" } }