@hello-pangea/dnd
Version:
Beautiful and accessible drag and drop for lists with React
208 lines (207 loc) • 7.63 kB
JSON
{
"name": "@hello-pangea/dnd",
"version": "17.0.0",
"private": false,
"description": "Beautiful and accessible drag and drop for lists with React",
"author": "Alex Reardon <areardon@atlassian.com>",
"maintainers": [
"Gabriel Santerre <gab@100terres.com>",
"Reece Carolan <reece@hellopangea.com>"
],
"keywords": [
"drag and drop",
"dnd",
"sortable",
"reorder",
"reorderable",
"react",
"react.js",
"natural",
"beautiful",
"accessible"
],
"repository": {
"type": "git",
"url": "https://github.com/hello-pangea/dnd.git"
},
"bugs": {
"url": "https://github.com/hello-pangea/dnd/issues"
},
"main": "dist/dnd.cjs.js",
"module": "dist/dnd.esm.js",
"types": "dist/dnd.d.ts",
"sideEffects": false,
"files": [
"/dist",
"/src"
],
"publishConfig": {
"access": "public"
},
"config": {
"prettier_target": "*.{js,jsx,ts,tsx,md,json} src/**/*.{js,jsx,ts,tsx,md,json} test/**/*.{js,jsx,ts,tsx,md,json} docs/**/*.{js,jsx,ts,tsx,md,json} stories/**/*.{js,jsx,ts,tsx,md,json} cypress/**/*.{js,jsx,ts,tsx,md,json} csp-server/**/*.{js,jsx,ts,tsx,md,json}"
},
"scripts": {
"commit": "cz",
"chromatic": "chromatic --project-token=f92123f238de",
"prepare": "husky",
"release": "release-it",
"release:test": "release-it --dry-run",
"test:accessibility": "lighthouse http://localhost:9002/iframe.html?id=examples-single-vertical-list--basic --no-enable-error-reporting --config-path=lighthouse.config.js --chrome-flags='--headless' --output=json --output=html --output-path=./test-reports/lighthouse/a11y.json && node a11y-audit-parse.js",
"test": "jest --config ./jest.config.ts",
"test:browser": "cypress open",
"test:browser:ci": "cypress run",
"test:coverage": "pnpm test --coverage --coveragePathIgnorePatterns=/debug",
"validate": "pnpm prettier:check && pnpm lint:eslint && pnpm lint:css && pnpm typecheck",
"prettier:check": "pnpm prettier --debug-check $npm_package_config_prettier_target",
"prettier:write": "pnpm prettier --write $npm_package_config_prettier_target",
"lint:eslint": "pnpm eslint \"./**/*.{js,jsx,ts,tsx}\"",
"lint:css": "stylelint \"stories/**/*.{js,jsx,ts,tsx}\"",
"typecheck": "pnpm typecheck:lib && pnpm typecheck:test && pnpm typecheck:storybook",
"typecheck:lib": "pnpm tsc --project tsconfig.json",
"typecheck:storybook": "pnpm tsc --project stories/tsconfig.json && pnpm tsc --project .storybook/tsconfig.json",
"typecheck:test": "pnpm tsc --project test/tsconfig.json && pnpm tsc --project csp-server/tsconfig.json && pnpm tsc --project cypress/tsconfig.json",
"bundle-size:check": "cross-env SNAPSHOT=match pnpm bundle-size:update",
"bundle-size:update": "pnpm build:clean && pnpm build:dist && pnpm build:clean",
"build": "pnpm build:clean && pnpm build:dist",
"build:clean": "rimraf dist",
"build:dist": "cross-env NODE_ENV=production rollup -c",
"storybook": "storybook dev -p 9002",
"build-storybook": "storybook build -c .storybook -o site",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@babel/runtime": "^7.25.6",
"css-box-model": "^1.2.1",
"memoize-one": "^6.0.0",
"raf-schd": "^4.0.3",
"react-redux": "^9.1.2",
"redux": "^5.0.1",
"use-memo-one": "^1.1.3"
},
"devDependencies": {
"@atlaskit/css-reset": "6.10.1",
"@atlaskit/theme": "13.0.0",
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-transform-class-properties": "7.25.4",
"@babel/plugin-transform-modules-commonjs": "7.24.8",
"@babel/plugin-transform-object-assign": "7.24.7",
"@babel/plugin-transform-private-methods": "7.25.4",
"@babel/plugin-transform-private-property-in-object": "7.24.7",
"@babel/plugin-transform-runtime": "7.25.4",
"@babel/preset-env": "7.25.4",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@commitlint/cz-commitlint": "19.5.0",
"@emotion/eslint-plugin": "11.12.0",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@jest/environment": "29.7.0",
"@release-it/conventional-changelog": "8.0.2",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.8",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.7",
"@rollup/plugin-strip": "3.0.4",
"@rollup/plugin-terser": "0.4.4",
"@storybook/addon-docs": "8.3.0",
"@storybook/addon-essentials": "8.3.0",
"@storybook/addon-storysource": "8.3.0",
"@storybook/addon-webpack5-compiler-swc": "1.0.5",
"@storybook/manager-api": "8.3.0",
"@storybook/react": "8.3.0",
"@storybook/react-webpack5": "8.3.0",
"@storybook/theming": "8.3.0",
"@swc/core": "1.7.26",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "14.3.1",
"@types/express": "4.17.21",
"@types/fs-extra": "11.0.4",
"@types/jest": "29.5.13",
"@types/jest-axe": "3.5.9",
"@types/jsdom": "21.1.7",
"@types/markdown-it": "13.0.9",
"@types/node": "20.16.5",
"@types/raf-schd": "4.0.3",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@types/react-virtualized": "9.21.30",
"@types/react-window": "1.8.8",
"@types/seedrandom": "3.0.8",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"babel-plugin-dev-expression": "0.2.3",
"babel-plugin-module-resolver": "5.0.2",
"browserslist": "4.23.3",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"csstype": "3.1.3",
"cypress": "13.14.2",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-cypress": "2.15.2",
"eslint-plugin-es5": "1.5.0",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.36.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-storybook": "0.8.0",
"express": "4.20.0",
"fast-glob": "3.3.2",
"fs-extra": "11.2.0",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-axe": "9.0.0",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jest-watch-typeahead": "2.2.2",
"jsdom": "25.0.0",
"lighthouse": "11.7.1",
"markdown-it": "14.1.0",
"memory-fs": "0.5.0",
"postcss-styled-syntax": "0.6.4",
"prettier": "3.3.3",
"raf-stub": "3.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-virtualized": "9.22.5",
"react-window": "1.8.10",
"release-it": "17.6.0",
"require-from-string": "2.0.2",
"rimraf": "6.0.1",
"rollup": "4.21.3",
"rollup-plugin-dts": "6.1.1",
"seedrandom": "3.0.5",
"storybook": "8.3.0",
"styled-components": "6.1.13",
"stylelint": "16.9.0",
"stylelint-config-recommended": "14.0.1",
"stylelint-config-standard": "36.0.1",
"ts-node": "^10.9.2",
"typescript": "5.6.2",
"wait-on": "8.0.1",
"webpack": "5.94.0"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"license": "Apache-2.0",
"jest-junit": {
"output": "test-reports/junit/js-test-results.xml"
},
"packageManager": "pnpm@9.10.0"
}