UNPKG

react-beautiful-dnd-next

Version:

Beautiful and accessible drag and drop for lists with React

143 lines (142 loc) 4.99 kB
{ "name": "react-beautiful-dnd-next", "version": "11.0.5", "description": "Beautiful and accessible drag and drop for lists with React", "author": "Alex Reardon <areardon@atlassian.com>", "keywords": [ "drag and drop", "dnd", "sortable", "reorder", "reorderable", "react", "react.js", "natural", "beautiful" ], "repository": { "type": "git", "url": "https://github.com/atlassian/react-beautiful-dnd.git" }, "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} cypress/**/*.{js,jsx,md,json}" }, "scripts": { "test": "jest --config ./jest.config.js", "test:ci": "jest test --maxWorkers=2", "test:browser": "cypress open", "test:browser:ci": "cypress run", "test:coverage": "yarn test --coverage --coveragePathIgnorePatterns=/debug", "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 \"./**/*.{js,jsx}\"", "lint:css": "stylelint \"stories/**/*.{js,jsx}\"", "typecheck": "flow check --max-warnings=0", "bundle-size:check": "cross-env SNAPSHOT=match yarn bundle-size:update", "bundle-size:update": "yarn build:clean && 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", "prepublishOnly": "yarn build" }, "dependencies": { "@babel/runtime-corejs2": "^7.4.5", "css-box-model": "^1.1.2", "memoize-one": "^5.0.4", "raf-schd": "^4.0.0", "react-redux": "^7.0.3", "redux": "^4.0.1", "tiny-invariant": "^1.0.4", "use-memo-one": "^1.1.0" }, "devDependencies": { "@atlaskit/css-reset": "^4.0.0", "@atlaskit/theme": "^9.1.0", "@babel/core": "^7.4.5", "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-transform-modules-commonjs": "^7.4.4", "@babel/plugin-transform-runtime": "^7.4.4", "@babel/preset-env": "^7.4.5", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", "@emotion/core": "^10.0.10", "@emotion/styled": "^10.0.12", "@storybook/react": "^5.1.3", "@storybook/theming": "^5.1.3", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.8.0", "babel-loader": "^8.0.6", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-emotion": "^10.0.13", "cross-env": "^5.2.0", "cypress": "^3.3.1", "emotion-theming": "^10.0.10", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.14.0", "eslint": "^5.16.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^5.1.0", "eslint-plugin-cypress": "^2.2.1", "eslint-plugin-emotion": "^10.0.7", "eslint-plugin-flowtype": "^3.10.1", "eslint-plugin-import": "^2.17.3", "eslint-plugin-jest": "^22.6.4", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-react": "^7.13.0", "eslint-plugin-react-hooks": "^1.6.0", "flow-bin": "0.96.0", "fs-extra": "^8.0.1", "globby": "^9.2.0", "jest": "^24.8.0", "jest-junit": "^6.4.0", "jest-watch-typeahead": "^0.3.1", "markdown-it": "^8.4.2", "prettier": "^1.18.2", "raf-stub": "^2.0.2", "react": "^16.8.6", "react-dom": "^16.8.6", "react-test-renderer": "^16.8.6", "rimraf": "^2.6.3", "rollup": "^1.14.6", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-resolve": "^5.0.1", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-size-snapshot": "^0.9.0", "rollup-plugin-strip": "^1.2.1", "rollup-plugin-uglify": "^6.0.2", "styled-components": "3.x", "stylelint": "^10.1.0", "stylelint-config-prettier": "^5.2.0", "stylelint-config-recommended": "^2.2.0", "stylelint-config-standard": "^18.3.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-processor-styled-components": "^1.8.0", "wait-port": "^0.2.2", "webpack": "^4.33.0" }, "peerDependencies": { "react": "^16.8.5" }, "license": "Apache-2.0", "jest-junit": { "output": "test-reports/junit/js-test-results.xml" } }