Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paalamugan/es6-nodejs-with-babel
Convert backend code es6 to es5 with babel.
https://github.com/paalamugan/es6-nodejs-with-babel
Last synced: about 1 month ago
JSON representation
Convert backend code es6 to es5 with babel.
- Host: GitHub
- URL: https://github.com/paalamugan/es6-nodejs-with-babel
- Owner: paalamugan
- License: mit
- Created: 2020-11-15T18:40:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-15T20:30:40.000Z (over 4 years ago)
- Last Synced: 2024-11-19T10:42:39.788Z (3 months ago)
- Language: JavaScript
- Size: 85 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node Version
```txt
node - v14.8.0
npm - 6.14.7
```- If node version doesn't exsit automatically Installed specific node version via nvm
```
nvm use
```- Install node_modules dependencies
```shell
npm install
```## Get Started
- To development mode
```shell
npm run dev
```- To production mode
```shell
npm run prod
```- To build a server code es6 to es5
```shell
npm run build
```- Watching files changes
```shell
npm run watch
```### Other scripts
- transpile - convert es6 and beyond code to es5 to a folder named `compiled-server`
- clean - delete transpiled folder
- build - clean and transpile