@icons-pack/react-simple-icons 7.2.0 → 8.0.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icons-pack/react-simple-icons",
3
- "version": "7.2.0",
3
+ "version": "8.0.0-beta.2",
4
4
  "description": "This package provides the Simple Icons packaged as a set of React components.",
5
5
  "keywords": [
6
6
  "react",
@@ -19,59 +19,65 @@
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "git+https://github.com/icons-pack/react-simple-icons.git"
22
+ "url": "git+https://github.com/icons-pack/react-simple-icons.git",
23
+ "directory": "react-simple-icons"
23
24
  },
24
25
  "license": "MIT",
25
26
  "author": "Jorge Luis Calleja <jorge.calleja@wootsbot.dev>",
26
- "source": "src/index.ts",
27
- "types": "dist/index.d.ts",
28
- "main": "./dist/index.js",
29
- "module": "./dist/index.mjs",
30
- "umd:main": "dist/index.js",
31
- "unpkg": "dist/index.js",
32
- "jsdelivr": "dist/index.js",
33
- "jsnext:main": "dist/index.mjs",
27
+ "main": "./dist/react-simple-icons.umd.js",
28
+ "module": "./dist/react-simple-icons.mjs",
29
+ "exports": {
30
+ ".": {
31
+ "import": "./dist/react-simple-icons.mjs",
32
+ "require": "./dist/react-simple-icons.umd.js"
33
+ }
34
+ },
35
+ "types": "./dist/index.d.ts",
34
36
  "sideEffects": false,
35
37
  "files": [
36
38
  "dist"
37
39
  ],
38
40
  "lint-staged": {
39
- "*.js": [
40
- "eslint --fix"
41
- ],
42
41
  "./**/*.+(js|json)": [
43
42
  "prettier --write"
44
43
  ]
45
44
  },
45
+ "bundlesize": [
46
+ {
47
+ "path": "./dist/index.d.ts",
48
+ "maxSize": "25 kB"
49
+ },
50
+ {
51
+ "path": "./dist/react-simple-icons.mjs",
52
+ "maxSize": "2 MB"
53
+ },
54
+ {
55
+ "path": "./dist/react-simple-icons.umd.js",
56
+ "maxSize": "2 MB"
57
+ }
58
+ ],
46
59
  "devDependencies": {
47
- "@changesets/changelog-github": "^0.4.5",
48
- "@changesets/cli": "^2.22.0",
49
- "@commitlint/cli": "^12.1.4",
50
- "@commitlint/config-conventional": "^12.1.4",
60
+ "@changesets/changelog-github": "0.4.8",
61
+ "@changesets/cli": "2.26.1",
62
+ "@commitlint/cli": "17.6.5",
63
+ "@commitlint/config-conventional": "17.6.5",
64
+ "@types/node": "20.2.6",
51
65
  "@types/react": "^18.0.12",
52
- "@typescript-eslint/eslint-plugin": "^5.27.1",
53
- "@typescript-eslint/parser": "^5.27.1",
66
+ "@vitejs/plugin-react": "^4.0.0",
54
67
  "bundlesize": "^0.18.1",
55
68
  "cross-env": "^6.0.3",
56
- "eslint": "^8.17.0",
57
- "eslint-config-airbnb-typescript": "^17.0.0",
58
- "eslint-config-prettier": "8.6.0",
59
- "eslint-import-resolver-webpack": "^0.11.1",
60
- "eslint-plugin-import": "^2.26.0",
61
- "eslint-plugin-prettier": "4.2.1",
62
- "eslint-plugin-react": "^7.14.3",
63
69
  "husky": "^6.0.0",
64
70
  "lint-staged": "^11.0.0",
65
71
  "prettier": "2.8.4",
66
- "prettier-eslint": "15.0.1",
72
+ "prettier-eslint": "^15.0.1",
67
73
  "react": "^18.2.0",
68
74
  "rimraf": "^3.0.2",
69
75
  "signale": "^1.4.0",
70
- "simple-icons": "8.9.0",
71
- "tsup": "6.7.0",
72
- "turbo": "1.8.8",
76
+ "simple-icons": "9.0.0",
77
+ "turbo": "1.10.3",
73
78
  "typescript": "4.7.3",
74
- "uppercamelcase": "3.0.0"
79
+ "uppercamelcase": "3.0.0",
80
+ "vite": "^4.3.9"
75
81
  },
76
82
  "peerDependencies": {
77
83
  "react": "^16.13 || ^17 || ^18"
@@ -80,18 +86,17 @@
80
86
  "access": "public"
81
87
  },
82
88
  "scripts": {
89
+ "build:dist": "vite build",
83
90
  "clean": "rimraf dist",
84
91
  "clean:build": "rimraf -rf dist",
85
- "build": "pnpm clean:build && tsup && pnpm generate:declarations",
86
- "bundlesize": "bundlesize",
92
+ "build": "pnpm clean:build && pnpm build:dist && pnpm generate:declarations",
87
93
  "lint:types": "tsc --noEmit",
88
94
  "clean:components": "rimraf -rf ./src/components/**",
89
95
  "clean:files": "rimraf -rf ./src/index.ts",
90
96
  "generate:components": "pnpm clean:components && pnpm clean:files && node scripts/generate-components",
91
97
  "generate:declarations": "node scripts/generate-declarations",
92
- "lint": "pnpm lint:eslint",
93
- "lint:eslint": "eslint --fix .",
94
98
  "prettier": "prettier --config .prettierrc \"./**/*.+(js|json|ts|tsx)\" --write",
99
+ "bundlesize": "bundlesize",
95
100
  "changeset": "changeset",
96
101
  "version": "changeset version",
97
102
  "release": "changeset publish"