You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
215 lines
8.0 KiB
215 lines
8.0 KiB
{
|
|
"name": "@hello-pangea/dnd",
|
|
"version": "16.2.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 install",
|
|
"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:react-16": "cross-env REACT_MAJOR_VERSION=16 pnpm test",
|
|
"test:react-17": "cross-env REACT_MAJOR_VERSION=17 pnpm test",
|
|
"test:react-18": "cross-env REACT_MAJOR_VERSION=18 pnpm test",
|
|
"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": "start-storybook -p 9002",
|
|
"build-storybook": "build-storybook -c .storybook -o site",
|
|
"prepublishOnly": "pnpm build"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.19.4",
|
|
"css-box-model": "^1.2.1",
|
|
"memoize-one": "^6.0.0",
|
|
"raf-schd": "^4.0.3",
|
|
"react-redux": "^8.0.4",
|
|
"redux": "^4.2.0",
|
|
"use-memo-one": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@atlaskit/css-reset": "6.3.13",
|
|
"@atlaskit/theme": "12.1.9",
|
|
"@babel/core": "7.19.3",
|
|
"@babel/eslint-parser": "7.19.1",
|
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
"@babel/plugin-proposal-private-methods": "7.18.6",
|
|
"@babel/plugin-proposal-private-property-in-object": "7.18.6",
|
|
"@babel/plugin-transform-modules-commonjs": "7.18.6",
|
|
"@babel/plugin-transform-object-assign": "7.18.6",
|
|
"@babel/plugin-transform-runtime": "7.19.1",
|
|
"@babel/preset-env": "7.19.4",
|
|
"@babel/preset-react": "7.18.6",
|
|
"@babel/preset-typescript": "7.18.6",
|
|
"@commitlint/cli": "17.0.3",
|
|
"@commitlint/config-conventional": "17.0.3",
|
|
"@commitlint/cz-commitlint": "17.0.3",
|
|
"@emotion/babel-preset-css-prop": "11.10.0",
|
|
"@emotion/eslint-plugin": "11.10.0",
|
|
"@emotion/react": "11.10.0",
|
|
"@emotion/styled": "11.10.0",
|
|
"@jest/environment": "29.0.1",
|
|
"@release-it/conventional-changelog": "5.1.0",
|
|
"@rollup/plugin-babel": "5.3.1",
|
|
"@rollup/plugin-commonjs": "22.0.2",
|
|
"@rollup/plugin-json": "4.1.0",
|
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
"@rollup/plugin-replace": "4.0.0",
|
|
"@rollup/plugin-strip": "2.1.0",
|
|
"@storybook/addon-docs": "6.5.10",
|
|
"@storybook/addon-essentials": "6.5.10",
|
|
"@storybook/addon-storysource": "6.5.10",
|
|
"@storybook/addons": "6.5.10",
|
|
"@storybook/core": "6.5.10",
|
|
"@storybook/react": "6.5.10",
|
|
"@storybook/theming": "6.5.10",
|
|
"@testing-library/dom": "8.17.1",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "13.3.0",
|
|
"@testing-library/react-16-17": "npm:@testing-library/react@^12.1.5",
|
|
"@types/express": "4.17.13",
|
|
"@types/fs-extra": "9.0.13",
|
|
"@types/jest-axe": "3.5.4",
|
|
"@types/jsdom": "20.0.0",
|
|
"@types/markdown-it": "12.2.3",
|
|
"@types/node": "16.11.52",
|
|
"@types/raf-schd": "4.0.1",
|
|
"@types/react": "18.0.17",
|
|
"@types/react-dom": "18.0.6",
|
|
"@types/react-redux": "7.1.24",
|
|
"@types/react-virtualized": "9.21.21",
|
|
"@types/react-window": "1.8.5",
|
|
"@types/seedrandom": "3.0.2",
|
|
"@types/testing-library__jest-dom": "5.14.5",
|
|
"@typescript-eslint/eslint-plugin": "5.35.1",
|
|
"@typescript-eslint/parser": "5.35.1",
|
|
"babel-jest": "29.1.2",
|
|
"babel-loader": "8.2.5",
|
|
"babel-plugin-dev-expression": "0.2.3",
|
|
"babel-plugin-module-resolver": "4.1.0",
|
|
"commitizen": "4.2.5",
|
|
"cross-env": "7.0.3",
|
|
"csstype": "3.1.0",
|
|
"cypress": "10.6.0",
|
|
"dotenv": "16.0.1",
|
|
"eslint": "8.23.0",
|
|
"eslint-config-airbnb": "19.0.4",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-import-resolver-typescript": "3.5.0",
|
|
"eslint-plugin-cypress": "2.12.1",
|
|
"eslint-plugin-es5": "1.5.0",
|
|
"eslint-plugin-import": "2.26.0",
|
|
"eslint-plugin-jest": "26.8.7",
|
|
"eslint-plugin-jsx-a11y": "6.6.1",
|
|
"eslint-plugin-node": "11.1.0",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-react": "7.31.1",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-storybook": "0.6.4",
|
|
"express": "4.18.1",
|
|
"fast-glob": "3.2.11",
|
|
"fs-extra": "10.1.0",
|
|
"husky": "8.0.1",
|
|
"jest": "29.0.1",
|
|
"jest-axe": "6.0.0",
|
|
"jest-environment-jsdom": "29.0.1",
|
|
"jest-junit": "14.0.1",
|
|
"jest-watch-typeahead": "2.1.1",
|
|
"jsdom": "20.0.0",
|
|
"lighthouse": "9.6.6",
|
|
"markdown-it": "13.0.1",
|
|
"memory-fs": "0.5.0",
|
|
"prettier": "2.7.1",
|
|
"raf-stub": "3.0.0",
|
|
"react": "18.2.0",
|
|
"react-16": "npm:react@16.14.0",
|
|
"react-17": "npm:react@17.0.2",
|
|
"react-dom": "18.2.0",
|
|
"react-dom-16": "npm:react-dom@16.14.0",
|
|
"react-dom-17": "npm:react-dom@17.0.2",
|
|
"react-virtualized": "9.22.3",
|
|
"react-window": "1.8.7",
|
|
"release-it": "15.4.0",
|
|
"require-from-string": "2.0.2",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "2.78.1",
|
|
"rollup-plugin-dts": "4.2.2",
|
|
"rollup-plugin-size-snapshot": "0.12.0",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"seedrandom": "3.0.5",
|
|
"styled-components": "5.3.5",
|
|
"stylelint": "14.11.0",
|
|
"stylelint-config-prettier": "9.0.3",
|
|
"stylelint-config-recommended": "9.0.0",
|
|
"stylelint-config-standard": "28.0.0",
|
|
"stylelint-config-styled-components": "0.1.1",
|
|
"stylelint-processor-styled-components": "1.10.0",
|
|
"typescript": "4.8.2",
|
|
"wait-on": "6.0.1",
|
|
"webpack": "5.74.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.5 || ^17.0.0 || ^18.0.0",
|
|
"react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"jest-junit": {
|
|
"output": "test-reports/junit/js-test-results.xml"
|
|
}
|
|
}
|