added browserify, refactored code to separate UI and network logic
This commit is contained in:
parent
c539ed6282
commit
51910b5fc9
13 changed files with 942 additions and 441 deletions
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"format": "prettier --single-quote --write 'public/*.js' 'app.js'",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node server/portal_server.js"
|
||||
"start": "watchify frontend/src/main.js -o public/bundle.js -d | node server/portal_server.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
@ -17,5 +17,9 @@
|
|||
"path": "^0.12.7",
|
||||
"prettier": "^1.3.1",
|
||||
"redis": "^2.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify": "^14.4.0",
|
||||
"watchify": "^3.9.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue