-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
96 lines (96 loc) · 2.46 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
92
93
94
95
96
{
"name": "react-with-async-fonts",
"version": "4.0.3",
"description": "React HoC to handle async loaded fonts",
"repository": "https://github.com/sbekrin/react-with-async-fonts",
"main": "./lib/index.js",
"module": "./dist/index.js",
"scripts": {
"prepublishOnly": "npm run lint && npm run test && npm run e2e && npm run build",
"prebuild": "rimraf lib/ dist/",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -d -t es5 -m commonjs --outDir ./lib",
"build:esm": "tsc -d -t es6 -m es6 --outDir ./dist",
"test": "jest --config jest.unit.json --coverage --no-cache",
"pree2e": "npm run build && webpack --config test/webpack.config.js",
"e2e": "jest --config jest.e2e.json",
"coverage": "cat ./coverage/remapped/lcov.info | coveralls",
"lint": "tslint src/**/*.{ts,tsx}"
},
"files": [
"lib/",
"dist/",
"readme.md"
],
"keywords": [
"react",
"fonts",
"async",
"webfont",
"fontloader",
"react-fonts"
],
"author": "Sergey Bekrin <sergey@bekrin.me> (https://bekrin.me)",
"license": "MIT",
"dependencies": {
"fontfaceobserver": "^2.0.13",
"hoist-non-react-statics": "^3.0.1",
"invariant": "^2.2.4",
"p-cancelable": "^0.5.0"
},
"peerDependencies": {
"react": ">=15",
"react-dom": ">=15"
},
"devDependencies": {
"@types/jest": "^24.0.0",
"@types/react": "^16.4.16",
"coveralls": "^3.0.2",
"doctoc": "^1.3.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"express": "^4.16.3",
"get-port": "^4.0.0",
"husky": "^1.1.1",
"jest": "^23.6.0",
"lint-staged": "^8.0.0",
"prettier": "^1.14.3",
"prop-types": "^15.6.2",
"puppeteer": "^1.9.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-test-renderer": "^16.5.2",
"rimraf": "^2.6.2",
"ts-jest": "^24.0.0",
"ts-loader": "^5.2.1",
"tslint": "^5.11.0",
"typescript": "^3.1.1",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2"
},
"husky": {
"pre-commit": "lint-staged"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"proseWrap": "always"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint --fix",
"jest --findRelatedTests --passWithNoTests",
"git add"
],
"readme.md": [
"prettier --write",
"doctoc --maxlevel 3 --notitle",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
}
}