Ready to start development
diff --git a/mCordPortal/package.json b/mCordPortal/package.json
index 5ffda00..ac47728 100644
--- a/mCordPortal/package.json
+++ b/mCordPortal/package.json
@@ -4,12 +4,13 @@
"description": "Demo implementation for a subscriber portal in XOS",
"main": "index.js",
"scripts": {
- "test": "karma start",
- "preserver": "npm install && bower install && wiredep --dependencies --src src/index.html",
+ "scripts": "babel --presets es2015 ./src/app --watch --out-dir ./src/dist -s",
+ "preserver": "bower install && wiredep --dependencies --src src/index.html",
"styles": "node-sass -w -r --include-path --source-map-embed -o ./src/style ./src/sass/main.scss",
"server": "browser-sync start --config bs-config.js",
- "start": "parallelshell \"npm run server\" \"npm run styles\"",
- "local": "NODE_ENV=local parallelshell \"npm run server\" \"npm run styles\""
+ "prestart": "npm install && node-sass --include-path --source-map-embed -o ./src/style ./src/sass/main.scss",
+ "start": "parallelshell \"npm run server\" \"npm run styles\" \"npm run scripts\"",
+ "lint": "eslint ./src/app"
},
"author": "Matteo Scandolo",
"license": "ISC",
@@ -18,7 +19,9 @@
"http-proxy": "^1.12.1",
"node-sass": "^3.4.2",
"parallelshell": "^2.0.0",
- "wiredep": "^3.0.0"
+ "wiredep": "^3.0.0",
+ "babel-cli": "^6.4.5",
+ "babel-preset-es2015": "^6.5.0"
},
"dependencies": {}
}