An open API service indexing awesome lists of open source software.

https://github.com/dunghenry/config_node_babel


https://github.com/dunghenry/config_node_babel

babel expressjs nodejs

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Setup Express + Babel

## Production

```js
"scripts": {
"build": "babel src/index.js --out-dir production",
"start": "npm run build && nodemon --inspect production/index.js",
"serve": "node production/index.js"
},
```

## Development

```js
"scripts": {
"start": "babel src -w --out-dir production",
"dev": "nodemon --inspect production/index.js"
},
```

### Development:

```js
npm start
```

```js
npm run dev
```