@motionbox/react-gifs
Version:
Set of react tools for GIFs renering
125 lines (124 loc) • 3.1 kB
JSON
{
"name": "@motionbox/react-gifs",
"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 <jeetiss@ya.ru>",
"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"
}
}