Explorar o código

starting on regular project

Brandon Wong %!s(int64=8) %!d(string=hai) anos
pai
achega
7aba7013fe
Modificáronse 3 ficheiros con 24 adicións e 0 borrados
  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
+}