react-img-webp
Version:
React rendering WebP on supported platforms
79 lines (78 loc) • 2.1 kB
JSON
{
"name": "react-img-webp",
"version": "2.0.2",
"description": "React rendering WebP on supported platforms",
"main": "dist/react-img-webp.cjs.js",
"module": "dist/react-img-webp.esm.js",
"types": "dist/types/index.d.ts",
"scripts": {
"test": "jest",
"build:types": "tsc --project tsconfig.types.json",
"build:compile": "rollup -c",
"build:rm": "rm -rf ./dist",
"build": "npm run build:rm && npm run build:types && npm run build:compile",
"lint": "./node_modules/.bin/tslint --project .",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Horat1us/react-img-webp.git"
},
"keywords": [
"react-component",
"react",
"webp",
"image",
"context"
],
"author": "Alexander <horat1us>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Horat1us/react-img-webp/issues"
},
"homepage": "https://github.com/Horat1us/react-img-webp#readme",
"peerDependencies": {
"react": "^16.8"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^23.3.13",
"@types/react": "^16.8.20",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"jest": "^24.5.0",
"raf": "^3.4.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rollup": "^1.15.4",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^5.0.2",
"ts-jest": "^24.0.0",
"tslint": "^5.12.1",
"tslint-react": "^3.6.0",
"typescript": "^3.5.2"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"setupFiles": [
"raf/polyfill"
],
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
"setupFilesAfterEnv": [
"<rootDir>src/setupTests.ts"
],
"testURL": "http://localhost/"
}
}