From 7bc2e51695023df2bd28188e0ed73f67ff7fe48a Mon Sep 17 00:00:00 2001 From: Gianluca Guarini Date: Sun, 28 Aug 2016 20:35:15 +0200 Subject: [PATCH] updated: bye bye babel --- .babelrc | 25 ------------------------- .codeclimate.yml | 3 +-- .editorconfig | 13 ------------- config/defaults.js | 4 ++-- config/rollup.config.csp.js | 6 ++---- package.json | 5 +---- 6 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 .babelrc delete mode 100644 .editorconfig diff --git a/.babelrc b/.babelrc deleted file mode 100644 index a7ef9fd98d..0000000000 --- a/.babelrc +++ /dev/null @@ -1,25 +0,0 @@ -{ - "compact": false, - "plugins": [ - "external-helpers", - "check-es2015-constants", - "transform-es2015-arrow-functions", - "transform-es2015-block-scoped-functions", - "transform-es2015-block-scoping", - "transform-es2015-classes", - "transform-es2015-computed-properties", - "transform-es2015-destructuring", - "transform-es2015-duplicate-keys", - "transform-es2015-for-of", - "transform-es2015-function-name", - "transform-es2015-literals", - "transform-es2015-object-super", - "transform-es2015-parameters", - "transform-es2015-shorthand-properties", - "transform-es2015-spread", - "transform-es2015-sticky-regex", - "transform-es2015-template-literals", - "transform-es2015-unicode-regex", - "transform-regenerator" - ] -} diff --git a/.codeclimate.yml b/.codeclimate.yml index 2fa77af004..f5af9fb2e5 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -11,5 +11,4 @@ exclude_paths: - "riot+compiler.min.js" - "riot.js" - "riot.min.js" - - "test/**" - - "demo/**" \ No newline at end of file + - "test/**" \ No newline at end of file diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 18d6e38324..0000000000 --- a/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# EditorConfig helps developers define and maintain consistent coding styles -# between different editors and IDEs. -# http://editorconfig.org - -root = true - -[*] -charset = utf-8 -end_of_line = lf -indent_size = 2 -indent_style = space -insert_final_newline = true -trim_trailing_whitespace = true diff --git a/config/defaults.js b/config/defaults.js index 162e5cffba..040c72cdf6 100644 --- a/config/defaults.js +++ b/config/defaults.js @@ -1,6 +1,6 @@ const commonjs = require('rollup-plugin-commonjs'), nodeResolve = require('rollup-plugin-node-resolve'), - babel = require('rollup-plugin-babel') + buble = require('rollup-plugin-buble') module.exports = { format: 'umd', @@ -12,6 +12,6 @@ module.exports = { include: 'node_modules/**', ignoreGlobal: true }), - babel() + buble() ] } \ No newline at end of file diff --git a/config/rollup.config.csp.js b/config/rollup.config.csp.js index 4c2c33f5a2..e5d1629219 100644 --- a/config/rollup.config.csp.js +++ b/config/rollup.config.csp.js @@ -1,7 +1,7 @@ import nodeResolve from 'rollup-plugin-node-resolve' import commonjs from 'rollup-plugin-commonjs' import alias from 'rollup-plugin-alias' -import babel from 'rollup-plugin-babel' +import buble from 'rollup-plugin-buble' import path from 'path' var defaults = require('./defaults') @@ -19,8 +19,6 @@ export default Object.assign(defaults, { [tmplPath]: ['tmpl', 'brackets'] } }), - babel({ - exclude: 'node_modules/riot-tmpl/**' - }) + buble() ] }) \ No newline at end of file diff --git a/package.json b/package.json index 95f475c349..d5e4403a3a 100644 --- a/package.json +++ b/package.json @@ -53,9 +53,6 @@ "simple-html-tokenizer": "^0.2.5" }, "devDependencies": { - "babel-plugin-check-es2015-constants": "^6.8.0", - "babel-plugin-external-helpers": "^6.3.13", - "babel-preset-es2015": "^6.14.0", "benchmark": "^2.1.1", "chai": "^3.5.0", "cheerio": "^0.22.0", @@ -75,7 +72,7 @@ "phantomjs-prebuilt": "^2.1.12", "rollup": "^0.34.10", "rollup-plugin-alias": "^1.2.0", - "rollup-plugin-babel": "^2.6.1", + "rollup-plugin-buble": "^0.13.0", "rollup-plugin-commonjs": "^3.3.1", "rollup-plugin-node-resolve": "^2.0.0", "rollup-plugin-riot": "^1.0.0-alpha.1",