Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cowboy/js-es6-es7-workflow-ideas
JS / ES6 / ES7 Workflow Ideas
https://github.com/cowboy/js-es6-es7-workflow-ideas
Last synced: about 1 month ago
JSON representation
JS / ES6 / ES7 Workflow Ideas
- Host: GitHub
- URL: https://github.com/cowboy/js-es6-es7-workflow-ideas
- Owner: cowboy
- Created: 2015-03-14T03:36:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-16T13:26:27.000Z (over 9 years ago)
- Last Synced: 2024-04-14T22:47:03.412Z (7 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JS / ES6 / ES7 Workflow Ideas
I'm trying to figure out a good workflow to write code using all the fancy new
features of ES6 and ES7, because ES5 (and even ES6) are a bit confining. Maybe I'll redo my personal website if I find a workflow that I like.Also, note that this is a first pass; I'm not sure what I'm going to do
long-term.Do you have a suggestion? Do you already have a fantastic ES6 / ES7 workflow?
Please let me know by [filing an
issue](https://github.com/cowboy/js-es6-es7-workflow-ideas/issues)!## What I'm currently doing
* Hoping those cool ES7 features I love won't go away.
* Compiling my source with [Grunt](http://gruntjs.com/) and
[Babel](http://babeljs.io/) via the
[grunt-babel](https://github.com/babel/grunt-babel) plugin to ES5.Eg.
* edit [src/index.js](src/index.js)
* `grunt && node build/sourcemaps` (stack traces use sourcemaps)
* `grunt && node build/index` (stack traces don't use sourcemaps)## Files of note
* **[src/index.js](src/index.js)** - the main entry point for this module.
* **[src/sourcemaps.js](src/sourcemaps.js)** - this file first enables
sourcemaps via the
[source-map-support](https://github.com/evanw/node-source-map-support) npm
module, and then imports (and exports) [src/index.js](src/index.js). This
is useful for debugging while in development.