Skip to content

Commit

Permalink
chore: only publish bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
nanyang24 committed Aug 11, 2020
1 parent ccd6a9f commit 3b5c8d3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "react-scroll-restoration",
"version": "1.0.2",
"version": "1.0.3",
"description": "Support for scroll restoration with React router",
"main": "dist/index.js",
"scripts": {
"build": "rollup -c",
"pre-publish": "yarn build",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write"
Expand Down Expand Up @@ -62,5 +63,8 @@
},
"dependencies": {
"@rollup/plugin-node-resolve": "^8.4.0"
}
}
},
"files": [
"dist"
]
}

0 comments on commit 3b5c8d3

Please sign in to comment.