File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "private" : true ,
66 "scripts" : {
77 "start" : " browser-sync start --server ./src --files ./src" ,
8- "test" : " mocha --colors test/*.spec.js" ,
8+ "test" : " mocha --colors --compilers js:babel-register test/*.spec.js" ,
99 "test:watch" : " watch-run -p 'src/index.html,test/portfolio.spec.js' npm run test" ,
1010 "deploy:github-pages" : " git subtree push --prefix src origin gh-pages"
1111 },
1212 "author" : " Adam Fortuna <adam@codeschool.com>" ,
1313 "license" : " MIT" ,
1414 "devDependencies" : {
15+ "babel-preset-es2015" : " ^6.18.0" ,
16+ "babel-register" : " ^6.18.0" ,
1517 "browser-sync" : " ^2.14.0" ,
1618 "chai" : " ^3.5.0" ,
1719 "jsdom" : " ^9.4.1" ,
1820 "mocha" : " ^3.0.1" ,
1921 "watch-run" : " ^1.2.4"
22+ },
23+ "engines" : {
24+ "node" : " >=4.6" ,
25+ "npm" : " >=2.15"
26+ },
27+ "babel" : {
28+ "presets" : [" es2015" ]
2029 }
2130}
You can’t perform that action at this time.
0 commit comments