react-resize-reporter
Version:
Lightweight React Component that reports width and height changes when its parent resizes.
73 lines (72 loc) • 2.32 kB
JSON
{
"name": "react-resize-reporter",
"version": "1.0.2",
"description": "Lightweight React Component that reports width and height changes when its parent resizes.",
"main": "index.js",
"module": "esm/index.js",
"typings": "index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git@github.com:crimx/react-resize-reporter.git"
},
"keywords": [
"react",
"resize",
"detector",
"onresize",
"height",
"width"
],
"author": "CRIMX<straybugs@gmail.com>",
"license": "MIT",
"scripts": {
"commit": "git-cz",
"start": "webpack-dev-server --open",
"build": "shx rm -rf dist && yarn lint && yarn build:cjs && yarn build:esm && shx cp package.json README.md LICENSE dist",
"build:esm": "shx rm -rf dist/esm && cross-env NODE_ENV=production tsc -p tsconfig.json --module es2015 --outDir dist/esm",
"build:cjs": "shx rm -rf dist/cjs && cross-env NODE_ENV=production tsc -p tsconfig.json --module commonjs --outDir dist",
"lint": "eslint src/**",
"doc": "shx rm -rf typedoc && typedoc src",
"release": "standard-version"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"commitizen": "^4.0.3",
"coveralls": "^3.0.5",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^22.12.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-standard": "^4.0.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.1",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"shx": "^0.3.2",
"standard-version": "^6.0.1",
"ts-loader": "^6.0.4",
"typescript": "^3.5.3",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.7",
"webpack-dev-server": "^3.8.0"
}
}