-
Notifications
You must be signed in to change notification settings - Fork 153
/
package.json
64 lines (64 loc) · 2.18 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
54
55
56
57
58
59
60
61
62
63
64
{
"name": "elgrapho",
"version": "2.4.0",
"main": "engine/dist/ElGrapho.min.js",
"author": "Eric Rowell",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ericdrowell/ElGrapho.git"
},
"keywords": [
"graph",
"data",
"visualization",
"tree",
"webgl",
"force",
"directed",
"network",
"cluster"
],
"homepage": "https://www.elgrapho.com/",
"devDependencies": {
"concat": "^1.0.3",
"jshint": "^2.9.5",
"npm-watch": "^0.4.0",
"replace": "^1.1.0",
"uglify-es": "^3.3.9",
"uglifycss": "0.0.29",
"webpack": "^4.10.2",
"webpack-cli": "^3.0.0"
},
"dependencies": {
"lodash": "^4.17.10",
"node-sass": "^4.9.0",
"gl-matrix": "^2.6.1",
"concretejs": "^3.0.5",
"d3-force": "^2.0.1"
},
"watch": {
"build": {
"patterns": [
"engine/src"
],
"extensions": [
"js",
"scss",
"frag",
"vert"
],
"legacyWatch": true,
"delay": 0
}
},
"scripts": {
"build": "npm run jshint && npm run prep-dists && node engine/scripts/build-icons.js && node engine/scripts/build-shaders.js && npm run sass && webpack --config webpack.config.js && npm run uglify && npm run add-license",
"jshint": "jshint engine/src/",
"sass": "node-sass engine/src/styles.scss engine/dist/styles/ElGrapho.css && uglifycss engine/dist/styles/ElGrapho.css > engine/dist/styles/ElGrapho.min.css && node engine/scripts/build-styles.js",
"prep-dists": "rm -rf engine/dist && mkdir engine/dist && mkdir engine/dist/icons && mkdir engine/dist/shaders && mkdir engine/dist/styles",
"uglify": "uglifyjs engine/dist/ElGrapho.js -c -m -o engine/dist/ElGrapho.min.js",
"watch": "npm-watch",
"add-license": "concat -o engine/dist/ElGrapho.js license.js engine/dist/ElGrapho.js && concat -o engine/dist/ElGrapho.min.js license.js engine/dist/ElGrapho.min.js && replace '@@VERSION' $npm_package_version engine/dist/ElGrapho.js engine/dist/ElGrapho.min.js && replace '@@DATE' $(date '+%m-%d-%Y') engine/dist/ElGrapho.js engine/dist/ElGrapho.min.js && replace '@@YEAR' $(date '+%Y') engine/dist/ElGrapho.js engine/dist/ElGrapho.min.js"
}
}