forked from kieler/elkjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.37 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
{
"name": "elkjs",
"version": "0.5.0",
"author": {
"name": "Ulf Rüegg",
"email": "[email protected]"
},
"description": "Automatic graph layout based on Sugiyama's algorithm. Specialized for data flow diagrams and ports.",
"main": "lib/main.js",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/OpenKieler/elkjs.git"
},
"keywords": [
"graph",
"layout",
"layered",
"ports",
"dataflow"
],
"license": "EPL-1.0",
"scripts": {
"test": "mocha test/mocha",
"gradle": "./gradlew lib",
"babel": "babel src/js/ -d build/js/",
"browserifyApi": "browserify build/js/main-api.js -s ELK --outfile lib/elk-api.js",
"browserifyBundle": "browserify build/js/main-node.js -s ELK -i 'webworker-threads' --outfile lib/elk.bundled.js",
"browserify": "mkdirp lib && npm run browserifyApi && npm run browserifyBundle",
"cp": "cp build/js/elk-worker*.js lib/ && cp build/js/main-node.js lib/main.js",
"js": "npm run babel && npm run browserify && npm run cp",
"build": "npm run gradle && npm run js",
"clean": "rm -r lib"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-env": "^1.6.0",
"browserify": "^14.4.0",
"chai": "^4.0.2",
"chai-as-promised": "^7.1.1",
"mkdirp": "^0.5.0",
"mocha": "^3.2.0",
"webworker-threads": "^0.7.12"
}
}