Skip to content

Instantly share code, notes, and snippets.

@hail2u
Created July 12, 2014 01:05
Show Gist options
  • Save hail2u/a11c5874022004c3da7a to your computer and use it in GitHub Desktop.
Save hail2u/a11c5874022004c3da7a to your computer and use it in GitHub Desktop.
npm run-scriptsで生きていくの辛そう。
{
"name": "picks.hail2u.net",
"private": true,
"scripts": {
"build": "node index.js",
"postbuild": "git commit --all --message=\"Rebuild\"",
"preupdate": "git checkout gh-pages",
"update": "git checkout master -- \"*\" && git reset && git add index.html */index.html && git clean -f",
"postupdate": "git commit --all --message=\"Rebuild\"",
"deploy": "npm run build && npm run update && git push origin gh-pages",
"postdeploy": "git checkout master"
},
"devDependencies": {
"mustache": "^0.8.2",
"pit-ro": "0.0.1",
"request": "^2.36.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment