UNPKG

@kindly/react-selectable-fast

Version:

Enable other React components to be selectable by drawing a box with your mouse/touch

101 lines (100 loc) 3.02 kB
{ "name": "@kindly/react-selectable-fast", "version": "3.2.0", "description": "Enable other React components to be selectable by drawing a box with your mouse/touch", "repository": { "type": "git", "url": "git://github.com/jfulse/react-selectable-fast.git" }, "main": "lib/index.js", "scripts": { "clean": "rimraf ./lib ./dist", "watch": "webpack --watch", "build": "webpack", "transpile": "tsc", "build:prod": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js", "prepublishOnly": "yarn lint && yarn clean && yarn build:prod && yarn transpile", "prettier": "prettier --write src/**/*.{js,ts,tsx} example/src/**/*.{js,ts,tsx} .js", "lint:basic": "tsc --pretty --noEmit && tslint --fix --format codeFrame", "lint": "yarn lint:basic --project ./tsconfig.json 'src/**/*.{ts,tsx} example/src/**/*.{ts,tsx}'", "format": "yarn prettier && yarn lint", "test": "yarn lint", "watch:example": "webpack-dev-server --config ./example/webpack.config.example.js --content-base website", "build:example": "webpack --config ./example/webpack.config.example.js --mode production" }, "lint-staged": { "*.{js,ts,tsx}": [ "prettier --write", "yarn lint:basic", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "bugs": { "url": "https://github.com/valerybugakov/react-selectable-fast/issues" }, "engines": { "node": ">8.0.0" }, "keywords": [ "selectable", "selection", "mouse", "fast", "scrollable", "performance", "drag", "touch", "react" ], "author": "Valery Bugakov <skymk1@gmail.com> (https://github.com/valerybugakov/)", "contributors": [ "Valery Bugakov <skymk1@gmail.com> (https://github.com/valerybugakov/)" ], "license": "MIT", "files": [ "lib", "dist" ], "homepage": "https://github.com/valerybugakov/react-selectable-fast#readme", "directories": { "example": "example" }, "peerDependencies": { "react": ">=15.0.0", "react-dom": ">=15.0.0" }, "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "^7.5.5", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/preset-env": "^7.5.5", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.3.3", "@types/react": "^16.9.1", "@types/react-dom": "^16.8.5", "babel-loader": "^8.0.6", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "cross-env": "^5.2.0", "husky": "^3.0.3", "lint-staged": "^9.2.0", "prettier": "^1.18.2", "prop-types": "^15.7.2", "react": "^16.8.6", "react-dom": "^16.8.6", "rimraf": "^2.6.3", "tslint": "^5.18.0", "tslint-config-airbnb": "^5.11.1", "tslint-config-prettier": "^1.18.0", "tslint-react": "^4.0.0", "typescript": "^3.5.3", "webpack": "^4.36.1", "webpack-bundle-analyzer": "^3.3.2", "webpack-cli": "^3.3.6", "webpack-dev-server": "^3.7.2" } }