-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.17 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
89
90
91
{
"name": "@flyyer/use-googlefonts",
"version": "0.4.2",
"description": "React hook to dynamically load Google Fonts v2 during execution.",
"keywords": [
"flyyer",
"react",
"react-hook",
"fonts",
"googlefonts",
"typescript"
],
"main": "dist/use-googlefonts.es5.js",
"module": "dist/use-googlefonts.esm.js",
"typings": "dist/use-googlefonts.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"author": "Patricio López Juri <patricio@flyyer.io>",
"repository": {
"type": "git",
"url": "https://github.com/useflyyer/use-googlefonts.git"
},
"license": "MIT",
"private": false,
"scripts": {
"prebuild": "rimraf dist",
"build": "rollup -c rollup.config.ts",
"prepublishOnly": "yarn run build",
"start": "rollup -c rollup.config.ts -w",
"lint": "eslint '*/**/*.{js,ts,tsx}'",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"dependencies": {
"fontfaceobserver": "^2.1.0"
},
"peerDependencies": {
"react": ">=16.0.0"
},
"devDependencies": {
"@flyyer/eslint-config": "^2.1.1",
"@testing-library/react-hooks": "^7.0.2",
"@types/fontfaceobserver": "^2.1.0",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.21",
"eslint": "^7.32.0",
"google-fonts-css2": "^1.0.3",
"husky": "^4.3",
"jest": "^27.2.0",
"lint-staged": "^11.1.2",
"prettier": "^2.4.0",
"react": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup": "^2.56.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "jsdom",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/"
]
}
}