Skip to content

Commit

Permalink
Improve default template application
Browse files Browse the repository at this point in the history
  • Loading branch information
geowarin committed May 6, 2016
1 parent 31b0c61 commit 5135236
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Tarec takes all the best practices in the React community and makes them availab
* Index.html fallback (for the router)
* Simple babel aliases configuration
* Simple plugins system to add support for sass or mocha
* Publish on github pages

## How-to

Expand Down Expand Up @@ -79,5 +80,4 @@ plugins:
## Todo

* Configuration file and command-line switches
* Easy publishing on github pages
* React-Hot-Loader 3?
11 changes: 7 additions & 4 deletions lib/templates/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
"name": "{{projectName}}",
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {
"start": "tarec start",
"build": "tarec build",
"test": "tarec mochaTest"
"test": "tarec mochaTest",
"publish": "npm run build && gh-pages-deploy"
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"react": "^15.0.1",
"react-dom": "^15.0.1"
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"gh-pages-deploy": "^0.4.2",
"tarec-plugin-mocha-test": "geowarin/tarec-plugin-mocha-test",
"tarec-plugin-sass": "geowarin/tarec-plugin-sass"
}
Expand Down

0 comments on commit 5135236

Please sign in to comment.