UNPKG

@codinglane/dropdown

Version:
106 lines (105 loc) 3.27 kB
{ "name": "@codinglane/dropdown", "version": "1.2.2", "license": "MIT", "description": "An easy-to-use react dropdown", "author": "Coding Lane", "main": "./lib/cjs/export.js", "types": "./lib/cjs/types/export.d.ts", "files": [ "lib/**/*", "./README.md" ], "keywords": [ "dropdown", "select", "favorites", "stars", "selection", "grouping", "input select", "input dropdown", "input" ], "repository": { "type": "git", "url": "git+https://github.com/CodingLane/dropdown.git" }, "bugs": { "url": "https://github.com/CodingLane/dropdown/issues" }, "homepage": "https://github.com/CodingLane/dropdown#readme", "dependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", "@types/node": "^16.18.14", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.11", "react-feather": "^2.0.10", "react-scripts": "5.0.1", "tsc-hooks": "^1.1.2", "typescript": "^4.9.5", "web-vitals": "^2.1.4" }, "scripts": { "start": "react-scripts start ./src/index.tsx", "test": "react-scripts test", "clean": "npx rimraf lib", "copy-css": "npx copyfiles -u 1 src/**/*.css lib/esm && npx copyfiles -u 1 src/**/*.css lib/cjs", "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run copy-css", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.base.json", "prepare": "npx rimraf lib && npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "copyfiles": "^2.4.1", "prettier": "^2.8.4", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0" }, "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "exports": { ".": { "import": { "types": "./lib/esm/types/export.d.ts", "default": "./lib/esm/export.js" }, "require": { "types": "./lib/cjs/types/export.d.ts", "default": "./lib/cjs/export.js" } } } }