UNPKG

@andreisergiu98/next-optimized-images

Version:

Automatically optimize images used in next.js projects (jpeg, png, gif, svg).

61 lines (60 loc) 1.79 kB
{ "name": "@andreisergiu98/next-optimized-images", "version": "3.0.1", "description": "Automatically optimize images used in next.js projects (jpeg, png, gif, svg).", "keywords": [ "nextjs", "next", "react", "plugin", "images", "optimize", "optimized-images" ], "author": "Cyril Wanner <info@cyr.li>", "homepage": "https://github.com/andreisergiu98/next-optimized-images#readme", "license": "MIT", "scripts": { "build": "npm run build:js && npm run build:types", "build:js": "babel src --out-dir lib --delete-dir-on-start --extensions \".ts\"", "build:types": "tsc --emitDeclarationOnly", "lint": "tsc --noEmit && eslint . --ext .ts --ext .js", "lint:fix": "npm run lint -- --fix", "test": "jest", "test:watch": "npm test -- --watch" }, "dependencies": { "@svgr/core": "^5.4.0", "file-loader": "^6.0.0", "optimized-images-loader": "^0.4.0", "react-optimized-image": "^0.4.1" }, "devDependencies": { "@babel/cli": "^7.10.1", "@babel/core": "^7.10.2", "@babel/preset-env": "^7.10.2", "@babel/preset-typescript": "^7.10.1", "@types/jest": "^26.0.0", "@typescript-eslint/eslint-plugin": "^3.2.0", "@typescript-eslint/parser": "^3.2.0", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.21.2", "eslint-plugin-prettier": "^3.1.3", "jest": "^26.0.1", "prettier": "^2.0.5", "typescript": "^3.9.5" }, "main": "lib/index.js", "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/andreisergiu98/next-optimized-images.git" }, "bugs": { "url": "https://github.com/andreisergiu98/next-optimized-images/issues" } }