Skip to content

Instantly share code, notes, and snippets.

@udfalkso
Created October 16, 2017 16:59
Show Gist options
  • Save udfalkso/a5157d096321a13c4b45d6186b1de768 to your computer and use it in GitHub Desktop.
Save udfalkso/a5157d096321a13c4b45d6186b1de768 to your computer and use it in GitHub Desktop.
package.json w/ animated issue
{
"name": "Hope",
"version": "0.0.2",
"private": true,
"scripts": {
"prettier": "node_modules/prettier/bin/prettier.js --print-width 90 --trailing-comma es5 --semi false --write \"{hope,__{tests,mocks,index.web.js}__}/**/*.js\"",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"web:build:vendor-dev": "rm -rf web/vendor-dev; NODE_ENV=development webpack --config web/vendor.webpack.config.js || rm -rf web/vendor-dev",
"web": "npm run web:build:vendor-dev && NODE_ENV=development webpack-dev-server -d --host 0.0.0.0 --port 3000 --config web/webpack.config.js --inline --hot --colors",
"web:clean": "rm -rf web/vendor web/vendor-dev web/build",
"web:build:vendor": "rm -rf web/vendor; NODE_ENV=production webpack --config web/vendor.webpack.config.js",
"web:build:app": "rm -rf web/build; NODE_ENV=production webpack --config web/webpack.config.js",
"web:build": "npm run web:build:vendor && npm run web:build:app",
"web:serve": "http-serve -p 3001 --gzip true ./web/build",
"upload_bugsnag_sourcemaps": "echo \"Uploading to bugsnag\" && curl https://upload.bugsnag.com/ -F apiKey=416bb6a7a44ff3b4c8edc27b1ec45593 -F minifiedUrl=\"https://meethope.us/react-js/app.js\" -F sourceMap=@./web/build/javascript/app.js.map -F minifiedFile=@./web/build/javascript/app.js -F overwrite=true "
},
"dependencies": {
"base64-font-loader": "^0.0.4",
"hope": "file:./hope",
"lodash.truncate": "^4.4.2",
"react": "16.0.0",
"react-dom": "^16.0.0",
"react-ga": "^2.3.5",
"react-native": "0.49.0",
"react-native-animatable": "^1.2.4",
"react-native-vector-icons": "^4.4.2",
"react-native-web": "^0.1.9",
"react-navigation": "^1.0.0-beta.13",
"react-redux": "^5.0.6",
"react-tweet-embed": "^1.0.8",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0",
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"add-asset-html-webpack-plugin": "^2.0.1",
"babel-jest": "19.0.0",
"babel-loader": "^7.0.0",
"babel-preset-react-native": "1.9.1",
"bugsnag-js": "^3.3.1",
"compression-webpack-plugin": "^0.4.0",
"copy-webpack-plugin": "^4.0.1",
"html-webpack-plugin": "^2.28.0",
"http-serve": "^1.0.1",
"jest": "19.0.2",
"json-loader": "^0.5.4",
"node-zopfli": "^2.0.2",
"offline-plugin": "^4.7.0",
"prettier": "^1.3.1",
"react-hot-loader": "^3.0.0",
"react-test-renderer": "16.0.0-alpha.6",
"sitemap-webpack-plugin": "^0.3.0",
"url-loader": "^0.5.8",
"webpack": "^3.7.1",
"webpack-dev-server": "^2.9.1"
},
"jest": {
"preset": "react-native",
"moduleNameMapper": {
"react-native": "<rootDir>/../"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment