https://github.com/bytedecoder/transpiling-es6
Sample to transpiling ES6 to ES5 using Babel
https://github.com/bytedecoder/transpiling-es6
Last synced: 10 months ago
JSON representation
Sample to transpiling ES6 to ES5 using Babel
- Host: GitHub
- URL: https://github.com/bytedecoder/transpiling-es6
- Owner: ByteDecoder
- License: mit
- Created: 2019-03-21T23:38:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T18:15:39.000Z (about 3 years ago)
- Last Synced: 2025-02-07T06:14:01.623Z (12 months ago)
- Language: JavaScript
- Size: 3.74 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installing latest Node.js LTS with NPM
https://tecadmin.net/install-latest-nodejs-npm-on-ubuntu/
# Installing Yarn
```bash
$ sudo apt-get install gcc g++ make
$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarn
```
# Installing npm depenedecnies
```bash
$ npm audit fix --force
$ npm install --save-dev @babel/core@^7.0.0-0
$ npm install @babel/preset-env --save-dev
```
# Transpiling ES6 to ES5
```bash
$ npm run build
```