Skip to content

Commit

Permalink
Merge pull request #171 from lhansford/dependency-updates
Browse files Browse the repository at this point in the history
Update dependencies / Switch eslint config
  • Loading branch information
lhansford authored Mar 20, 2022
2 parents 56b1e69 + 8992390 commit 055195a
Show file tree
Hide file tree
Showing 4 changed files with 3,085 additions and 4,570 deletions.
7 changes: 1 addition & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
module.exports = {
extends: [
'eslint-config-fishbrain',
'plugin:jest-formatting/recommended',
'plugin:jest-dom/recommended',
],
plugins: ['jest-formatting', 'jest-dom'],
extends: ['eslint-config-lukehansford-react']
};
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ console.log(reactToText(<CustomComponent title="foo" />, resolvers));
> "foo"
```

## Deploying

Deploys to NPM are automatically run when a release is created in Github (see [`.github/workflows/npm-publish.yml`](.github/workflows/npm-publish.yml)).

## License

Licensed under MIT.
58 changes: 28 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-to-text",
"version": "1.0.1",
"version": "1.1.0",
"description": "Convert react components to plain text without any HTML markup",
"keywords": [
"react",
Expand All @@ -22,7 +22,7 @@
"types": "./dist/index.d.ts",
"scripts": {
"build": "rollup --config ./config/rollup.config.js",
"lint": "node_modules/eslint/bin/eslint.js src --ext .js,.ts,.jsx,.tsx",
"lint": "eslint src --ext .js,.ts,.jsx,.tsx",
"lint:fix": "yarn lint --fix",
"start": "rollup --config ./config/rollup.config.js -w",
"test": "jest --config ./config/jest.config.js",
Expand All @@ -31,39 +31,37 @@
"type-check:watch": "yarn type-check -- --watch"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-object-rest-spread": "^7.9.0",
"@babel/plugin-transform-async-to-generator": "^7.8.3",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.9.0",
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/plugin-transform-async-to-generator": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/jest": "^25.1.4",
"@types/react": "^16.9.44",
"@types/react-dom": "^16.9.8",
"babel-jest": "^26.2.2",
"babel-loader": "^8.1.0",
"eslint": "^6.8.0",
"eslint-config-fishbrain": "^2.0.0",
"eslint-plugin-jest-dom": "^3.1.5",
"eslint-plugin-jest-formatting": "^2.0.0",
"fork-ts-checker-webpack-plugin": "^5.0.14",
"jest": "^26.2.2",
"prettier": "^2.0.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rollup": "^2.6.1",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.41",
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.3",
"eslint": "^8.11.0",
"eslint-config-lukehansford-react": "^1.1.0",
"fork-ts-checker-webpack-plugin": "^7.2.1",
"jest": "^27.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup": "^2.70.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-typescript2": "^0.27.0",
"ts-loader": "^8.0.2",
"typescript": "^3.8.3"
"rollup-plugin-typescript2": "^0.31.2",
"ts-loader": "^9.2.8",
"typescript": "^4.6.2"
},
"dependencies": {},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}
Loading

0 comments on commit 055195a

Please sign in to comment.