developer-icons 6.0.5 → 7.0.0
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/README.md +28 -12
- package/dist/main.js +3283 -3289
- package/package.json +22 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "developer-icons",
|
|
3
3
|
"description": "A collection of well-optimized SVG tech logos for developers and designers—customizable, scalable, and free.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://xandemon.github.io/developer-icons",
|
|
7
7
|
"repository": {
|
|
@@ -35,15 +35,30 @@
|
|
|
35
35
|
"dev:playground": "vite",
|
|
36
36
|
"dev:showcase": "cd showcase && npm run dev",
|
|
37
37
|
"clean": "rimraf --glob dist && rimraf --glob lib/icons/*.tsx",
|
|
38
|
-
"
|
|
38
|
+
"generate:icons": "tsx ./lib/scripts/build.ts",
|
|
39
|
+
"build": "npm run clean && npm run generate:icons && tsc --p ./tsconfig-build.json && vite build",
|
|
39
40
|
"build:showcase": "cd showcase && npm run build",
|
|
41
|
+
"format": "prettier --write .",
|
|
42
|
+
"format:check": "prettier --check .",
|
|
40
43
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
44
|
+
"lint:fix": "npm run lint -- --fix",
|
|
45
|
+
"typecheck": "tsc --noEmit -p tsconfig-build.json && tsc --noEmit -p tsconfig.json",
|
|
46
|
+
"verify:root": "npm run format:check && npm run lint && npm run typecheck",
|
|
47
|
+
"verify": "npm run verify:root && npm ci --prefix showcase && npm run build --prefix showcase",
|
|
41
48
|
"preview": "vite preview",
|
|
42
49
|
"preview:showcase": "cd showcase && npm run preview",
|
|
43
50
|
"prePublishOnly": "npm run build",
|
|
51
|
+
"prepare": "husky",
|
|
44
52
|
"sort:data": "tsx ./lib/scripts/sortData.ts",
|
|
45
53
|
"optimize-svgs": "svgo -f ./icons/raw -o ./icons && rimraf --glob icons/raw/*"
|
|
46
54
|
},
|
|
55
|
+
"lint-staged": {
|
|
56
|
+
"*.{ts,tsx}": [
|
|
57
|
+
"prettier --write",
|
|
58
|
+
"eslint --fix --max-warnings 0"
|
|
59
|
+
],
|
|
60
|
+
"*.{mjs,cjs,astro,css,md}": "prettier --write"
|
|
61
|
+
},
|
|
47
62
|
"peerDependencies": {
|
|
48
63
|
"react": "^18.2.0 || ^19.0.0",
|
|
49
64
|
"react-dom": "^18.2.0 || ^19.0.0"
|
|
@@ -56,8 +71,13 @@
|
|
|
56
71
|
"@typescript-eslint/parser": "^7.2.0",
|
|
57
72
|
"@vitejs/plugin-react": "^4.2.1",
|
|
58
73
|
"eslint": "^8.57.0",
|
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
|
59
75
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
60
76
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
77
|
+
"husky": "^9.1.7",
|
|
78
|
+
"lint-staged": "^15.4.3",
|
|
79
|
+
"prettier": "^3.5.3",
|
|
80
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
61
81
|
"react": "^18.2.0",
|
|
62
82
|
"react-dom": "^18.2.0",
|
|
63
83
|
"rimraf": "^5.0.5",
|