Skip to content

Instantly share code, notes, and snippets.

@kcliu
Created January 11, 2016 08:51
Show Gist options
  • Save kcliu/3ea3872f8c837e5cbe72 to your computer and use it in GitHub Desktop.
Save kcliu/3ea3872f8c837e5cbe72 to your computer and use it in GitHub Desktop.
{
"name": "starter-kit",
"private": true,
"version": "0.1.0",
"description": "Scaffolding",
"repository": "",
"scripts": {
"all": "npm run deploy:staging && npm run deploy:production",
"assets": "cp src/assets/* ./dist",
"compile": "webpack --config ./config/webpack.dist.babel.js",
"del": "rm -rf ./dist",
"deploy:production": "npm run del && npm run dist:production && npm run scp:production",
"deploy:staging": "npm run del && npm run dist:staging && npm run scp:staging",
"dist:production": "NODE_ENV=production ENDPOINT=production npm run compile",
"dist:staging": "NODE_ENV=production ENDPOINT=staging npm run compile",
"image": "cp src/images/* ./dist/images",
"jscs": "jscs -x src/.",
"production": "npm run deploy:production",
"scp:production": "scp -i ~/.ssh/appier-user -pr ./dist/* appier-user@srv1.tw.appier.net:/srv/irobot/optimizer2",
"scp:staging": "scp -pr ./dist/* cyli@srv3.tw.appier.net:/srv/www/optimizer2",
"staging": "npm run deploy:staging",
"start": "babel-node server.js"
},
"dependencies": {
"bluebird": "^3.1.1",
"immutable": "^3.7.6",
"normalize.css": "^3.0.3",
"react": "^0.14.6",
"redux": "^3.0.5",
"react-redux": "^4.0.6",
"react-router": "^2.0.0-rc4",
"redux-thunk": "^1.0.3",
"superagent-bluebird-promise": "^2.0.2"
},
"devDependencies": {
"autoprefixer-loader": "^3.1.0",
"babel-cli": "^6.4.0",
"babel-core": "^6.4.0",
"babel-loader": "^6.2.1",
"babel-plugin-transform-runtime": "^6.4.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.0.1",
"classnames": "^2.2.3",
"css-loader": "^0.23.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"html-webpack-plugin": "^1.7.0",
"jsx-loader": "^0.13.2",
"less": "^2.5.3",
"less-loader": "^2.2.2",
"postcss-loader": "^0.8.0",
"react-dom": "^0.14.6",
"style-loader": "^0.13.0",
"url-loader": "^0.5.7",
"webpack": "^1.12.9",
"webpack-dev-server": "^1.14.0"
},
"engines": {
"iojs": ">=2.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment