devicons-react 1.1.9 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +42 -38
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  <div align="center">
15
15
  <a href="https://github.com/MKAbuMattar/devicons-react">
16
- <img src="https://raw.githubusercontent.com/MKAbuMattar/devicons-react/main/docs/assets/img/logo.png" alt="Devicon Logo" height="140" />
16
+ <img src="https://raw.githubusercontent.com/MKAbuMattar/devicons-react/main/docs/src/assets/img/logo.png" alt="Devicon Logo" height="140" />
17
17
  </a>
18
18
  <p align="center">
19
19
  Devicons React is a collection of icons that symbolize programming languages, design tools, and development software, build into <a href="https://github.com/devicons/devicon">devicon</a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devicons-react",
3
- "version": "1.1.9",
3
+ "version": "1.2.2",
4
4
  "description": "Devicons React is a collection of icons that symbolize programming languages, design tools, and development software.",
5
5
  "author": "Mohammad Abu Mattar <mohammad.khaled@outlook.com> (http://mkabumattar.github.io/)",
6
6
  "main": "lib/index.js",
@@ -9,54 +9,58 @@
9
9
  "scripts": {
10
10
  "storybook": "start-storybook -p 6006",
11
11
  "build:storybook": "build-storybook",
12
+ "clean:devicon": "rimraf -rf devicon",
12
13
  "clean:lib": "rimraf -rf lib",
13
14
  "clean:svg": "rimraf -rf svg",
14
15
  "clean:svgr": "rimraf -rf src/icons",
15
16
  "clean:svgr:index": "rimraf ./src/icons/index.ts",
16
17
  "clean:svg:devicon": "rimraf ./svg/devicon-line-wordmark.svg ./svg/devicon-line.svg ./svg/devicon-original-wordmark.svg ./svg/devicon-original.svg ./svg/devicon-plain-wordmark.svg ./svg/devicon-plain.svg",
17
18
  "copy:svg:devicons-react": "cp ./generate/devicons-react-original.svg ./svg",
19
+ "generate:devicon": "yarn clean:devicon && node ./generate/gitclone.config.js",
18
20
  "generate:data": "node ./generate/generate.data.js",
19
- "generate:svg": "node ./generate/build.config.js && npm run clean:svg && node ./generate/generate.js && npm run clean:svg:devicon && npm run copy:svg:devicons-react",
20
- "generate:svgr": "npm run clean:svgr && npx @svgr/cli --typescript --out-dir src/icons --index-template index-template.js -- svg && npm run clean:svgr:index",
21
- "build:lib": "npm run clean:lib && rollup -c",
22
- "build": "npm run generate:svg && npm run generate:svgr && npm run build:lib && npm run generate:data",
23
- "publish:lib": "npm run build && cd lib && npm publish"
21
+ "generate:svg": "node ./generate/build.config.js && yarn clean:svg && node ./generate/generate.js && yarn clean:svg:devicon && yarn copy:svg:devicons-react",
22
+ "generate:svgr": "yarn clean:svgr && npx @svgr/cli --typescript --out-dir src/icons --index-template index-template.js -- svg && yarn clean:svgr:index",
23
+ "build:pre": "yarn generate:devicon",
24
+ "build:lib": "yarn clean:lib && rollup -c",
25
+ "build": "yarn build:pre && yarn generate:svg && yarn generate:svgr && yarn build:lib && yarn generate:data",
26
+ "publish:lib": "cd lib && npm publish",
27
+ "publish:lib:beta": "cd lib && npm publish --tag beta"
24
28
  },
25
29
  "devDependencies": {
26
- "@babel/core": "^7.17.8",
27
- "@babel/preset-env": "^7.16.11",
28
- "@babel/preset-react": "^7.16.7",
29
- "@babel/preset-typescript": "^7.16.7",
30
- "@rollup/plugin-babel": "^5.3.1",
31
- "@rollup/plugin-commonjs": "^21.0.3",
32
- "@rollup/plugin-node-resolve": "^13.1.3",
33
- "@rollup/plugin-typescript": "^8.3.1",
34
- "@storybook/react": "^6.1.21",
35
- "@svgr/babel-plugin-remove-jsx-attribute": "^6.0.0",
36
- "@svgr/cli": "^6.2.1",
37
- "@types/node": "^17.0.23",
38
- "@types/react": "^17.0.43",
39
- "@types/react-dom": "^17.0.14",
40
- "babel-loader": "^8.2.4",
41
- "devicon": "^2.15.1",
42
- "fs-plus": "^3.1.1",
43
- "node-recursive-directory": "^1.2.0",
44
- "react": "^17.0.2",
45
- "rimraf": "^3.0.2",
46
- "rollup": "^2.70.1",
47
- "rollup-plugin-copy": "^3.4.0",
48
- "rollup-plugin-dts": "^4.2.0",
49
- "rollup-plugin-peer-deps-external": "^2.2.4",
50
- "rollup-plugin-postcss": "^4.0.2",
51
- "rollup-plugin-terser": "^7.0.2",
52
- "rollup-plugin-visualizer": "^5.6.0",
53
- "svgson": "^5.2.1",
54
- "tslib": "^2.3.1",
55
- "typescript": "^4.6.3"
30
+ "@babel/core": "7.18.9",
31
+ "@babel/preset-env": "7.18.9",
32
+ "@babel/preset-react": "7.18.6",
33
+ "@babel/preset-typescript": "7.18.6",
34
+ "@rollup/plugin-babel": "5.3.1",
35
+ "@rollup/plugin-commonjs": "22.0.1",
36
+ "@rollup/plugin-node-resolve": "13.3.0",
37
+ "@rollup/plugin-typescript": "8.3.4",
38
+ "@storybook/react": "6.5.9",
39
+ "@svgr/babel-plugin-remove-jsx-attribute": "6.3.1",
40
+ "@svgr/cli": "6.3.1",
41
+ "@types/node": "18.6.2",
42
+ "@types/react": "18.0.15",
43
+ "@types/react-dom": "18.0.6",
44
+ "babel-loader": "8.2.5",
45
+ "devicon": "2.15.1",
46
+ "fs-plus": "3.1.1",
47
+ "node-recursive-directory": "1.2.0",
48
+ "react": "18.2.0",
49
+ "rimraf": "3.0.2",
50
+ "rollup": "2.77.2",
51
+ "rollup-plugin-copy": "3.4.0",
52
+ "rollup-plugin-dts": "4.2.2",
53
+ "rollup-plugin-peer-deps-external": "2.2.4",
54
+ "rollup-plugin-postcss": "4.0.2",
55
+ "rollup-plugin-terser": "7.0.2",
56
+ "rollup-plugin-visualizer": "5.7.1",
57
+ "svgson": "5.2.1",
58
+ "tslib": "2.4.0",
59
+ "typescript": "4.7.4"
56
60
  },
57
61
  "peerDependencies": {
58
- "react": "^17.0.0",
59
- "react-dom": "^17.0.0"
62
+ "react": "^18.0.0",
63
+ "react-dom": "^18.0.0"
60
64
  },
61
65
  "repository": {
62
66
  "type": "git",