Skip to content

Commit

Permalink
chore(build): upgrading to babel 6 - closes #51
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Jan 8, 2017
1 parent d9a2084 commit 7be20d6
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@
"build:post": "node build/build.post.js",
"build:archive": "node build/build.archive.js",
"build:umd": "npm-run-all --sequential build:umd:bundle build:umd:min build:umd:clean",
"build:umd:bundle": "browserify dist/src/ally.js --debug --standalone ally --transform rollupify --transform babelify | exorcist dist/ally.js.map > dist/ally.js",
"build:umd:bundle": "browserify dist/src/ally.js --debug --standalone ally --transform rollupify --transform [ babelify --presets [ es2015 ] ] | exorcist dist/ally.js.map > dist/ally.js",
"build:umd:clean": "rm dist/ally.js dist/ally.js.map",
"build:umd:min": "uglifyjs dist/ally.js --in-source-map dist/ally.js.map --source-map dist/ally.min.js.map --source-map-url ally.min.js.map --preamble \"/*! ${npm_package_name} - v${npm_package_version} - ${npm_package_homepage} - ${npm_package_license} License */\" --mangle --compress --output dist/ally.min.js",
"build:common": "babel --source-maps --modules common --out-dir dist/common dist/src",
"build:amd": "babel --source-maps --modules amd --out-dir dist/amd dist/src",
"watch:amd": "babel --watch --source-maps --modules amd --out-dir dist/amd src",
"preanalyze:bundle": "browserify dist/src/ally.js --debug --standalone ally --transform babelify | exorcist dist/bundle.js.map > dist/bundle.js",
"build:common": "babel --presets es2015 --plugins add-module-exports --source-maps --out-dir dist/common dist/src",
"build:amd": "babel --presets es2015 --plugins add-module-exports,transform-es2015-modules-umd --source-maps --out-dir dist/amd dist/src",
"postbuild:amd": "npm run build:amd:ignore-umd-wrapper",
"build:amd:ignore-umd-wrapper": "replace '\\(function \\(global, factory\\) \\{' '(/* istanbul ignore next */ function (global, factory) {' dist/amd -r --include='*.js'",
"watch:amd": "babel --presets es2015 --plugins add-module-exports,transform-es2015-modules-umd --watch --source-maps --out-dir dist/amd src",
"preanalyze:bundle": "browserify dist/src/ally.js --debug --standalone ally --transform [ babelify --presets [ es2015 ] ] | exorcist dist/bundle.js.map > dist/bundle.js",
"analyze:bundle": "source-map-explorer dist/bundle.js --replace \"`node -e 'console.log(process.cwd())'`/dist/\" --with '' --html > reports/bundle-size.html",
"postanalyze:bundle": "rimraf dist/bundle.js.map dist/bundle.js",
"version": "npm-run-all --parallel version:docs version:jsbin",
Expand All @@ -58,7 +60,7 @@
"build:website": "npm-run-all --sequential build:docs --parallel build:data-tables build:legacy",
"build:docs": "node build/metalsmith/metalsmith.js",
"build:data-tables": "npm run build:data-tables:focusable",
"build:data-tables:focusable": "babel-node build/data-tables/focusable-tables.js",
"build:data-tables:focusable": "babel-node --presets es2015 build/data-tables/focusable-tables.js",
"build:legacy": "npm-run-all --parallel build:legacy:focusable build:legacy:event-sequence build:legacy:static-copy",
"build:legacy:focusable": "node build/web-tests/build.focusable.js",
"build:legacy:event-sequence": "node build/web-tests/build.event-sequence.js",
Expand Down Expand Up @@ -94,8 +96,12 @@
"devDependencies": {
"algoliasearch": "^3.19.0",
"archiver": "^1.0.0",
"babel": "^5.8.23",
"babelify": "^6.3.0",
"babel-cli": "^6.18.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-modules-amd": "^6.18.0",
"babel-plugin-transform-es2015-modules-umd": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babelify": "^7.3.0",
"browserify": "^13.0.0",
"cheerio": "^0.22.0",
"codeclimate-test-reporter": "^0.4.0",
Expand Down

0 comments on commit 7be20d6

Please sign in to comment.