Skip to content

Commit

Permalink
Remove unused dependencies and configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Mar 30, 2020
1 parent 0955c85 commit 4ec70e4
Show file tree
Hide file tree
Showing 5 changed files with 342 additions and 1,265 deletions.
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ module.exports = {
},
"plugins": [
"ava",
"markdown",
"react"
"markdown"
],
"settings": {
react: {
version: "detect",
pragma: "createElement"
}
},
"extends": [
"@octetstream",
"plugin:ava/recommended",
Expand Down
18 changes: 1 addition & 17 deletions ava.config.cjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
module.exports = {
files: [
"test.js"
],
babel: {
extensions: [
"js",
"jsx"
],
testOptions: {
presets: [
[
"@babel/preset-react",
{
pragma: "createElement"
}
]
]
}
}
]
}
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"react-hooks"
],
"main": "use-suspender",
"repository": "[email protected]:octet-stream/use-suspender.git",
"repository": "octet-stream/use-suspender",
"author": "octet-stream <[email protected]>",
"license": "MIT",
"private": false,
Expand All @@ -21,11 +21,8 @@
"ci": "nyc npm test && nyc report --reporter=lcov && node_modules/.bin/codecov"
},
"devDependencies": {
"@ava/babel": "1.0.1",
"@babel/preset-react": "7.9.4",
"@octetstream/eslint-config": "4.0.0",
"@size-limit/preset-small-lib": "4.4.1",
"@testing-library/react": "10.0.1",
"@testing-library/react-hooks": "3.2.1",
"ava": "3.5.1",
"codecov": "3.6.5",
Expand All @@ -34,14 +31,12 @@
"eslint-plugin-markdown": "1.0.2",
"eslint-plugin-react": "7.19.0",
"husky": "4.2.3",
"jsdom": "16.2.1",
"jsdom-global": "3.0.2",
"lint-staged": "10.0.9",
"nanoid": "2.1.11",
"nyc": "15.0.0",
"preact": "10.3.4",
"prop-types": "15.7.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-test-renderer": "16.13.1",
"sinon": "9.0.1",
"size-limit": "4.4.1"
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const test = require("ava")
const {spy} = require("sinon")
const {renderHook} = require("@testing-library/react-hooks")

const createSuspender = require("./use-suspender")
const createSuspender = require(".")

test("Executes a function passed to createSuspender", t => {
const fn = spy()
Expand Down
Loading

0 comments on commit 4ec70e4

Please sign in to comment.