-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
82 lines (82 loc) · 2.41 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
{
"name": "use-font-face-observer",
"description": "React hook to detect if web fonts are available 🪝",
"version": "1.2.2",
"license": "MIT",
"repository": "https://github.com/iamskok/use-font-face-observer",
"author": "Vladimir Skok",
"files": [
"dist"
],
"source": "src/index.ts",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.module.js",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.modern.js"
},
"types": "dist/index.d.ts",
"scripts": {
"build": "microbundle",
"watch": "microbundle watch",
"format": "prettier --write '**/*.{md,json,yml,yaml}'",
"lint": "eslint --fix '**/*.{js,ts,jsx,tsx}'",
"release": "env-cmd semantic-release --repositoryUrl \"$(git remote get-url origin | tr -d '\n')\"",
"release:dry": "env-cmd semantic-release --dry-run --repositoryUrl \"$(git remote get-url origin | tr -d '\n')\"",
"readme": "npx readme-md-generator",
"test": "jest"
},
"dependencies": {
"fontfaceobserver": "2.1.0"
},
"devDependencies": {
"@commitlint/cli": "15.0.0",
"@commitlint/config-conventional": "15.0.0",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"@testing-library/react-hooks": "7.0.2",
"@types/fontfaceobserver": "2.1.0",
"@types/jest": "27.0.2",
"@types/react": "17.0.36",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"env-cmd": "10.1.0",
"eslint": "7.32.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-airbnb-typescript": "15.0.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.27.1",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "7.0.4",
"jest": "27.3.1",
"lint-staged": "11.2.6",
"microbundle": "^0.14.2",
"prettier": "2.4.1",
"react": "17.0.2",
"react-test-renderer": "17.0.2",
"semantic-release": "18.0.0",
"ts-jest": "27.0.4",
"typescript": "4.4.3"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"keywords": [
"react",
"hooks",
"fontfaceobserver",
"fontloader",
"fonts",
"font",
"font-face",
"web font",
"font load",
"font events"
]
}