diff --git a/package.json b/package.json index 3b3762d..6b1807f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tasks/help b/tasks/help index 3ff9a15..196c0b0 100755 --- a/tasks/help +++ b/tasks/help @@ -3,11 +3,12 @@ echo "Usage: rackt []" 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" diff --git a/tasks/init b/tasks/init new file mode 100755 index 0000000..58a3de2 --- /dev/null +++ b/tasks/init @@ -0,0 +1,5 @@ +#!/bin/bash -e + +originate=$RACKT_PATH/node_modules/.bin/originate + +$originate react-component $1