pax_global_header00006660000000000000000000000064127517422610014521gustar00rootroot0000000000000052 comment=2e97464b4b47e17bf36789d3612d160abc21f4f5 babel-preset-es3-1.0.1/000077500000000000000000000000001275174226100145555ustar00rootroot00000000000000babel-preset-es3-1.0.1/.editorconfig000066400000000000000000000002531275174226100172320ustar00rootroot00000000000000root = true [*] indent_style = space indent_size = 2 charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false babel-preset-es3-1.0.1/.eslintrc000066400000000000000000000001241275174226100163760ustar00rootroot00000000000000{ "extends": "simenb-base/legacy", "rules": { "global-require": "off" } } babel-preset-es3-1.0.1/.gitattributes000066400000000000000000000001031275174226100174420ustar00rootroot00000000000000# Auto detect text files and perform LF normalization * text=autos babel-preset-es3-1.0.1/.gitignore000066400000000000000000000000331275174226100165410ustar00rootroot00000000000000node_modules/ .idea/ *.log babel-preset-es3-1.0.1/LICENSE000066400000000000000000000020711275174226100155620ustar00rootroot00000000000000The MIT License (MIT) Copyright (c) 2016 Simen Bekkhus Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. babel-preset-es3-1.0.1/README.md000066400000000000000000000015311275174226100160340ustar00rootroot00000000000000# babel-preset-es3 [![npm version][npm-image]][npm-url] [![Dependency Status][david-image]][david-url] > Babel preset for two ES3 transforms `transform-es3-member-expression-literals` and `transform-es3-property-literals` This presets adds the two transforms for ES3 syntax compatibility. ## Install ```sh $ npm install --save-dev babel-preset-es3 ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "presets": ["es3"] } ``` ### Via CLI ```sh $ babel script.js --preset es3 ``` ### Via Node API ```javascript require("babel-core").transform("code", { presets: ["es3"] }); ``` [npm-url]: https://npmjs.org/package/babel-preset-es3 [npm-image]: https://img.shields.io/npm/v/babel-preset-es3.svg [david-url]: https://david-dm.org/SimenB/babel-preset-es3 [david-image]: https://img.shields.io/david/SimenB/babel-preset-es3.svg babel-preset-es3-1.0.1/index.js000066400000000000000000000002701275174226100162210ustar00rootroot00000000000000'use strict'; module.exports = { plugins: [ require('babel-plugin-transform-es3-member-expression-literals'), require('babel-plugin-transform-es3-property-literals') ] }; babel-preset-es3-1.0.1/package.json000066400000000000000000000013151275174226100170430ustar00rootroot00000000000000{ "name": "babel-preset-es3", "version": "1.0.1", "description": "Preset for Babel's ES3 transformations", "scripts": { "pretest": "eslint .", "test": "echo \"Error: no test specified\"", "postpublish": "git push --follow-tags" }, "keywords": [ "babel-preset", "babel", "es3" ], "files": [ "index.js" ], "author": "Simen Bekkhus ", "repository": "SimenB/babel-preset-es3", "license": "MIT", "dependencies": { "babel-plugin-transform-es3-member-expression-literals": "^6.8.0", "babel-plugin-transform-es3-property-literals": "^6.8.0" }, "devDependencies": { "eslint": "^3.2.2", "eslint-config-simenb-base": "^2.0.0" } }