Skip to content

Commit

Permalink
Edit package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrinicolas committed Mar 8, 2019
1 parent 8a71ea3 commit 0c814ae
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

React Hooks to listen to both mouse down or up and click events with a once called function.

## [Example](http://dimitrinicolas.github.io/use-mouse-action/)
## [Example](http://dimitrinicolas.github.io/use-mouse-action/example/)

This hook can be used to create fast usable drop-down buttons.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"cypress-run": "cypress run",
"cypress": "npm run build-test && run-p --race ci-server cypress-open",
"test": "npm run build-test && run-p --race ci-server cypress-run",
"build-docs": "webpack --config webpack.docs.config.js --mode production",
"build": "npm-run-all -s build-lib build-test build-docs",
"prepublish": "npm run build",
"build-example": "webpack --config webpack.example.config.js --mode production",
"build": "npm-run-all -s build-lib build-test build-example",
"prepare": "npm run build",
"publish": "clean-publish --files .nyc_output coverage"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions webpack.docs.config.js → webpack.example.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const path = require('path');

module.exports = {
entry: path.resolve(__dirname, 'docs/src/index.jsx'),
entry: path.resolve(__dirname, 'example/src/index.jsx'),
output: {
filename: 'index.js',
path: path.resolve(__dirname, 'docs/dist')
path: path.resolve(__dirname, 'example/dist')
},
module: {
rules: [
Expand Down

0 comments on commit 0c814ae

Please sign in to comment.