Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ganarajpr/atom-package-babel-react-boilerplate
A boilerplate for creating atom packages using babel and react
https://github.com/ganarajpr/atom-package-babel-react-boilerplate
Last synced: 4 months ago
JSON representation
A boilerplate for creating atom packages using babel and react
- Host: GitHub
- URL: https://github.com/ganarajpr/atom-package-babel-react-boilerplate
- Owner: ganarajpr
- License: mit
- Created: 2015-08-31T19:30:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-02T19:01:09.000Z (over 9 years ago)
- Last Synced: 2024-06-22T20:22:42.517Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# A package boilerplate for atom using babel and React
I noticed that there were no good starter templates for creating an atom package
for working with babel ( and react ). If you are not interested in working with React as your go-to tool then its pretty easy to strip it out.This is something I extracted out of the excellent starting work done by [Atom Minimap](https://github.com/atom-minimap/minimap). There are package generators available as part of Atom Minimap - and it comes with babel, js and coffeescript package generators if you are interested.
Some of the code here is also inspired from the work done by Facebook guys in [Nuclide](https://github.com/facebook/nuclide). Nuclide is mostly written in React for the view layers - so you might want to check it out for best practices ( and general how-to's).
##How to get started
git clone https://github.com/ganarajpr/atom-package-babel-react-boilerplate.git mypackage
Then you will need to symlink this package from your `.atom/packages` folder.
cd ~/.atom/packages
ln -s path/to/mypackage mypackageOnce this is done
( `ctrl-alt-r` - Refresh if needed)
* open atom
* then `ctrl-shift-p`
* type `test me hello world`You should see a modal open with a text editor in it.