-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
88 lines (88 loc) · 2.39 KB
/
package.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "react-telephone",
"description": "☎️ Tiniest react input phone component (auto formating included)",
"version": "0.0.0",
"type": "module",
"source": "./src/index.tsx",
"main": "./dist/react-telephone.cjs",
"module": "./dist/react-telephone.module.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/react-telephone.module.js",
"umd": "./dist/react-telephone.umd.js",
"import": "./dist/react-telephone.mjs",
"require": "./dist/react-telephone.cjs"
}
},
"scripts": {
"dev": "microbundle watch",
"build": "microbundle --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx",
"test": "vitest",
"prepare": "husky install",
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx .",
"tsc": "tsc --noEmit"
},
"license": "MIT",
"homepage": "https://github.com/jorisre/react-telephone#readme",
"repository": {
"type": "git",
"url": "https://github.com/jorisre/react-telephone.git"
},
"bugs": {
"url": "https://github.com/jorisre/react-telephone/issues"
},
"keywords": [
"phone",
"phone number",
"telephone",
"international",
"tel",
"number"
],
"sideEffects": false,
"files": [
"dist",
"src"
],
"author": {
"name": "Joris",
"email": "[email protected]",
"url": "https://joris.re"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/node": "^20.8.0",
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-react": "^4.1.0",
"c8": "^8.0.1",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.6"
},
"lint-staged": {
"*.js": "npm run lint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}