Updated .gitignore and npm scripts

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-18 15:01:48 +02:00
parent 5f1c6549c9
commit c4967ae120
4 changed files with 10 additions and 6 deletions

6
.gitignore vendored
View File

@@ -1,5 +1,9 @@
server/public/assets/images/thumbnails/ server/public/assets/images/thumbnails/
server/node_modules/ server/mailconfig.js
server/mongo_config.js
*/node_modules
node_modules/ node_modules/
scripts/ scripts/
.DS_Store .DS_Store
npm-debug.log
server/npm-debug.log

View File

@@ -4,6 +4,8 @@
"description": "Zoff ====", "description": "Zoff ====",
"main": "gulpfile.js", "main": "gulpfile.js",
"scripts": { "scripts": {
"install": "cd server/ && npm install",
"start": "node server/index.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {

5
server/.gitignore vendored
View File

@@ -1,5 +0,0 @@
node_modules/
scripts/
.DS_Store
mongo_config.js
mailconfig.js

View File

@@ -20,6 +20,9 @@
"socket.io": "^2.0.3", "socket.io": "^2.0.3",
"uniqid": "^4.1.1" "uniqid": "^4.1.1"
}, },
"scripts": {
"start": "node index.js"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/zoff-music/zoff-server.git" "url": "git://github.com/zoff-music/zoff-server.git"