Skip to content

Commit

Permalink
Merge pull request #50 from realworldreact/feat/redirects
Browse files Browse the repository at this point in the history
Feat(redirects)
  • Loading branch information
BerkeleyTrue authored Mar 9, 2017
2 parents f74eaff + 8632d2e commit 8e7ccd9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/rules https://github.com/realworldreact/reactathon2017
/code-of-conduct http://jsconf.com/codeofconduct.html
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
"scripts": {
"lint": "eslint --ext=jsx,js .",
"start": "gulp",
"posttest": "npm run lint",
"pretest": "npm run lint",
"test": "echo 'BerkeleyTrue, you need to write some tests!'",
"clean": "rimraf public",
"build": "npm run clean && NODE_ENV=production webpack",
"predeploy": "npm run build && npm run cname",
"deploy": "node gh-pages",
"cname": "[[ -e CNAME ]] && cp CNAME public/CNAME || echo 'no CNAME found'"
"prebuild": "npm run clean",
"build": "NODE_ENV=production webpack",
"postbuild": "npm run cp-redirects",
"cp-redirects": "cpy '_redirects' './public'"
},
"config": {
"ghooks": {
Expand All @@ -36,6 +37,7 @@
"browser-sync": "^2.15.0",
"classnames": "^2.2.5",
"connect-history-api-fallback": "^1.3.0",
"cpy-cli": "^1.0.1",
"css-loader": "^0.22.0",
"debug": "^2.2.0",
"eslint": "^3.4.0",
Expand Down

0 comments on commit 8e7ccd9

Please sign in to comment.