2014-02-19 09:15:05 -05:00
|
|
|
{
|
2014-06-13 05:09:44 -04:00
|
|
|
"name": "matter-js",
|
2021-04-14 19:36:35 -04:00
|
|
|
"version": "0.17.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",
|
2021-02-09 18:35:13 -05:00
|
|
|
"html-webpack-plugin": "^4.5.1",
|
2020-03-10 14:12:29 -04:00
|
|
|
"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-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",
|
2021-02-09 18:35:13 -05:00
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
2021-01-11 18:42:24 -05:00
|
|
|
"webpack": "^4.46.0",
|
2021-02-09 18:35:13 -05:00
|
|
|
"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": {
|
2021-02-09 18:35:13 -05:00
|
|
|
"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",
|
2020-03-09 18:07:34 -04:00
|
|
|
"build-alpha": "webpack --mode=production --env.ALPHA & webpack --mode=production --env.MINIMIZE --env.ALPHA",
|
2021-02-09 18:35:13 -05:00
|
|
|
"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'",
|
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-11-19 15:30:12 -05:00
|
|
|
"test-node": "node --expose-gc node_modules/.bin/jest --no-cache --runInBand ./test/Examples.spec.js",
|
|
|
|
"test-browser": "node --expose-gc node_modules/.bin/jest --no-cache --runInBand ./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
|
|
|
"files": [
|
|
|
|
"src",
|
|
|
|
"build",
|
|
|
|
"CHANGELOG.md"
|
2018-06-11 14:05:09 -04:00
|
|
|
]
|
2014-02-19 09:15:05 -05:00
|
|
|
}
|