Skip to content

Commit

Permalink
Tidy package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Hook committed Sep 28, 2020
1 parent 367a1b3 commit 76e5cae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
4 changes: 0 additions & 4 deletions examples/simple-viewport/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"name": "example",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html"
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"author": "Aragon Association <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/use-viewport.esm.js",
"sideEffects": false,
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
"dist"
],
"engines": {
"node": ">=10"
Expand All @@ -18,6 +19,7 @@
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"prepublishOnly": "git push && git push --tags",
"size": "size-limit",
"analyze": "size-limit --why"
},
Expand All @@ -26,7 +28,6 @@
"pre-commit": "yarn lint"
}
},
"module": "dist/use-viewport.esm.js",
"size-limit": [
{
"path": "dist/use-viewport.cjs.production.min.js",
Expand All @@ -37,6 +38,9 @@
"limit": "10 KB"
}
],
"dependencies": {
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.6.0",
"@types/lodash": "^4.14.161",
Expand All @@ -51,9 +55,5 @@
},
"peerDependencies": {
"react": "^16.13.1"
},
"dependencies": {
"lodash": "^4.17.20",
"lodash-es": "^4.17.15"
}
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5558,7 +5558,7 @@ lodash.uniq@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=

lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.5:
lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.5:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
Expand Down

0 comments on commit 76e5cae

Please sign in to comment.