├── .eslintignore ├── .eslintrc ├── .gitattributes ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── appveyor.yml ├── coffeelint.json ├── grammars ├── Babel Language.json ├── Babel Regex.json ├── Embedded Babel Language.json ├── css.json └── ttl-26d12b471f2035277d061587e2033f31d73aaf261c3f4b1e48d5e0c0ad2087f8.json ├── lib ├── auto-complete-emmet-css.js ├── auto-complete-jsx.coffee ├── auto-complete-styled-components.coffee ├── auto-indent.coffee ├── completions-jsx.coffee ├── completions.json ├── create-ttl-grammar.js ├── did-insert-text.coffee ├── main.coffee ├── transpiler-task.coffee └── transpiler.coffee ├── package.json ├── settings └── language-babel.json ├── spec ├── .eslintrc ├── auto-indent-spec.coffee ├── create-tag-grammar-spec.js ├── default-config.js ├── fixtures │ ├── dira │ │ └── dira.1 │ │ │ └── dira.2 │ │ │ ├── .babelrc │ │ │ ├── bad.js │ │ │ ├── good.js │ │ │ ├── ignored.js │ │ │ ├── react.js │ │ │ └── react.jsx │ ├── dirb │ │ └── good.js │ ├── grammar │ │ ├── babel-sublime │ │ │ ├── flow.js │ │ │ ├── js-class.js │ │ │ ├── js-functions.js │ │ │ ├── js-symbols.js │ │ │ ├── js-template-strings.js │ │ │ ├── jsx-attributes.jsx │ │ │ ├── jsx-es6.jsx │ │ │ ├── jsx-features.jsx │ │ │ ├── jsx-full-react-class.jsx │ │ │ └── jsx-text.jsx │ │ ├── css.js │ │ ├── declare.js │ │ ├── doc-keywords.js │ │ ├── es6module.js │ │ ├── everythingJs │ │ │ └── es2015-module.js │ │ ├── flow-predicates.js │ │ ├── graphql.js │ │ ├── issues.js │ │ ├── large files │ │ │ ├── browser-polyfill.js │ │ │ ├── bundle.js │ │ │ ├── jquery-2.1.4.js │ │ │ └── jquery-2.1.4.min.js │ │ ├── misc.js │ │ └── private-fields.js │ └── projectRoot │ │ ├── .languagebabel │ │ ├── src │ │ ├── a.min.js │ │ ├── test.babel │ │ ├── test.es │ │ ├── test.es6 │ │ ├── test.js │ │ └── test.jsx │ │ └── test.js ├── grammar-spec.coffee └── transpile-spec.coffee ├── src ├── .babelrc ├── .languagebabel └── create-ttl-grammar.js └── styles └── language-babel.less /.eslintignore: -------------------------------------------------------------------------------- 1 | lib/ 2 | spec/fixtures 3 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/appveyor.yml -------------------------------------------------------------------------------- /coffeelint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/coffeelint.json -------------------------------------------------------------------------------- /grammars/Babel Language.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/grammars/Babel Language.json -------------------------------------------------------------------------------- /grammars/Babel Regex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/grammars/Babel Regex.json -------------------------------------------------------------------------------- /grammars/Embedded Babel Language.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/grammars/Embedded Babel Language.json -------------------------------------------------------------------------------- /grammars/css.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/grammars/css.json -------------------------------------------------------------------------------- /grammars/ttl-26d12b471f2035277d061587e2033f31d73aaf261c3f4b1e48d5e0c0ad2087f8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/grammars/ttl-26d12b471f2035277d061587e2033f31d73aaf261c3f4b1e48d5e0c0ad2087f8.json -------------------------------------------------------------------------------- /lib/auto-complete-emmet-css.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/auto-complete-emmet-css.js -------------------------------------------------------------------------------- /lib/auto-complete-jsx.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/auto-complete-jsx.coffee -------------------------------------------------------------------------------- /lib/auto-complete-styled-components.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/auto-complete-styled-components.coffee -------------------------------------------------------------------------------- /lib/auto-indent.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/auto-indent.coffee -------------------------------------------------------------------------------- /lib/completions-jsx.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/completions-jsx.coffee -------------------------------------------------------------------------------- /lib/completions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/completions.json -------------------------------------------------------------------------------- /lib/create-ttl-grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/create-ttl-grammar.js -------------------------------------------------------------------------------- /lib/did-insert-text.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/did-insert-text.coffee -------------------------------------------------------------------------------- /lib/main.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/main.coffee -------------------------------------------------------------------------------- /lib/transpiler-task.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/transpiler-task.coffee -------------------------------------------------------------------------------- /lib/transpiler.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/lib/transpiler.coffee -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/package.json -------------------------------------------------------------------------------- /settings/language-babel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/settings/language-babel.json -------------------------------------------------------------------------------- /spec/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/.eslintrc -------------------------------------------------------------------------------- /spec/auto-indent-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/auto-indent-spec.coffee -------------------------------------------------------------------------------- /spec/create-tag-grammar-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/create-tag-grammar-spec.js -------------------------------------------------------------------------------- /spec/default-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/default-config.js -------------------------------------------------------------------------------- /spec/fixtures/dira/dira.1/dira.2/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/dira/dira.1/dira.2/bad.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/dira/dira.1/dira.2/bad.js -------------------------------------------------------------------------------- /spec/fixtures/dira/dira.1/dira.2/good.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/dira/dira.1/dira.2/good.js -------------------------------------------------------------------------------- /spec/fixtures/dira/dira.1/dira.2/ignored.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/dira/dira.1/dira.2/ignored.js -------------------------------------------------------------------------------- /spec/fixtures/dira/dira.1/dira.2/react.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/dira/dira.1/dira.2/react.js -------------------------------------------------------------------------------- /spec/fixtures/dira/dira.1/dira.2/react.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/dira/dira.1/dira.2/react.jsx -------------------------------------------------------------------------------- /spec/fixtures/dirb/good.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/dirb/good.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/flow.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/js-class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/js-class.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/js-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/js-functions.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/js-symbols.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/js-symbols.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/js-template-strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/js-template-strings.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/jsx-attributes.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/jsx-attributes.jsx -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/jsx-es6.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/jsx-es6.jsx -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/jsx-features.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/jsx-features.jsx -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/jsx-full-react-class.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/jsx-full-react-class.jsx -------------------------------------------------------------------------------- /spec/fixtures/grammar/babel-sublime/jsx-text.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/babel-sublime/jsx-text.jsx -------------------------------------------------------------------------------- /spec/fixtures/grammar/css.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/css.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/declare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/declare.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/doc-keywords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/doc-keywords.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/es6module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/es6module.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/everythingJs/es2015-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/everythingJs/es2015-module.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/flow-predicates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/flow-predicates.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/graphql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/graphql.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/issues.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/issues.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/large files/browser-polyfill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/large files/browser-polyfill.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/large files/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/large files/bundle.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/large files/jquery-2.1.4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/large files/jquery-2.1.4.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/large files/jquery-2.1.4.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/large files/jquery-2.1.4.min.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/misc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/misc.js -------------------------------------------------------------------------------- /spec/fixtures/grammar/private-fields.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/grammar/private-fields.js -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/.languagebabel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/fixtures/projectRoot/.languagebabel -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/src/a.min.js: -------------------------------------------------------------------------------- 1 | let x="simple test" 2 | -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/src/test.babel: -------------------------------------------------------------------------------- 1 | let x="simple test" 2 | -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/src/test.es: -------------------------------------------------------------------------------- 1 | let x="simple test" 2 | -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/src/test.es6: -------------------------------------------------------------------------------- 1 | let x="simple test" 2 | -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/src/test.js: -------------------------------------------------------------------------------- 1 | let x="simple test" 2 | -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/src/test.jsx: -------------------------------------------------------------------------------- 1 | let x="simple test" 2 | -------------------------------------------------------------------------------- /spec/fixtures/projectRoot/test.js: -------------------------------------------------------------------------------- 1 | let x = "simple test"; -------------------------------------------------------------------------------- /spec/grammar-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/grammar-spec.coffee -------------------------------------------------------------------------------- /spec/transpile-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/spec/transpile-spec.coffee -------------------------------------------------------------------------------- /src/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/src/.babelrc -------------------------------------------------------------------------------- /src/.languagebabel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/src/.languagebabel -------------------------------------------------------------------------------- /src/create-ttl-grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/src/create-ttl-grammar.js -------------------------------------------------------------------------------- /styles/language-babel.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandm/language-babel/HEAD/styles/language-babel.less --------------------------------------------------------------------------------