-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (35 loc) · 1.74 KB
/
package.json
File metadata and controls
36 lines (35 loc) · 1.74 KB
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
{
"name": "autorouter",
"version": "1.0.0",
"description": "A library for intelligent routing in visual diagramming tools",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"pretest": "npm run build-actionapplier && npm run build-replayer",
"build-replayer": "node node_modules/browserify/bin/cmd.js test/utils/autorouter.replay.js -d --s AutoRouterReplayer > test/build/replayer.js",
"build-viewer": "node node_modules/browserify/bin/cmd.js test/utils/test-viewer.js -d --s TestViewer > test/build/test-viewer.js",
"build-actionapplier": "node node_modules/browserify/bin/cmd.js src/AutoRouter.ActionApplier.js -d --s AutoRouterActionApplier > dist/action-applier.js",
"build-actionapplier-min": "node node_modules/browserify/bin/cmd.js src/AutoRouter.ActionApplier.js -d --s AutoRouterActionApplier | node node_modules/uglify-js//bin/uglifyjs -c > dist/action-applier.min.js",
"test": "node ./node_modules/mocha/bin/mocha $(find test/ | grep spec.js)",
"build-debug": "node node_modules/browserify/bin/cmd.js index.js -d --s AutoRouter > dist/autorouter.js",
"build-min": "node_modules/browserify/bin/cmd.js index.js -d --s AutoRouter | node node_modules/uglify-js/bin/uglifyjs -c > dist/autorouter.min.js",
"build": "npm run build-debug && npm run build-min && npm run build-actionapplier && npm run build-actionapplier-min",
"test-viewer": "node test/utils/test-server.js"
},
"author": "Brian Broll",
"license": "MIT",
"dependencies": {
"debug": "^2.2.0",
"lodash.assign": "^3.2.0"
},
"devDependencies": {
"browserify": "^12.0.1",
"mocha": "^2.3.4",
"express": "^4.13.3",
"raphael": "^2.1.4",
"uglify-js": "^2.6.1",
"webworker-threads": "^0.6.2"
}
}