-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
39 lines (39 loc) · 3.38 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
{
"name": "evonne",
"version": "0.0.1",
"description": "",
"type": "module",
"dependencies": {
"d3": "^6.3.1",
"d3-flextree": "^2.1.1",
"d3-selection": "^2.0.0",
"dotenv": "^14.2.0",
"express": "^4.17.1",
"express-fileupload": "^1.2.1",
"extract-zip-relative-path": "^2.0.4",
"fs": "0.0.1-security",
"materialize-css": "^1.0.0-rc.2",
"move-file": "^1.2.0",
"move-file-cli": "3.0.0",
"nouislider": "^14.6.4",
"parse-json": "^5.2.0",
"pug": "^3.0.2",
"recursive-fs": "^2.1.0",
"socket.io": "^2.3.0",
"sprightly": "^1.0.3",
"uuid": "^8.3.2"
},
"scripts": {
"download-all": "npm run download-libs && npm run download-jars && npm run download-examples",
"start": "npm run download-all && node server.js",
"dev": "node server.js",
"start-ci": "PORT=7007 forever start server.js",
"stop-ci": "forever stopall",
"download-libs": "mkdir \"./frontend/public/js/lib\" & curl \"https://d3js.org/d3.v5.min.js\" -o \"./frontend/public/js/lib/d3.v5.min.js\" & curl \"https://d3js.org/d3-selection-multi.v1.js\" -o \"./frontend/public/js/lib/d3-selection-multi.v1.js\" & curl \"https://d3js.org/d3-dsv.v1.min.js\" -o \"./frontend/public/js/lib/d3-dsv.v1.min.js\" & curl \"https://cdn.jsdelivr.net/g/filesaver.js\" -o \"./frontend/public/js/lib/filesaver.js\" & curl \"https://cdn.jsdelivr.net/npm/[email protected]/dist/svg-pan-zoom.min.js\" -o \"./frontend/public/js/lib/svg-pan-zoom.min.js\" & curl \"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js\" -o \"./frontend/public/js/lib/materialize.min.js\" & curl \"https://marvl.infotech.monash.edu/webcola/cola.min.js\" -o \"./frontend/public/js/lib/cola.min.js\" & curl \"https://marvl.infotech.monash.edu/webcola/cola.min.js.map\" -o \"./frontend/public/js/lib/cola.min.js.map\" & mkdir \"./frontend/public/style/lib\" & curl \"https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2\" -o \"./frontend/public/style/lib/roboto-latin-ext.woff2\" & curl \"https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2\" -o \"./frontend/public/style/lib/roboto-latin.woff2\" & curl \"https://fonts.gstatic.com/s/materialicons/v135/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2\" -o \"./frontend/public/style/lib/material-icons.woff2\" & curl \"https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css\" -o \"./frontend/public/style/lib/normalize.css\" & curl \"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css\" -o \"./frontend/public/style/lib/materialize.min.css\" ",
"download-jars": "mkdir \"./externalTools\" & curl \"https://cloud.perspicuous-computing.science/s/4ek2QeDMXafgdmW/download\" -o ./tools.zip && npm run extract-jars",
"extract-jars": "extract-zip \"./tools.zip\" ./ && recursive-delete \"./externalTools\" && move-file \"./evonne-backend-tools/\" \"./externalTools/\" ",
"download-examples": "mkdir \"./frontend/public/examples\" & curl \"https://cloud.perspicuous-computing.science/s/FCWg4nKkm94NADK/download\" -o ./examples.zip && npm run extract-examples",
"extract-examples": "extract-zip \"./examples.zip\" ./ && recursive-delete \"./frontend/public/examples\" && move-file \"./evonne-examples/\" \"./frontend/public/examples\" "
},
"main": "server.js"
}