forked from jeetiss/react-gifs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.03 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@react-gifs/tools",
"version": "0.1.2",
"description": "Set of react tools for GIFs renering",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "index.d.ts",
"files": [
"dist/*",
"index.d.ts"
],
"repository": "jeetiss/react-gifs",
"keywords": [
"react",
"gifs",
"react-gif",
"gif player",
"gif parser"
],
"author": "Dmitry Ivakhnenko <[email protected]>",
"dependencies": {
"gifuct-js": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/jeetiss/react-gifs/issues"
},
"scripts": {
"size": "npm run build && size-limit",
"build": "rollup -c",
"prepare": "npm run build",
"publish": "clean-publish",
"test": "tsd && jest",
"start-demo": "parcel demo/index.html --out-dir demo/dist --open",
"build-demo": "rm -rf 'demo/dist/' && parcel build demo/index.html --out-dir demo/dist --public-url https://jeetiss.github.io/react-gifs/",
"deploy-demo": "npm run build-demo && gh-pages -d demo/dist"
},
"size-limit": [
{
"path": "dist/index.js",
"name": "all",
"limit": "6 KB"
},
{
"path": "dist/index.esm.js",
"name": "useParser",
"import": "{ useParser }",
"limit": "5 KB"
},
{
"path": "dist/index.esm.js",
"name": "useWorkerParser",
"import": "{ useWorkerParser }",
"limit": "5 KB"
},
{
"path": "dist/index.esm.js",
"name": "usePlayerState",
"import": "{ usePlayerState }",
"limit": "5 KB"
},
{
"path": "dist/index.esm.js",
"name": "usePlayback",
"import": "{ usePlayback }",
"limit": "5 KB"
},
{
"path": "dist/index.esm.js",
"name": "Canvas",
"import": "{ Canvas }",
"limit": "5 KB"
}
],
"sideEffects": false,
"jest": {
"verbose": true,
"transform": {
"\\.js$": "jest-esm-jsx-transform"
}
},
"tsd": {
"compilerOptions": {
"lib": [
"es2017",
"dom"
]
}
},
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/preset-env": "^7.13.8",
"@babel/preset-react": "^7.12.13",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@size-limit/preset-small-lib": "^4.9.2",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.1.0",
"@types/react": "^17.0.3",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"clean-publish": "^2.1.1",
"gh-pages": "^3.1.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.1",
"jest-esm-jsx-transform": "^1.0.0",
"leva": "^0.7.2",
"msw": "^0.28.0",
"parcel-bundler": "^1.12.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hot-toast": "^1.0.2",
"rollup": "^2.40.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^4.9.2",
"tsd": "^0.14.0",
"whatwg-fetch": "^3.6.2"
}
}