UNPKG

react-beautiful-dnd

Version:

Beautiful, accessible drag and drop for lists with React.js

130 lines (129 loc) 4.72 kB
{ "name": "react-beautiful-dnd", "version": "9.0.0", "description": "Beautiful, accessible drag and drop for lists with React.js", "author": "Alex Reardon <areardon@atlassian.com>", "keywords": [ "drag and drop", "dnd", "sortable", "reorder", "reorderable", "react", "react.js", "natural", "beautiful" ], "bugs": { "url": "https://github.com/atlassian/react-beautiful-dnd/issues" }, "main": "dist/react-beautiful-dnd.cjs.js", "module": "dist/react-beautiful-dnd.esm.js", "sideEffects": false, "files": [ "/dist", "/src" ], "config": { "prettier_target": "*.{js,jsx,md,json} src/**/*.{js,jsx,md,json} test/**/*.{js,jsx,md,json} docs/**/*.{js,jsx,md,json} stories/**/*.{js,jsx,md,json} website/src/**/*.{js,jsx,md,json}" }, "scripts": { "test": "jest --config ./jest.config.js", "test:browser": "testcafe 'chrome:headless,chrome:headless:emulation:device=iphone 6;touch=true,firefox:headless' ./test/browser/* -r spec,xunit:./test-reports/browser/test-results.xml", "validate": "yarn prettier:check && yarn lint:eslint && yarn lint:css && yarn typecheck", "prettier:check": "yarn prettier --debug-check $npm_package_config_prettier_target", "prettier:write": "yarn prettier --write $npm_package_config_prettier_target", "lint:eslint": "yarn eslint .", "lint:css": "stylelint \"stories/**/*.{js,jsx}\"", "typecheck": "flow check", "bundle-size:check": "cross-env SNAPSHOT=match yarn build:dist && yarn build:clean", "bundle-size:update": "yarn build:dist && yarn build:clean", "build": "yarn build:clean && yarn build:dist && yarn build:flow", "build:clean": "rimraf dist", "build:dist": "rollup -c", "build:flow": "echo \"// @flow\n\nexport * from '../src';\" > dist/react-beautiful-dnd.cjs.js.flow", "storybook": "start-storybook -p 9002", "build-storybook": "build-storybook -c .storybook -o site", "website:start": "cd website && yarn develop", "website:build": "cd website && yarn build", "prepare": "cd website && yarn", "prepublishOnly": "yarn build" }, "dependencies": { "@babel/runtime-corejs2": "7.0.0-beta.56", "css-box-model": "^1.0.0", "memoize-one": "^4.0.0", "prop-types": "^15.6.1", "raf-schd": "^4.0.0", "react-motion": "^0.5.2", "react-redux": "^5.0.7", "redux": "^4.0.0", "tiny-invariant": "^0.0.3" }, "devDependencies": { "@atlaskit/css-reset": "^3.0.1", "@babel/core": "^7.0.0-beta.56", "@babel/plugin-proposal-class-properties": "^7.0.0-beta.56", "@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.56", "@babel/plugin-transform-runtime": "^7.0.0-beta.56", "@babel/preset-env": "^7.0.0-beta.56", "@babel/preset-flow": "^7.0.0-beta.56", "@babel/preset-react": "^7.0.0-beta.56", "@storybook/react": "^3.4.8", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^9.0.0-beta.3", "babel-jest": "^23.4.2", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-styled-components": "^1.5.1", "cross-env": "^5.2.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "eslint": "^5.2.0", "eslint-config-airbnb": "^17.0.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-flowtype": "^2.50.0", "eslint-plugin-import": "^2.13.0", "eslint-plugin-jest": "^21.18.0", "eslint-plugin-jsx-a11y": "^6.1.1", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-react": "^7.10.0", "flow-bin": "0.78.0", "jest": "^23.4.2", "jest-junit": "^5.1.0", "jest-watch-typeahead": "^0.2.0", "prettier": "^1.14.0", "raf-stub": "^2.0.2", "react": "^16.4.2", "react-dom": "^16.4.2", "react-test-renderer": "^16.4.2", "rimraf": "^2.6.2", "rollup": "^0.62.0", "rollup-plugin-babel": "^4.0.0-beta.8", "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-size-snapshot": "^0.6.0", "rollup-plugin-strip": "^1.1.1", "rollup-plugin-uglify": "^4.0.0", "styled-components": "^3.3.3", "stylelint": "9.4.0", "stylelint-config-prettier": "^3.3.0", "stylelint-config-standard": "^18.2.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-processor-styled-components": "^1.3.2", "testcafe": "^0.21.1", "testcafe-reporter-xunit": "^2.1.0", "wait-port": "^0.2.2" }, "peerDependencies": { "react": "^16.3.1" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/atlassian/react-beautiful-dnd.git" }, "jest-junit": { "output": "test-reports/junit/js-test-results.xml" } }