https://github.com/dunghenry/config_node_babel
https://github.com/dunghenry/config_node_babel
babel expressjs nodejs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dunghenry/config_node_babel
- Owner: dunghenry
- Created: 2022-10-15T14:46:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-15T15:05:34.000Z (over 3 years ago)
- Last Synced: 2025-01-25T19:29:31.018Z (over 1 year ago)
- Topics: babel, expressjs, nodejs
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```