-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
42 lines (41 loc) · 1.89 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
{
"name": "pretzel",
"private": true,
"version": "3.5.0",
"dependencies": {
},
"repository" :
{ "type" : "git"
, "url" : "https://github.com/plantinformatics/pretzel.git"
},
"keywords": [
"ember",
"mongoose",
"express",
"loopback"
],
"author": "AgriBio / CSIRO",
"license": "GPL-3.0-or-later",
"description": "A Loopback/Ember/D3 framework to display and interactively navigate complex datasets.",
"directories": {
"doc" : "doc/notes/"
} ,
"//": "See also README.md",
"//": "in frontend directory : Install Ember dependencies",
"//": "in backend directory : Install dependencies",
"//": "The message 'Entering directory' is common to e.g. make -w, and recognised by emacs compilation-mode to set default-directory",
"//": "optional env for ember in build:frontend : handsOnTableLicenseKey=non-commercial-and-evaluation ",
"scripts": {
"postinstall" : "ln -s ../frontend/dist backend/client",
"go" : "npm run setup:frameworks && npm run build:frontend && npm run run:precheck && npm run run:backend",
"setup:frameworks": "cd frontend && npm ci && bower install && cd ../backend && npm ci",
"build:frontend" : "cd frontend && node_modules/ember-cli/bin/ember build --environment production",
"run:precheck" : "npm run run:checkLink && npm run run:checkMongo",
"run:checkLink" : "[ -f backend/client/index.html ] || npm run postinstall",
"run:checkMongo" : "mongo --eval 'hostname();' admin || echo mongod is required to be running",
"run:backend" : "echo NODE_INSPECT=$NODE_INSPECT; cd backend && EMAIL_VERIFY=NONE AUTH=ALL node $NODE_INSPECT server/server.js",
"dev:backend" : "cd backend && npm run dev",
"run:frontend" : "cd frontend; echo \"Entering directory '$PWD'\"; npm run start",
"clean": "rm -r backend/node_modules frontend/node_modules frontend/bower_components backend/client/assets/* frontend/dist/*"
}
}