summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-03-17 22:15:38 +0100
committerJules Laplace <jules@okfoc.us>2017-03-17 22:15:38 +0100
commit09ffebf333adfe45967b44eb8f6237a65a876e25 (patch)
treeb83d6cc1461fe2f74f2ca9b637ab36abeada51f6 /package.json
parent4e9e8b7692f906e5e389ebfbf5cb1873bed38a00 (diff)
getting set up with babel and webpack
Diffstat (limited to 'package.json')
-rw-r--r--package.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/package.json b/package.json
index 643d501..b70177e 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,8 @@
"test": "npm run jshint && npm run mocha",
"jshint": "jshint src/. test/. --config",
"start": "node src/",
- "mocha": "mocha test/ --recursive"
+ "mocha": "mocha test/ --recursive",
+ "build": "webpack"
},
"dependencies": {
"body-parser": "^1.17.1",
@@ -35,15 +36,22 @@
"mysql": "^2.13.0",
"passport": "^0.3.2",
"promise-or": "^1.0.0",
+ "react": "^15.4.2",
+ "react-dom": "^15.4.2",
"sequelize": "^3.30.2",
"serve-favicon": "^2.4.1",
"winston": "^2.3.1"
},
"devDependencies": {
+ "babel-core": "^6.24.0",
+ "babel-loader": "^6.4.1",
+ "babel-preset-es2015": "^6.24.0",
+ "babel-preset-react": "^6.23.0",
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"jshint": "^2.9.4",
"mocha": "^3.2.0",
- "request": "^2.81.0"
+ "request": "^2.81.0",
+ "webpack": "^2.2.1"
}
}