{
  "name": "react-aspect-ratio-img",
  "version": "2.1.1",
  "description": "Set Custom Aspect Ratio Image to the Wrap Element(fence)",
  "main": "lib/index.js",
  "module": "es/index.js",
  "types": "type/index.d.ts",
  "style": "css/style.css",
  "scripts": {
    "ci-test": "ENABLE_COVERAGE=true COVERAGE_DIRECTORY=coverage  npm run test && codecov",
    "ci-publish": "npx semantic-release",
    "ci-build": "npm run build:bundle && npm run build:type",
    "ci-build:docs": "npm run build:docs",
    "build:bundle": "rollup -c ./config/rollup.config.js",
    "build:type": "tsc --project ./config/tsconfig.type.json",
    "build:docs": "build-storybook -c .storybook -o docs",
    "storybook": "start-storybook -h localhost -p 9001 -c .storybook --ci",
    "lint": "eslint './{src,__tests__,.stories}/**/*.{ts,tsx}'",
    "test": "BABEL_ENV=test jest --no-cache --config ./config/jest.config.js --coverage=$ENABLE_COVERAGE --coverageDirectory=$COVERAGE_DIRECTORY",
    "test:update": "npm run test -- -u",
    "prettier": "prettier --check ./**/*.{ts,tsx,js,css,json}"
  },
  "husky": {
    "hooks": {
      "prepare-commit-msg": "exec < /dev/tty && git cz --hook",
      "pre-commit": "lint-staged",
      "pre-push": "npm test"
    }
  },
  "lint-staged": {
    "./**/*.{ts,tsx,js,css,json}": [
      "prettier --write",
      "git add"
    ],
    "./**/*.{ts,tsx,js}": "eslint --max-warnings 0 --no-ignore"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/danhuang1202/react-aspect-ratio-img"
  },
  "keywords": [
    "react",
    "aspect ratio image",
    "square image"
  ],
  "author": "danhuang",
  "license": "ISC",
  "dependencies": {
    "react-aspect-ratio-fence": "^1.8.5"
  },
  "peerDependencies": {
    "react": "^16.0.0 || ^17.0.0",
    "react-dom": "^16.0.0 || ^17.0.0",
    "classnames": "^2.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.4.4",
    "@babel/preset-env": "^7.4.4",
    "@babel/preset-react": "^7.0.0",
    "@babel/preset-typescript": "^7.3.3",
    "@semantic-release/changelog": "^3.0.4",
    "@semantic-release/git": "^7.0.18",
    "@storybook/addon-info": "^5.1.11",
    "@storybook/addon-knobs": "^5.1.11",
    "@storybook/addon-viewport": "^5.1.11",
    "@storybook/cli": "^5.1.11",
    "@storybook/react": "^5.1.11",
    "@types/jest": "^24.0.18",
    "@types/node": "^11.13.19",
    "@types/react": "^16.9.2",
    "@types/react-dom": "^16.9.0",
    "@types/react-test-renderer": "^16.9.0",
    "@types/storybook__react": "^3.0.7",
    "@typescript-eslint/eslint-plugin": "^2.3.3",
    "@typescript-eslint/parser": "^1.7.0",
    "babel-jest": "^24.9.0",
    "babel-loader": "^8.0.5",
    "babel-plugin-css-modules-transform": "^1.6.2",
    "codecov": "^3.5.0",
    "commitizen": "^4.0.3",
    "cz-conventional-changelog": "^3.0.2",
    "eslint": "^6.5.1",
    "eslint-config-prettier": "^4.1.0",
    "eslint-plugin-react": "^7.13.0",
    "eslint-plugin-react-hooks": "^1.7.0",
    "generic-names": "^2.0.1",
    "husky": "^3.0.4",
    "jest": "^24.9.0",
    "lint-staged": "^8.1.6",
    "lodash.get": "^4.4.2",
    "prettier": "^1.17.0",
    "react": "^16.14.0",
    "react-dom": "^16.14.0",
    "react-test-renderer": "^16.9.0",
    "rollup": "^1.19.4",
    "rollup-plugin-alias": "^1.5.1",
    "rollup-plugin-babel": "^4.3.2",
    "rollup-plugin-commonjs": "^9.3.4",
    "rollup-plugin-node-resolve": "^4.2.3",
    "rollup-plugin-peer-deps-external": "^2.2.0",
    "rollup-plugin-postcss": "^2.0.3",
    "semantic-release": "^17.3.9",
    "typescript": "^3.4.4"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}
