Skip to content

Instantly share code, notes, and snippets.

@weianofsteel
Created December 4, 2020 10:05
Show Gist options
  • Save weianofsteel/47ec9e67598c04323e2e9be14030c6c6 to your computer and use it in GitHub Desktop.
Save weianofsteel/47ec9e67598c04323e2e9be14030c6c6 to your computer and use it in GitHub Desktop.
npm publish package.json
{
"name": "react-scroll-up-btn",
"version": "1.0.3",
"description": "A simple scroll up button built with react",
"main": "./lib/ScrollUpButton.js",
"repository": {
"type": "git",
"url" : "https://github.com/weianofsteel/react-scroll-up-button"
},
"keywords": [
"react",
"scroll"
],
"license": "MIT",
"scripts": {
"build": "webpack"
},
"author": "Weian Wang",
"bugs": {
"url": "https://github.com/weianofsteel/react-scroll-up-button"
},
"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"babel-core": "^6.21.0",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^3.5.1",
"path": "^0.12.7",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"style-loader": "^1.1.3",
"webpack": "^4.5.0",
"webpack-cli": "^3.2.1"
},
"dependencies": {
"@material-ui/core": "^4.11.1",
"@material-ui/icons": "^4.9.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment