@oddmash/kowrap 0.3.3 → 0.3.4

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 (1) hide show
  1. package/package.json +15 -10
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@oddmash/kowrap",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Korean-aware text wrapping for JavaScript, HTML and frontend frameworks",
5
5
  "type": "module",
6
+ "packageManager": "pnpm@11.25.0",
6
7
  "exports": {
7
8
  ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" },
8
9
  "./browser": { "types": "./dist/dom/index.d.ts", "import": "./dist/dom/index.js" },
@@ -19,21 +20,25 @@
19
20
  },
20
21
  "sideEffects": false,
21
22
  "scripts": {
23
+ "lint": "eslint . --max-warnings 0",
24
+ "lint:fix": "eslint . --fix --max-warnings 0",
22
25
  "build": "node scripts/clean-dist.mjs && tsc -p tsconfig.json",
23
- "test": "npm run build && node --test test/*.test.mjs",
24
- "test:next": "npm run build && npm --prefix test/next-app run build",
25
- "test:hydration": "npm run build && npm --prefix test/next-app run test:hydration",
26
- "test:frameworks": "npm run build && npm --prefix test/framework-app test",
27
- "test:browser": "npm run test:next && npm --prefix test/next-app run test:browser",
28
- "test:package": "npm run build && node --test test/package.mjs",
29
- "build:site": "npm run build && npm --prefix site run build",
30
- "test:site": "npm run build:site && node --test test/site.mjs",
31
- "prepack": "npm run build"
26
+ "test": "pnpm run build && node --test test/*.test.mjs",
27
+ "test:next": "pnpm run build && pnpm --dir test/next-app run build",
28
+ "test:hydration": "pnpm run build && pnpm --dir test/next-app run test:hydration",
29
+ "test:frameworks": "pnpm run build && pnpm --dir test/framework-app test",
30
+ "test:browser": "pnpm run test:next && pnpm --dir test/next-app run test:browser",
31
+ "test:package": "pnpm run build && node --test test/package.mjs",
32
+ "build:site": "pnpm run build && pnpm --dir site run build",
33
+ "test:site": "pnpm run build:site && node --test test/site.mjs",
34
+ "prepack": "pnpm run build"
32
35
  },
33
36
  "engines": { "node": ">=20" },
34
37
  "peerDependencies": { "react": "^18.2.0 || ^19.0.0" },
35
38
  "peerDependenciesMeta": { "react": { "optional": true } },
36
39
  "devDependencies": {
40
+ "eslint": "10.14.0",
41
+ "typescript-eslint": "8.72.2",
37
42
  "@types/react": "19.3.0",
38
43
  "react": "19.3.1",
39
44
  "react-dom": "19.3.1",