浏览代码

starting on regular project

Brandon Wong 8 年之前
父节点
当前提交
7aba7013fe
共有 3 个文件被更改,包括 24 次插入0 次删除
  1. 0 0
      regular/.babelrc
  2. 0 0
      regular/.gitignore
  3. 24 0
      regular/package.json

babelrc → regular/.babelrc


gitignore → regular/.gitignore


+ 24 - 0
regular/package.json

@@ -0,0 +1,24 @@
+{
+  "name": "$foldername",
+  "version": "0.1.0",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "postinstall": "npm run compile",
+    "compile-test": "babel test --out-dir test-build",
+    "compile-src": "babel src --out-dir build",
+    "compile": "npm run compile-src; npm run compile-test",
+    "watch": "nodemon --watch src --watch test --exec \"npm run compile --silent\"",
+    "serverwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && node build/server.js\"",
+    "testwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && npm test\""
+  },
+  "dependencies": {
+    "babel-cli": "^6.6.5",
+    "babel-preset-es2015": "^6.6.0"
+  },
+  "devDependencies": {
+    "blue-tape": "^0.2.0",
+    "nodemon": "^1.9.1",
+    "tape": "^4.5.1"
+  },
+  "private": true
+}