@oxog/printkit 1.0.0 → 1.1.1

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,16 +1,16 @@
1
1
  {
2
2
  "name": "@oxog/printkit",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "Zero-dependency print management toolkit with preview modal and PDF export capabilities",
5
5
  "author": "Ersin KOC",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/ersinkoc/printkit.git"
9
+ "url": "git+https://github.com/ersinkoc/PrintKit.git"
10
10
  },
11
11
  "homepage": "https://printkit.oxog.dev",
12
12
  "bugs": {
13
- "url": "https://github.com/ersinkoc/printkit/issues"
13
+ "url": "https://github.com/ersinkoc/PrintKit/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "print",
@@ -46,11 +46,14 @@
46
46
  "types": "./dist/react.d.cts",
47
47
  "default": "./dist/react.cjs"
48
48
  }
49
- }
49
+ },
50
+ "./package.json": "./package.json"
50
51
  },
51
52
  "typesVersions": {
52
53
  "*": {
53
- "react": ["./dist/react.d.ts"]
54
+ "react": [
55
+ "./dist/react.d.ts"
56
+ ]
54
57
  }
55
58
  },
56
59
  "files": [
@@ -62,25 +65,30 @@
62
65
  "scripts": {
63
66
  "dev": "tsup --watch",
64
67
  "build": "tsup",
65
- "test": "vitest",
66
- "test:run": "vitest run",
68
+ "test": "vitest run",
69
+ "test:watch": "vitest",
67
70
  "test:coverage": "vitest run --coverage",
68
- "lint": "eslint src --ext .ts,.tsx",
69
- "typecheck": "tsc --noEmit",
70
- "prepublishOnly": "npm run build && npm run test:run"
71
+ "test:package": "node scripts/check-package.mjs",
72
+ "lint": "eslint src tests --max-warnings=0",
73
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
74
+ "check": "npm run lint && npm run typecheck && npm run test:coverage",
75
+ "prepublishOnly": "npm run check && npm run build && npm run test:package"
71
76
  },
72
- "dependencies": {},
73
77
  "devDependencies": {
78
+ "@eslint/js": "^9.39.5",
74
79
  "@testing-library/react": "^14.1.2",
75
80
  "@types/node": "^20.10.6",
76
81
  "@types/react": "^18.2.47",
77
82
  "@types/react-dom": "^18.2.18",
78
83
  "@vitest/coverage-v8": "^1.1.3",
84
+ "eslint": "^9.39.5",
85
+ "eslint-plugin-react-hooks": "^5.2.0",
79
86
  "jsdom": "^23.2.0",
80
87
  "react": "^18.2.0",
81
88
  "react-dom": "^18.2.0",
82
89
  "tsup": "^8.0.1",
83
90
  "typescript": "^5.3.3",
91
+ "typescript-eslint": "^8.74.0",
84
92
  "vitest": "^1.1.3"
85
93
  },
86
94
  "peerDependencies": {