Last active
January 23, 2018 22:59
-
-
Save BrodaNoel/a0263f92b7cbdd474b8ba852b37d45f8 to your computer and use it in GitHub Desktop.
react-fancy-component-4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
Line 16: "build": "webpack",
=> "build": "webpack"
👍
Done! Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The trailing comma on line 16 must be removed for the json to compile, otherwise works gorgeously! Thanks