Commit 2041df27 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent d35723c5
...@@ -9,3 +9,4 @@ ...@@ -9,3 +9,4 @@
!/node_modules/@types/ !/node_modules/@types/
!/node_modules/@types/mongorito/ !/node_modules/@types/mongorito/
!systemjs.config.js !systemjs.config.js
/mongodb_config.json
{ {
"dbSettings": { "dbSettings": {
"connectionString": "mongodb://localhost:27017/mycard" "connectionString": "mongodb://wudizhanche.mycard.moe:27017/mycard"
} }
} }
\ No newline at end of file
{ {
"name": "mycard-developer-console", "name": "mycard-console",
"version": "0.0.0", "version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "tsc && concurrently \"node server.js\" \"lite-server\"", "start": "tsc && concurrently \"node server.js\" \"lite-server\"",
"tsc": "tsc", "tsc": "tsc",
"lint": "tslint -e ./node_modules/** ./**/*.ts -t verbose" "lint": "tslint -e ./node_modules/** ./**/*.ts -t verbose",
"migrate": "tsc && mongo-migrate --runMongoMigrate --config mongodb_config.json --dbPropName dbSettings"
}, },
"dependencies": { "dependencies": {
"@angular/common": "~2.4.0", "@angular/common": "~2.4.0",
...@@ -42,6 +43,7 @@ ...@@ -42,6 +43,7 @@
"@types/koa-router": "^7.0.21", "@types/koa-router": "^7.0.21",
"@types/mongodb": "^2.1.36", "@types/mongodb": "^2.1.36",
"@types/node": "^6.0.55", "@types/node": "^6.0.55",
"@types/pluralize": "0.0.27",
"concurrently": "^3.1.0", "concurrently": "^3.1.0",
"lite-server": "^2.2.2", "lite-server": "^2.2.2",
"tslint": "^3.15.1", "tslint": "^3.15.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment