-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
87 lines (87 loc) · 1.93 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
{
"name": "use-scramble",
"author": "Tolis Christodoulou <[email protected]>",
"homepage": "https://use-scramble.dev",
"repository": "https://github.com/tol-is/use-scramble",
"description": "React hook for random text animations",
"keywords": [
"typescript",
"react",
"hook",
"animation",
"scramble",
"typewriter",
"random text",
"text animation",
"randomizer",
"yugop"
],
"version": "2.2.15",
"license": "MIT",
"module": "dist/use-scramble.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=10"
},
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn playground\"",
"playground": "parcel playground/index.html",
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "./dist/use-scramble.cjs.production.min.js",
"import": "{ useScramble }",
"limit": "1KB"
},
{
"path": "./dist/use-scramble.esm.js",
"import": "{ useScramble }",
"limit": "1KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.8.0",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"concurrently": "^7.6.0",
"husky": "^8.0.2",
"iphigenia-in-aulis": "^1.0.0",
"leva": "^0.9.34",
"parcel": "^2.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^4.8.0",
"tsdx": "^0.14.1",
"tslib": "^2.4.1",
"typescript": "^4.9.3"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
}
}