Skip to content

Commit

Permalink
Making changes in package.json and .babelrc to successfully build it
Browse files Browse the repository at this point in the history
  • Loading branch information
leelabysani committed Jun 7, 2018
1 parent 563b5b1 commit 969004e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
},
"dependencies": {},
"devDependencies": {
"babel-preset-es2015-rollup": "^1.1.1",
"babel-core": "^6.26.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.7.0",
"bannerize": "^1.0.2",
"blanket": "^1.2.3",
"changelogplease": "^1.2.0",
Expand All @@ -47,11 +49,11 @@
"lodash-compat": "^3.10.2",
"node-qunit-phantomjs": "^1.4.0",
"qunitjs": "^2.0.0",
"rollup": "^0.36.0",
"rollup-plugin-babel": "^2.4.0",
"run-when-changed": "^1.2.0",
"rollup": "^0.59.4",
"rollup-plugin-babel": "^3.0.4",
"run-when-changed": "^2.1.0",
"serve": "^1.4.0",
"uglify-js": "^2.7.0"
"uglify-js": "^3.4.0"
},
"main": "hammer.js",
"engines": {
Expand All @@ -61,7 +63,7 @@
"bannerize": "bannerize hammer.js hammer.min.js",
"connect": "serve -p 8000 ./",
"rollup": "rollup -c",
"uglify": "uglifyjs hammer.js --source-map hammer.min.js.map -o hammer.min.js --stats",
"uglify": "uglifyjs hammer.js --source-map \"filename=hammer.min.js.map\" -o hammer.min.js --timings",
"string-replace": "node string-replace.js",
"jshint": "jshint src/**/*.js tests/unit/*.js tests/unit/gestures/*.js --config .jshintrc --verbose --reporter=node_modules/jshint-stylish",
"jscs": " jscs src/**/*.js tests/unit/*.js tests/unit/gestures/*.js --config=./.jscsrc",
Expand Down
14 changes: 12 additions & 2 deletions src/.babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"presets": ["es2015-rollup"]
}
"presets": [
[
"env",
{
"modules": false
}
]
],
"plugins": [
"external-helpers"
]
}

0 comments on commit 969004e

Please sign in to comment.