From e2e1e356877e406be4372596ac1fab78cc9eebe5 Mon Sep 17 00:00:00 2001 From: SinK Date: Tue, 5 Jan 2016 16:38:11 +0900 Subject: [PATCH] initial customize : S.Kohno (IBM) --- .project | 11 +++++++++++ devnotes.txt | 4 ++++ package.json | 9 +++++++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .project create mode 100644 devnotes.txt diff --git a/.project b/.project new file mode 100644 index 00000000..4e3fe7e8 --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + react-tutorial + + + + + + + + diff --git a/devnotes.txt b/devnotes.txt new file mode 100644 index 00000000..d6228747 --- /dev/null +++ b/devnotes.txt @@ -0,0 +1,4 @@ +1.git hub (https://github.com/reactjs/react-tutorial)よりfork +2.eclipse import -> git (uri複製) -> 一般PROJとして +3.package.jsonにlite-server / concurrentlyを追加。右クリック -> npm install (node_modulesディレクトリが生成) +4.package.json右クリック -> npm -> goal = startを指定。lite-server, node server.jsが起動 diff --git a/package.json b/package.json index e7491981..5cd4cb43 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,15 @@ "body-parser": "^1.4.3", "express": "^4.4.5" }, - "devDependencies": {}, + "license": "ISC", + "devDependencies": { + "concurrently": "^1.0.0", + "lite-server": "^1.3.1" + }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server.js" + "lite": "lite-server --baseDir ./public", + "start": "concurrent \"node server.js\" \"npm run lite\" " }, "repository": { "type": "git",