Skip to content

Commit

Permalink
Adding ability to generate a component
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabriskie committed Jul 15, 2015
1 parent 166348e commit b0f65b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"karma-safari-launcher": "^0.1.1",
"karma-sourcemap-loader": "^0.3.5",
"karma-webpack": "^1.5.1",
"loom": "^3.1.2",
"minimist": "^1.1.1",
"mocha": "^2.2.5",
"react": "^0.13.3",
Expand Down
3 changes: 2 additions & 1 deletion tasks/help
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
echo "Usage: rackt <command> [<args>]"
echo ""
echo "Available commands:"
echo " init Generates a new component"
echo " build Build the project"
echo " dev Start the dev server"
echo " release Publish a new release to npm"
echo " Use --preview or -p to preview release"
echo " test Run the test suite"
echo " Use --ci for single run"
echo " pages Deploy the example to gh-pages"
echo " pages Deploy the examples to gh-pages"
echo " help Show this help"
5 changes: 5 additions & 0 deletions tasks/init
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -e

originate=$RACKT_PATH/node_modules/.bin/originate

$originate react-component $1

0 comments on commit b0f65b4

Please sign in to comment.