Skip to content

Instantly share code, notes, and snippets.

@BrodaNoel
Last active January 23, 2018 22:59
Show Gist options
  • Save BrodaNoel/a0263f92b7cbdd474b8ba852b37d45f8 to your computer and use it in GitHub Desktop.
Save BrodaNoel/a0263f92b7cbdd474b8ba852b37d45f8 to your computer and use it in GitHub Desktop.
react-fancy-component-4
{
"name": "react-fancy-component",
"version": "0.0.1",
"description": "Put a description here",
"main": "build/index.js",
"peerDependencies": {
"react": "^15.5.4"
},
"dependencies": {
"react": "^15.5.4",
"webpack": "^2.6.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "webpack --watch",
"build": "webpack"
},
"author": {
"name": "Your name",
"email": "your email"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.5.1"
}
}
@DanielDwyer
Copy link

The trailing comma on line 16 must be removed for the json to compile, otherwise works gorgeously! Thanks

@rdlh
Copy link

rdlh commented Dec 20, 2017

Line 16: "build": "webpack", => "build": "webpack" 👍

@BrodaNoel
Copy link
Author

Done! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment