-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.54 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "rifm",
"version": "1.0.0",
"description": "Tiny react input formatter and mask",
"license": "MIT",
"author": "istarkov",
"maintainers": [
"istarkov",
"TrySound"
],
"repository": {
"type": "git",
"url": "https://github.com/TrySound/rifm.git"
},
"files": [
"dist"
],
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsdown src/index.ts --format esm --target es2022 --platform neutral --dts --clean",
"test:unit": "vitest run --project node",
"test:browser": "vitest run --project browser",
"test": "pnpm run test:ts && pnpm run test:unit && pnpm run test:browser",
"test:ts": "tsc",
"prepare": "simple-git-hooks",
"prepublishOnly": "pnpm test && pnpm run build"
},
"devDependencies": {
"@types/node": "26.2.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitest/browser-playwright": "4.1.10",
"libphonenumber-js": "^1.13.10",
"nano-staged": "^0.9.0",
"oxfmt": "^0.63.0",
"playwright": "1.62.1",
"pure-rand": "^8.4.2",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.22.14",
"typescript": "^5.9.3",
"vitest": "^4.1.10"
},
"peerDependencies": {
"react": ">=16.8"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged"
},
"nano-staged": {
"*.{md,ts,tsx}": "oxfmt --write"
},
"packageManager": "pnpm@10.34.5"
}