Transpile ES6 to ES5 for filemanager. Closes #224

This commit is contained in:
Dane Everitt 2017-01-03 17:32:23 -05:00
parent aa6e733ba5
commit 130aa6cc8a
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 39 additions and 7 deletions

11
package.json Normal file
View file

@ -0,0 +1,11 @@
{
"name": "pterodactyl-panel",
"devDependencies": {
"babel-cli": "6.18.0",
"babel-plugin-transform-strict-mode": "^6.18.0",
"babel-preset-es2015": "6.18.0"
},
"scripts": {
"build": "./node_modules/babel-cli/bin/babel.js public/js/files --source-maps --out-file public/js/filemanager.min.js"
}
}