forked from kieler/elkjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.59 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
52
53
{
"name": "elkjs",
"version": "0.8.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",
"types": "lib/main",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/kieler/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 --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 && cp typings/*.d.ts lib/",
"js": "npm run babel && npm run browserify && npm run cp",
"build": "npm run gradle && npm run js",
"clean": "./gradlew clean && rm -r lib",
"setDevVersion": "npm version --no-git-tag-version \"$(node -p \"require('./package.json').version\")-dev-$(date '+%Y%m%d')\""
},
"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": "^6.2.0",
"web-worker": "^1.0.0"
},
"publishConfig": {
"access": "public",
"tag": "next"
}
}