UNPKG

react-dual-listbox

Version:
93 lines (92 loc) 3.4 kB
{ "name": "react-dual-listbox", "version": "6.0.3", "description": "A feature-rich dual listbox for React.", "author": "Jake Zatecky", "license": "MIT", "keywords": [ "react", "dual-listbox", "duallistbox", "listbox", "list box", "list builder", "listswap" ], "repository": { "type": "git", "url": "https://github.com/jakezatecky/react-dual-listbox" }, "bugs": "https://github.com/jakezatecky/react-dual-listbox/issues", "main": "lib/index.js", "browser": "lib/index.browser.js", "scripts": { "build:script": "npm run build:script-node && npm run build:script-web", "build:script-node": "webpack --env=target=node", "build:script-web": "webpack --env=target=web", "build:scss": "sass src/scss/react-dual-listbox.scss lib/react-dual-listbox.css", "build:style": "npm run build:scss && npm run build:style-autoprefix", "build:style-autoprefix": "postcss lib/react-dual-listbox.css --use autoprefixer --output lib/react-dual-listbox.css", "build": "npm run build:script && npm run build:style", "examples": "webpack serve --config=webpack.config.test.js", "format:style": "prettier --write src/scss/**/*.scss examples/src/scss/**/*.scss", "lint": "npm run lint:script && npm run lint:style", "lint:script": "eslint src/**/*.{js,jsx} examples/src/**/*.{js,jsx} test/**/*.{js,jsx} *.{js,jsx}", "lint:style": "stylelint src/scss/**/*.scss examples/src/scss/**/*.scss", "gh-build": "webpack --config=webpack.config.test.js --mode=production", "gh-deploy": "npm run gh-build && bash ./gh-deploy.sh", "prepublishOnly": "npm run release", "release": "npm run test && npm run build", "test": "npm run lint && npm run test:script && npm run test:style-format", "test:script": "cross-env NODE_PATH=./src mocha test/**/*.{js,jsx} --exit", "test:style-format": "prettier --check src/scss/**/*.scss examples/src/scss/**/*.scss" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/eslint-parser": "^7.13.10", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "@testing-library/dom": "^9.0.0", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "autoprefixer": "^10.4.13", "babel-loader": "^9.0.0", "chai": "^4.0.1", "cross-env": "^7.0.3", "css-loader": "^6.7.3", "cssnano": "^6.0.0", "eslint": "^8.23.0", "eslint-config-takiyon-react": "^4.0.0", "eslint-import-resolver-webpack": "^0.13.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.11.1", "eslint-plugin-react-hooks": "^4.2.0", "global-jsdom": "^24.0.0", "html-bundler-webpack-plugin": "^3.4.0", "jsdom": "^24.0.0", "less": "^4.1.3", "mocha": "^10.0.0", "postcss": "^8.4.21", "postcss-cli": "^11.0.0", "prettier": "^3.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "sass": "^1.58.0", "sass-loader": "^14.1.0", "stylelint": "^16.0.2", "stylelint-config-takiyon": "^4.0.0", "webpack": "^5.3.2", "webpack-cli": "^5.0.1", "webpack-dev-server": "^5.0.0" }, "dependencies": { "classnames": "^2.2.5", "lodash": "^4.17.21", "prop-types": "^15.5.8" } }