-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
40 lines (40 loc) · 1.55 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
{
"name": "mec2",
"version": "0.9.5",
"description": "mec2 - a physics library for simulating planar mechanisms via corrective impulses",
"keywords": [
"vector",
"mechanism",
"linkage",
"node",
"constraint",
"load",
"model",
"2d",
"javascript"
],
"main": "mec2.js",
"scripts": {
"build": "npm run minify && npm run jsdoc && npm run gzip && npm run cpsamp",
"update": "npm run concat && npm run minify && npm run mec2html",
"concat": "concat ./src/mec.core.js ./src/mec.node.js ./src/mec.constraint.js ./src/mec.drive.js ./src/mec.load.js ./src/mec.view.js ./src/mec.shape.js ./src/mec.model.js ./src/mec.msg.en.js >mec2.js",
"minify": "uglifyjs ./src/mec.core.js ./src/mec.node.js ./src/mec.constraint.js ./src/mec.drive.js ./src/mec.load.js ./src/mec.view.js ./src/mec.shape.js ./src/mec.model.js ./src/mec.msg.en.js -o ./mec2.min.js --comments -m",
"jsdoc": "jsdoc2md ./mec2.js > ./doc/api.md",
"gzip": "7z -tgzip a ./mec2.min.js.gz ./mec2.min.js",
"cpsamp": "copyfiles -f ./examples/*.html ../goessner.github.io/g2/examples",
"mec2html": "concat ./bin/g2.js ./bin/g2.selector.js ./bin/canvasInteractor.js ./mec2.js ./bin/mec.slider.js ./bin/mec.htmlelement.js > ./mec2.html.js"
},
"author": "Stefan Goessner <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/goessner/mec2.git"
},
"license": "MIT",
"devDependencies": {
"concat": "^1.0.0",
"jsdoc-to-markdown": "^1.3.2",
"jslint": "^0.9.5",
"uglify-es": "^3.3.9"
},
"microjam": {}
}