react-dual-listbox
Version:
A feature-rich dual listbox for React.
108 lines (107 loc) • 3.77 kB
JSON
{
"name": "react-dual-listbox",
"version": "6.1.0",
"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",
"module": "lib/index.esm.js",
"browser": "lib/index.js",
"type": "module",
"imports": {
"#js/*": "./src/js/*",
"#src/*": "./src/*"
},
"exports": {
".": {
"import": "./lib/index.esm.js",
"require": "./lib/index.js"
},
"./*": "./*"
},
"scripts": {
"build:script": "npm run build:script-umd && npm run build:script-esm",
"build:script-umd": "webpack --env=target=umd",
"build:script-esm": "webpack --env=target=esm",
"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.examples.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.examples.js --mode=production",
"gh-deploy": "npm run gh-build && bash ./gh-deploy.sh",
"prepublishOnly": "npm run test-and-build",
"release": "npm run test && npm run build",
"test": "npm run lint && npm run test:script && npm run test:style-format",
"test:script": "webpack --config=webpack.config.test.js && mocha test-compiled/index.js --exit",
"test:style-format": "prettier --check src/scss/**/*.scss examples/src/scss/**/*.scss",
"test-and-build": "npm run test && npm run build"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.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": "^10.1.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.4.3",
"autoprefixer": "^10.4.13",
"babel-loader": "^10.0.0",
"chai": "^6.0.1",
"cross-env": "^10.0.0",
"css-loader": "^7.0.0",
"cssnano": "^8.0.1",
"eslint": "^9.34.0",
"eslint-config-takiyon-react": "^7.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": "^7.0.1",
"global-jsdom": "^29.0.0",
"globals": "^17.4.0",
"html-bundler-webpack-plugin": "^4.21.1",
"jsdom": "^29.1.1",
"less": "^4.1.3",
"mocha": "^11.7.2",
"postcss": "^8.4.21",
"postcss-cli": "^11.0.0",
"prettier": "^3.1.1",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"sass": "^1.58.0",
"sass-loader": "^16.0.0",
"stylelint": "^17.4.0",
"stylelint-config-takiyon": "^6.0.0",
"webpack": "^5.3.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.0.0"
},
"dependencies": {
"classnames": "^2.2.5",
"lodash": "^4.17.21",
"prop-types": "^15.5.8"
}
}