react-image-autofit-frame
Version:
React component displaying image that always fits its frame, regardless of size, orientation (portrait or landscape) while keeping original ratio
74 lines (73 loc) • 2.38 kB
JSON
{
"name": "react-image-autofit-frame",
"version": "0.1.0",
"description": "React component displaying image that always fits its frame, regardless of size, orientation (portrait or landscape) while keeping original ratio",
"repository": {
"type": "git",
"url": "https://github.com/thinhvo0108/react-image-autofit-frame.git"
},
"author": "Thinh Vo <thinhvo0108@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/thinhvo0108/react-image-autofit-frame/issues"
},
"homepage": "https://github.com/thinhvo0108/react-image-autofit-frame",
"keywords": [
"react-component",
"react",
"react-image",
"image-autofit",
"image-auto-fit",
"image-fit",
"image-frame",
"image-fit-frame",
"autofit",
"auto-fit",
"fit",
"image",
"frame",
"fit-frame",
"auto-fit-frame",
"autofit-frame"
],
"options": {
"mocha": "--require scripts/mocha_runner src/**/__tests__/**/*.js"
},
"scripts": {
"prepublish": "babel --plugins 'transform-es2015-modules-umd' src --ignore __tests__ --out-dir ./dist",
"lint": "eslint ./src",
"lintfix": "eslint ./src --fix",
"testonly": "mocha $npm_package_options_mocha",
"test": "npm run lint && npm run testonly",
"test-watch": "npm run testonly -- --watch --watch-extensions js"
},
"devDependencies": {
"babel-cli": "^6.6.4",
"babel-core": "^6.7.4",
"babel-eslint": "^6.0.2",
"babel-plugin-transform-es2015-modules-umd": "^6.6.5",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.5.0",
"chai": "^3.5.0",
"enzyme": "^2.2.0",
"eslint": "^2.7.0",
"eslint-plugin-babel": "^3.1.0",
"eslint-plugin-react": "^4.2.3",
"jsdom": "^8.1.0",
"mocha": "^2.4.5",
"nodemon": "^1.9.1",
"react-addons-test-utils": "^15.0.0",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"sinon": "^1.17.3"
},
"peerDependencies": {
"react": "~0.14.8 || ^15.0.0",
"react-dom": "~0.14.8 || ^15.0.0"
},
"dependencies": {
"babel-runtime": "^6.6.1"
}
}