2014-02-19 09:15:05 -05:00
|
|
|
{
|
2014-06-13 05:09:44 -04:00
|
|
|
"name": "matter-js",
|
2021-01-31 16:56:25 -05:00
|
|
|
"version": "0.16.1",
|
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",
|
|
|
|
"jest": "^25.1.0",
|
2019-11-07 17:34:59 -05:00
|
|
|
"jest-worker": "^24.9.0",
|
2019-09-30 18:28:17 -04:00
|
|
|
"json-stringify-pretty-compact": "^2.0.0",
|
2021-01-16 15:48:44 -05:00
|
|
|
"matter-tools": "^0.12.3",
|
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",
|
2021-01-11 18:42:24 -05:00
|
|
|
"webpack": "^4.46.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": {
|
2019-09-28 09:51:27 -04:00
|
|
|
"dev": "webpack-dev-server --watch-content-base",
|
2019-09-14 13:36:22 -04:00
|
|
|
"build": "webpack --mode=production & webpack --mode=production --env.MINIMIZE",
|
2020-03-09 18:07:34 -04:00
|
|
|
"build-alpha": "webpack --mode=production --env.ALPHA & webpack --mode=production --env.MINIMIZE --env.ALPHA",
|
2020-12-05 18:36:13 -05:00
|
|
|
"build-examples": "webpack --config webpack.examples.config.js --mode=production & webpack --config webpack.examples.config.js --mode=production --env.MINIMIZE",
|
|
|
|
"build-examples-alpha": "webpack --config webpack.examples.config.js --mode=production --env.ALPHA & webpack --config webpack.examples.config.js --mode=production --env.MINIMIZE --env.ALPHA",
|
2021-01-28 18:27:24 -05:00
|
|
|
"build-demo": "mkdir -p demo/lib && cp node_modules/matter-tools/build/matter-tools.demo.js demo/lib & cp node_modules/matter-tools/build/matter-tools.gui.js demo/lib & cp node_modules/matter-tools/build/matter-tools.inspector.js demo/lib & cp node_modules/pathseg/pathseg.js demo/lib & cp node_modules/poly-decomp/build/decomp.js demo/lib & cp node_modules/matter-wrap/build/matter-wrap.js demo/lib",
|
2020-11-24 19:09:11 -05:00
|
|
|
"lint": "eslint 'src/**/*.js' 'demo/js/Demo.js' 'demo/js/Compare.js' 'examples/*.js' 'webpack.*.js'",
|
2020-11-25 18:17:10 -05:00
|
|
|
"doc": "yuidoc --config yuidoc.json --project-version $npm_package_version",
|
2020-11-24 18:26:20 -05:00
|
|
|
"test": "npm run test-node",
|
2021-01-31 13:04:42 -05:00
|
|
|
"test-all": "jest --no-cache",
|
2020-11-24 18:26:20 -05:00
|
|
|
"test-save": "SAVE=true npm run test-node",
|
|
|
|
"test-watch": "npm run test-node -- --watch",
|
2021-01-31 13:04:42 -05:00
|
|
|
"test-node": "jest --no-cache ./test/Examples.spec.js",
|
|
|
|
"test-browser": "jest --no-cache ./test/Browser.spec.js",
|
2020-11-25 18:17:10 -05:00
|
|
|
"changelog": "conventional-changelog -i CHANGELOG.md -s -r",
|
|
|
|
"release": "npm version --no-git-tag-version",
|
2020-12-05 19:31:54 -05:00
|
|
|
"preversion": "git checkout master && npm run lint && SAVE=true npm run test-all",
|
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
|
|
|
"dependencies": {},
|
|
|
|
"files": [
|
|
|
|
"src",
|
|
|
|
"build",
|
|
|
|
"CHANGELOG.md"
|
2018-06-11 14:05:09 -04:00
|
|
|
]
|
2014-02-19 09:15:05 -05:00
|
|
|
}
|