From 6b377e9865960c8b4078831eed5ddebf12c1f54b Mon Sep 17 00:00:00 2001 From: Branny Date: Mon, 23 Oct 2023 12:09:14 +0100 Subject: [PATCH 1/2] Update package.json --- package.json | 109 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 69 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 049db82..a1b5bd4 100644 --- a/package.json +++ b/package.json @@ -1,70 +1,99 @@ { - "name": "react-css-themr", - "description": "React CSS Themr", - "homepage": "https://github.com/javivelasco/react-css-themr#readme", - "version": "2.1.2", + "name": "@friendsofreactjs/react-css-themr", + "description": "Friends of ReactJS: React CSS Themr", + "homepage": "https://github.com/FriendsOfReactJS/react-css-themr#readme", + "version": "4.3.3", "main": "./lib", - "author": { - "email": "javier.velasco86@gmail.com", - "name": "Javi Velasco", - "url": "http://javivelasco.com/" - }, + "author": "Javi Velasco (http://javivelasco.com/)", "repository": { "type": "git", - "url": "git+https://github.com/javivelasco/react-css-themr.git" + "url": "https://github.com/FriendsOfReactJS/react-css-themr.git" }, "bugs": { - "url": "https://github.com/javivelasco/react-css-themr/issues" + "url": "https://github.com/FriendsOfReactJS/react-css-themr/issues" }, "keywords": [ + "theme", + "css theme", + "react css theme", "css-modules", "customization", "react", "react-css-themr", - "theming" + "theming", + "friends of react" ], "dependencies": { - "hoist-non-react-statics": "^1.2.0", - "invariant": "^2.2.1" + "hoist-non-react-statics": "^3.3.0", + "invariant": "^2.2.4", + "prop-types": "^15.7.2" }, "devDependencies": { - "@types/react": "^15.0.24", - "babel-cli": "^6.24.1", - "babel-core": "^6.24.1", - "babel-eslint": "^7.2.3", - "babel-plugin-transform-decorators-legacy": "^1.3.4", - "babel-preset-es2015": "^6.24.1", - "babel-preset-react": "^6.24.1", - "babel-preset-stage-0": "^6.24.1", - "eslint": "^3.19.0", - "eslint-config-rackt": "^1.1.1", - "eslint-plugin-babel": "^4.1.1", - "eslint-plugin-react": "^7.0.0", - "expect": "^1.18.0", - "fbjs": "^0.8.12", - "jsdom": "^9.8.3", - "mocha": "^3.3.0", - "prop-types": "^15.5.9", - "react": "^15.5.4", - "react-dom": "^15.5.4", - "rimraf": "^2.6.1", - "sinon": "^1.17.6" + "@babel/cli": "^7.6.4", + "@babel/core": "^7.6.4", + "@babel/plugin-proposal-class-properties": "^7.5.5", + "@babel/plugin-proposal-decorators": "^7.6.0", + "@babel/preset-env": "^7.6.3", + "@babel/preset-react": "^7.6.3", + "@semantic-release/changelog": "^5.0.1", + "@semantic-release/git": "^9.0.0", + "@semantic-release/release-notes-generator": "^9.0.1", + "@types/react": "^16.9.5", + "babel-eslint": "^10.0.3", + "commitizen": "^4.1.2", + "conventional-changelog-eslint": "^3.0.8", + "cz-adapter-eslint": "^0.3.0", + "eslint": "^6.5.1", + "eslint-config-prettier": "^6.4.0", + "eslint-plugin-prettier": "^3.1.1", + "eslint-plugin-react": "^7.16.0", + "fbjs": "^1.0.0", + "jest": "^24.9.0", + "jsdom": "^15.1.1", + "prettier": "^1.18.2", + "react": "^16.10.2", + "react-dom": "^16.10.2", + "rimraf": "^3.0.0", + "semantic-release": "^17.1.1", + "sinon": "^7.5.0", + "travis-deploy-once": "^5.0.11", + "typescript": "^3.9.7" }, "files": [ - "index.d.ts", + "types", "lib", "src" ], "scripts": { "build": "babel src --out-dir lib", "lint": "eslint src test", + "lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", "prepublish": "rimraf lib && npm run build", - "test": "mocha --compilers js:babel-core/register --recursive --reporter spec --require ./test/setup.js", - "test:watch": "npm test -- --watch" + "test": "jest", + "test:watch": "npm test -- --watch", + "travis-deploy-once": "travis-deploy-once", + "semantic-release": "semantic-release", + "commit": "git-cz" }, "license": "MIT", "peerDependencies": { - "react": "^0.14.0 || ^15.0.0-0" + "react": "^15.0.0-0 || ^16.0.0" + }, + "types": "./types/index.d.ts", + "directories": { + "lib": "lib", + "test": "test" + }, + "jest": { + "verbose": true, + "testURL": "http://localhost/" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-adapter-eslint" + } }, - "typings": "./index.d.ts" + "publishConfig": { + "access": "public" + } } From 6ff9049c74f4b4956ee5a5073882e6a57d0e65de Mon Sep 17 00:00:00 2001 From: Branny Date: Mon, 23 Oct 2023 12:09:51 +0100 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a1b5bd4..9b05463 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ }, "license": "MIT", "peerDependencies": { - "react": "^15.0.0-0 || ^16.0.0" + "react": "^15.0.0-0 || ^16.0.0 || ^18.0.0" }, "types": "./types/index.d.ts", "directories": {