0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-24 13:29:01 -05:00
liabru-matter-js/package.json

71 lines
3.1 KiB
JSON
Raw Permalink Normal View History

2014-02-19 09:15:05 -05:00
{
2014-06-13 05:09:44 -04:00
"name": "matter-js",
2023-02-16 09:19:15 -05:00
"version": "0.19.0",
2014-02-19 09:15:05 -05:00
"license": "MIT",
"homepage": "http://brm.io/matter-js/",
"author": "Liam Brummitt <liam@brm.io> (http://brm.io/)",
2014-02-20 13:00:38 -05:00
"description": "a 2D rigid body physics engine for the web",
2016-11-03 20:34:11 -04:00
"main": "build/matter.js",
2014-06-13 05:09:44 -04:00
"repository": {
"type": "git",
"url": "https://github.com/liabru/matter-js.git"
2014-02-27 17:50:56 -05:00
},
2014-02-20 13:00:38 -05:00
"keywords": [
"javascript",
"canvas",
"html5",
"physics",
"physics engine",
"game engine",
"rigid body physics"
],
2014-02-19 09:15:05 -05:00
"devDependencies": {
2020-11-25 18:17:10 -05:00
"conventional-changelog-cli": "^2.1.1",
2020-03-10 14:12:29 -04:00
"eslint": "^6.8.0",
"html-webpack-plugin": "^4.5.1",
2024-03-03 16:01:45 -05:00
"jest": "^29.7.0",
"jest-worker": "^29.7.0",
2019-09-30 18:28:17 -04:00
"json-stringify-pretty-compact": "^2.0.0",
2021-02-11 17:27:16 -05:00
"matter-tools": "^0.14.0",
2021-01-28 18:27:24 -05:00
"matter-wrap": "^0.2.0",
2021-01-31 12:32:47 -05:00
"mock-require": "^3.0.3",
2021-01-12 18:17:38 -05:00
"pathseg": "^1.2.0",
2021-01-16 18:10:27 -05:00
"poly-decomp": "^0.3.0",
2020-11-24 19:09:11 -05:00
"puppeteer-core": "^5.5.0",
"terser-webpack-plugin": "^4.2.3",
2021-01-11 18:42:24 -05:00
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.4.0",
2020-03-10 14:12:29 -04:00
"webpack-cli": "^3.3.11",
2021-01-11 18:42:24 -05:00
"webpack-dev-server": "^3.11.1"
2014-02-19 09:15:05 -05:00
},
"scripts": {
"start": "npm run dev",
"dev": "npm run serve -- --open",
"serve": "webpack-dev-server --no-cache --mode development --config webpack.demo.config.js",
"watch": "nodemon --watch webpack.demo.config.js --exec \"npm run serve\"",
"build": "webpack --mode=production --no-hot --no-watch & webpack --mode=production --no-hot --no-watch --env.MINIMIZE",
"build-alpha": "webpack --mode=production --no-hot --no-watch --env.KIND=alpha & webpack --mode=production --no-hot --no-watch --env.MINIMIZE --env.KIND=alpha",
"build-dev": "webpack --mode=production --no-hot --no-watch --env.KIND=dev & webpack --mode=production --no-hot --no-watch --env.MINIMIZE --env.KIND=dev",
"build-demo": "rm -rf ./demo/js && webpack --no-hot --no-watch --config webpack.demo.config.js --mode=production && webpack --no-hot --no-watch --config webpack.demo.config.js --mode=production --env.MINIMIZE",
"lint": "eslint 'src/**/*.js' 'demo/src/**/*.js' 'examples/*.js' 'webpack.*.js'",
2020-11-25 18:17:10 -05:00
"doc": "yuidoc --config yuidoc.json --project-version $npm_package_version",
2021-04-07 17:00:12 -04:00
"doc-watch": "nodemon --delay 3 --watch 'matter-doc-theme' --watch src -e 'js,html,css,handlebars' --exec 'npm run doc'",
2024-03-03 16:01:45 -05:00
"benchmark": "npm run test-node -- --examples=stress3,stress4 --benchmark=true --updates=300 --repeats=3",
2020-11-24 18:26:20 -05:00
"test": "npm run test-node",
2021-12-10 18:01:04 -05:00
"test-node": "npm run build-dev && node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Examples.spec.js",
"test-browser": "node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Browser.spec.js",
2021-12-15 05:59:11 -05:00
"test-all": "npm run test-node && npm run test-browser",
"test-save": "npm run test-node -- --save=true",
2021-12-15 05:59:11 -05:00
"test-watch": "npm run test-node -- --watch",
2020-11-25 18:17:10 -05:00
"changelog": "conventional-changelog -i CHANGELOG.md -s -r",
"release": "npm version --no-git-tag-version",
"preversion": "git checkout master && npm run lint && npm run test-all -- --save=true",
2020-11-25 18:17:10 -05:00
"version": "git checkout -b release/$npm_package_version && npm run build"
2014-06-13 05:09:44 -04:00
},
2016-04-26 17:59:41 -04:00
"files": [
"src",
"build",
"CHANGELOG.md"
]
2014-02-19 09:15:05 -05:00
}