forked from theruther4d/react-use-text-measurer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.83 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
{
"name": "react-use-text-measurer",
"version": "1.0.3",
"description": "Synchronously measure text size in an offscreen <canvas /> via react hook.",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/index.js.map",
"dist/cjs/index.js",
"dist/cjs/index.js.map"
],
"scripts": {
"build": "del dist && npx tsc -p tsconfig.json && npx tsc -p tsconfig-cjs.json",
"test": "jest",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"keywords": [
"react",
"hook",
"useTextMeasurer",
"synchronous",
"text",
"measure",
"measurer"
],
"author": "Josh Rutherford",
"repository": {
"type": "git",
"url": "https://github.com/theruther4d/react-use-text-measurer"
},
"license": "ISC",
"peerDependencies": {
"react": ">16.8.4",
"react-dom": ">16.8.4"
},
"devDependencies": {
"@storybook/addon-actions": "^6.1.20",
"@storybook/addon-essentials": "^6.1.20",
"@storybook/addon-links": "^6.1.20",
"@storybook/react": "^6.1.20",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.0.3",
"@types/expect-puppeteer": "^4.4.5",
"@types/jest": "^26.0.20",
"@types/jest-environment-puppeteer": "^4.4.1",
"@types/puppeteer": "^5.4.3",
"@types/react": "^17.0.2",
"@types/react-window": "^1.8.2",
"canvas": "^2.6.1",
"del-cli": "^3.0.1",
"jest": "26.6.0",
"jest-puppeteer": "^4.4.0",
"puppeteer": "^8.0.0",
"react": ">16.8.4",
"react-dom": ">16.8.4",
"react-window": "^1.8.6",
"ts-jest": "^26.5.2",
"ts-node": "^9.1.1",
"tslib": "^2.1.0",
"typescript": "^4.2.2"
},
"dependencies": {}
}