debounce-input-decorator
Version:
Decorator to easily create debounced React inputs
87 lines (86 loc) • 2.33 kB
JSON
{
"name": "debounce-input-decorator",
"version": "1.0.0",
"license": "ISC",
"description": "Decorator to easily create debounced React inputs",
"keywords": [
"component",
"debounce",
"input",
"onChange",
"react",
"textarea"
],
"homepage": "https://github.com/JsCommunity/debounce-input-decorator",
"bugs": "https://github.com/JsCommunity/debounce-input-decorator/issues",
"repository": {
"type": "git",
"url": "https://github.com/JsCommunity/debounce-input-decorator.git"
},
"author": {
"name": "Julien Fontanet",
"email": "julien.fontanet@isonoe.net"
},
"preferGlobal": false,
"main": "dist/",
"bin": {},
"files": [
"dist/"
],
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"engines": {
"node": ">=4"
},
"dependencies": {
"lodash": "^4.17.4"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.38",
"@babel/core": "^7.0.0-beta.38",
"@babel/preset-env": "^7.0.0-beta.38",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^23.0.1",
"cross-env": "^5.1.0",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.2",
"enzyme-to-json": "^3.1.4",
"eslint": "^4.16.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3",
"jest": "^23.1.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"rimraf": "^2.6.2"
},
"peerDependencies": {
"react": "^15 || ^16"
},
"scripts": {
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"clean": "rimraf dist/",
"commitmsg": "npm test",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "jest --bail --watch",
"prebuild": "yarn run clean",
"predev": "yarn run clean",
"prepublishOnly": "yarn run build",
"pretest": "eslint --ignore-path .gitignore --fix .",
"test": "jest"
},
"jest": {
"collectCoverage": true,
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testRegex": "\\.spec\\.js$",
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}