1 | {
|
2 | "name": "matter-js",
|
3 | "version": "0.20.0",
|
4 | "license": "MIT",
|
5 | "homepage": "http://brm.io/matter-js/",
|
6 | "author": "Liam Brummitt <liam@brm.io> (http://brm.io/)",
|
7 | "description": "a 2D rigid body physics engine for the web",
|
8 | "main": "build/matter.js",
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/liabru/matter-js.git"
|
12 | },
|
13 | "keywords": [
|
14 | "javascript",
|
15 | "canvas",
|
16 | "html5",
|
17 | "physics",
|
18 | "physics engine",
|
19 | "game engine",
|
20 | "rigid body physics"
|
21 | ],
|
22 | "devDependencies": {
|
23 | "conventional-changelog-cli": "^2.1.1",
|
24 | "eslint": "^6.8.0",
|
25 | "html-webpack-plugin": "^4.5.1",
|
26 | "jest": "^29.7.0",
|
27 | "jest-worker": "^29.7.0",
|
28 | "json-stringify-pretty-compact": "^2.0.0",
|
29 | "matter-tools": "^0.14.0",
|
30 | "matter-wrap": "^0.2.0",
|
31 | "mock-require": "^3.0.3",
|
32 | "pathseg": "^1.2.0",
|
33 | "poly-decomp": "^0.3.0",
|
34 | "puppeteer-core": "^5.5.0",
|
35 | "terser-webpack-plugin": "^4.2.3",
|
36 | "webpack": "^4.46.0",
|
37 | "webpack-bundle-analyzer": "^4.4.0",
|
38 | "webpack-cli": "^3.3.11",
|
39 | "webpack-dev-server": "^3.11.1"
|
40 | },
|
41 | "scripts": {
|
42 | "start": "npm run dev",
|
43 | "dev": "npm run serve -- --open",
|
44 | "serve": "webpack-dev-server --no-cache --mode development --config webpack.demo.config.js",
|
45 | "watch": "nodemon --watch webpack.demo.config.js --exec \"npm run serve\"",
|
46 | "build": "webpack --mode=production --no-hot --no-watch & webpack --mode=production --no-hot --no-watch --env.MINIMIZE",
|
47 | "build-alpha": "webpack --mode=production --no-hot --no-watch --env.KIND=alpha & webpack --mode=production --no-hot --no-watch --env.MINIMIZE --env.KIND=alpha",
|
48 | "build-dev": "webpack --mode=production --no-hot --no-watch --env.KIND=dev & webpack --mode=production --no-hot --no-watch --env.MINIMIZE --env.KIND=dev",
|
49 | "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",
|
50 | "lint": "eslint 'src/**/*.js' 'demo/src/**/*.js' 'examples/*.js' 'webpack.*.js'",
|
51 | "doc": "yuidoc --config yuidoc.json --project-version $npm_package_version",
|
52 | "doc-watch": "nodemon --delay 3 --watch 'matter-doc-theme' --watch src -e 'js,html,css,handlebars' --exec 'npm run doc'",
|
53 | "benchmark": "npm run test-node -- --examples=stress3,stress4 --benchmark=true --updates=300 --repeats=3",
|
54 | "test": "npm run test-node",
|
55 | "test-node": "npm run build-dev && node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Examples.spec.js",
|
56 | "test-browser": "node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Browser.spec.js",
|
57 | "test-all": "npm run test-node && npm run test-browser",
|
58 | "test-save": "npm run test-node -- --save=true",
|
59 | "test-watch": "npm run test-node -- --watch",
|
60 | "changelog": "conventional-changelog -i CHANGELOG.md -s -r",
|
61 | "release": "npm version --no-git-tag-version",
|
62 | "preversion": "git checkout master && npm run lint && npm run test-node -- --save=true",
|
63 | "version": "git checkout -b release/$npm_package_version && npm run build"
|
64 | },
|
65 | "files": [
|
66 | "src",
|
67 | "build/matter.js",
|
68 | "build/matter.min.js",
|
69 | "README.md",
|
70 | "CHANGELOG.md",
|
71 | "LICENSE",
|
72 | "package.json"
|
73 | ]
|
74 | }
|