@2hoch1/pixel-icon-library-react 1.1.1 → 1.1.3

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,84 +1,108 @@
1
- {
2
- "name": "@2hoch1/pixel-icon-library-react",
3
- "version": "1.1.1",
4
- "description": "React wrapper components for the HackerNoon Pixel Icon Library.",
5
- "license": "MIT",
6
- "type": "module",
7
- "main": "dist/index.cjs",
8
- "module": "dist/index.js",
9
- "types": "dist/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "types": "./dist/index.d.ts",
13
- "import": "./dist/index.js",
14
- "require": "./dist/index.cjs"
15
- },
16
- "./icon-types": {
17
- "types": "./dist/icon-types.d.ts",
18
- "import": "./dist/icon-types.js",
19
- "require": "./dist/icon-types.cjs"
20
- },
21
- "./dynamicIconImports": {
22
- "types": "./dist/dynamicIconImports.d.ts",
23
- "import": "./dist/dynamicIconImports.js",
24
- "require": "./dist/dynamicIconImports.cjs"
25
- },
26
- "./icons": {
27
- "types": "./dist/icons/index.d.ts",
28
- "import": "./dist/icons/index.js",
29
- "require": "./dist/icons/index.cjs"
30
- },
31
- "./icons/*": {
32
- "types": "./dist/icons/*.d.ts",
33
- "import": "./dist/icons/*.js",
34
- "require": "./dist/icons/*.cjs"
35
- }
36
- },
37
- "files": [
38
- "dist",
39
- "README.md",
40
- "LICENSE"
41
- ],
42
- "sideEffects": false,
43
- "scripts": {
44
- "generate": "tsx scripts/generate-icons.ts",
45
- "build": "npm run generate && tsup",
46
- "clean": "rimraf dist",
47
- "prepare": "npm run build",
48
- "test": "vitest",
49
- "test:ui": "vitest --ui",
50
- "test:coverage": "vitest --coverage"
51
- },
52
- "peerDependencies": {
53
- "react": ">=17.0.0 <20.0.0"
54
- },
55
- "devDependencies": {
56
- "@testing-library/jest-dom": "^6.9.1",
57
- "@testing-library/react": "^16.3.1",
58
- "@types/node": "^25.0.3",
59
- "@types/react": "^18.3.12",
60
- "@vitejs/plugin-react": "^5.1.2",
61
- "esbuild": "^0.25.2",
62
- "esbuild-plugin-svgr": "^3.1.1",
63
- "happy-dom": "^20.1.0",
64
- "jsdom": "^27.4.0",
65
- "react": "^18.3.1",
66
- "react-dom": "^18.3.1",
67
- "rimraf": "^6.0.1",
68
- "tsup": "^8.3.0",
69
- "tsx": "^4.19.2",
70
- "typescript": "^5.6.3",
71
- "vitest": "^4.0.16"
72
- },
73
- "dependencies": {
74
- "@hackernoon/pixel-icon-library": "^1.0.6"
75
- },
76
- "repository": {
77
- "type": "git",
78
- "url": "git+https://github.com/2hoch1/pixel-icon-library-react.git"
79
- },
80
- "homepage": "https://github.com/2hoch1/pixel-icon-library-react",
81
- "bugs": {
82
- "url": "https://github.com/2hoch1/pixel-icon-library-react/issues"
83
- }
84
- }
1
+ {
2
+ "$schema": "https://json.schemastore.org/package",
3
+ "name": "@2hoch1/pixel-icon-library-react",
4
+ "version": "1.1.3",
5
+ "description": "React wrapper components for the HackerNoon Pixel Icon Library.",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "dist/index.cjs",
9
+ "module": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./icon-types": {
18
+ "types": "./dist/icon-types.d.ts",
19
+ "import": "./dist/icon-types.js",
20
+ "require": "./dist/icon-types.cjs"
21
+ },
22
+ "./dynamicIconImports": {
23
+ "types": "./dist/dynamicIconImports.d.ts",
24
+ "import": "./dist/dynamicIconImports.js",
25
+ "require": "./dist/dynamicIconImports.cjs"
26
+ },
27
+ "./icons": {
28
+ "types": "./dist/icons/index.d.ts",
29
+ "import": "./dist/icons/index.js",
30
+ "require": "./dist/icons/index.cjs"
31
+ },
32
+ "./icons/*": {
33
+ "types": "./dist/icons/*.d.ts",
34
+ "import": "./dist/icons/*.js",
35
+ "require": "./dist/icons/*.cjs"
36
+ }
37
+ },
38
+ "files": [
39
+ "dist",
40
+ "README.md",
41
+ "LICENSE"
42
+ ],
43
+ "engines": {
44
+ "node": ">=18"
45
+ },
46
+ "sideEffects": false,
47
+ "scripts": {
48
+ "generate": "tsx scripts/generate-icons.ts",
49
+ "build": "npm run generate && tsup",
50
+ "clean": "rimraf dist",
51
+ "typecheck": "tsc --noEmit",
52
+ "lint": "eslint src tests",
53
+ "lint:fix": "eslint src tests --fix",
54
+ "format": "prettier --write \"src/**/*.{ts,tsx}\" \"tests/**/*.{ts,tsx}\" \"*.{json,md,yml,yaml}\" \".github/**/*.{yml,yaml,json,md}\"",
55
+ "format:check": "prettier --check \"src/**/*.{ts,tsx}\" \"tests/**/*.{ts,tsx}\" \"*.{json,md,yml,yaml}\" \".github/**/*.{yml,yaml,json,md}\"",
56
+ "test": "vitest run",
57
+ "test:watch": "vitest",
58
+ "test:ui": "vitest --ui",
59
+ "test:coverage": "vitest run --coverage",
60
+ "prepare": "husky",
61
+ "prepublishOnly": "npm run build"
62
+ },
63
+ "peerDependencies": {
64
+ "react": ">=17.0.0 <20.0.0"
65
+ },
66
+ "devDependencies": {
67
+ "@commitlint/cli": "^19.0.0",
68
+ "@commitlint/config-conventional": "^19.0.0",
69
+ "@commitlint/types": "^20.4.4",
70
+ "@testing-library/dom": "^10.4.1",
71
+ "@testing-library/jest-dom": "^6.9.1",
72
+ "@testing-library/react": "^16.3.1",
73
+ "@types/node": "^25.0.3",
74
+ "@types/react": "^18.3.12",
75
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
76
+ "@typescript-eslint/parser": "^8.0.0",
77
+ "@vitejs/plugin-react": "^5.1.2",
78
+ "@vitest/coverage-v8": "^4.0.0",
79
+ "esbuild": "^0.25.2",
80
+ "esbuild-plugin-svgr": "^3.1.1",
81
+ "eslint": "^9.0.0",
82
+ "eslint-config-prettier": "^9.0.0",
83
+ "happy-dom": "^20.1.0",
84
+ "husky": "^9.0.0",
85
+ "jsdom": "^27.4.0",
86
+ "lint-staged": "^15.0.0",
87
+ "prettier": "^3.0.0",
88
+ "react": "^18.3.1",
89
+ "react-dom": "^18.3.1",
90
+ "rimraf": "^6.0.1",
91
+ "tsup": "^8.3.0",
92
+ "tsx": "^4.19.2",
93
+ "typescript": "^5.6.3",
94
+ "typescript-eslint": "^8.0.0",
95
+ "vitest": "^4.0.16"
96
+ },
97
+ "dependencies": {
98
+ "@hackernoon/pixel-icon-library": "^1.0.6"
99
+ },
100
+ "repository": {
101
+ "type": "git",
102
+ "url": "git+https://github.com/2hoch1/pixel-icon-library-react.git"
103
+ },
104
+ "homepage": "https://github.com/2hoch1/pixel-icon-library-react",
105
+ "bugs": {
106
+ "url": "https://github.com/2hoch1/pixel-icon-library-react/issues"
107
+ }
108
+ }