-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 2.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "newton.js",
"version": "0.0.2",
"description": "Javascript lightweight 2D rigid body physics engine",
"main": "dist/newton.cjs.js",
"browser": "dist/newton.esm.js",
"type": "module",
"scripts": {
"start": "run-p dev:*",
"dev:build_esm": "esbuild src/index.js --format=esm --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.esm.js --watch",
"dev:demo": "browser-sync start -s -w --directory --startPath ./index.html",
"build": "run-p build:*",
"build:iife": "esbuild src/iife.js --format=iife --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.js",
"build:iife-min": "esbuild src/iife.js --format=iife --bundle --minify --target=chrome60,firefox60,safari12 --outfile=dist/newton.min.js",
"build:cjs": "esbuild src/index.js --format=cjs --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.cjs.js",
"build:cjs-min": "esbuild src/index.js --format=cjs --bundle --minify --target=chrome60,firefox60,safari12 --outfile=dist/newton.cjs.min.js",
"build:esm": "esbuild src/index.js --format=esm --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.esm.js",
"build:esm-min": "esbuild src/index.js --format=esm --bundle --minify --target=chrome60,firefox60,safari12 --outfile=dist/newton.esm.min.js",
"build:core-iife": "esbuild src/iife.core.js --format=iife --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.core.js",
"build:core-iife-min": "esbuild src/iife.core.js --format=iife --bundle --minify --target=chrome60,firefox60,safari12 --outfile=dist/newton.core.min.js",
"build:core-cjs": "esbuild src/core.js --format=cjs --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.core.cjs.js",
"build:core-cjs-min": "esbuild src/core.js --format=cjs --bundle --minify --target=chrome60,firefox60,safari12 --outfile=dist/newton.core.cjs.min.js",
"build:core-esm": "esbuild src/core.js --format=esm --bundle --target=chrome60,firefox60,safari12 --outfile=dist/newton.core.esm.js",
"build:core-esm-min": "esbuild src/core.js --format=esm --bundle --minify --target=chrome60,firefox60,safari12 --outfile=dist/newton.core.esm.min.js"
},
"keywords": [
"physics",
"rigid",
"collision",
"constraints",
"lightweight",
"tiny",
"matter-js",
"box2d"
],
"author": "Dmitrii Vasilev",
"homepage": "https://newton.js.org",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/caracal7/newton.js"
},
"devDependencies": {
"browser-sync": "^3.0.2",
"esbuild": "^0.20.1",
"npm-run-all": "^4.1.5"
},
"dependencies": {
"fast-ease": "^0.0.2"
}
}