UNPKG

react-free-dropdown

Version:
110 lines (109 loc) 3.76 kB
{ "name": "react-free-dropdown", "version": "1.1.1", "description": "Easy custom dropdown list with React", "main": "dist/react-free-dropdown.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { "build": "npm run build:clean && npm run build:dist", "build:clean": "rm -rf ./dist", "build:dist": "rollup -c", "build:min": "rollup -c rollup.min.config.js", "test": "jest --config ./jest.config.js", "test:watch": "npm run test --coverage --coveragePathIgnorePatterns=/debug", "test:browser": "cypress open", "test:browser:run": "cypress run", "test:browser:ci": "start-server-and-test storybook http://localhost:3003 test:browser:run", "validate": "npm run prettier:check && npm run lint:fix && npm run lint:eslint", "lint:eslint": "eslint 'src/**/*.{ts,tsx,js,jsx}'", "lint:fix": "eslint --fix 'src/**/*.{ts,tsx,js,jsx}'", "lint:style": "stylelint 'src/**/*.{ts,tsx}'", "prettier:check": "prettier --write --config ./.prettierrc 'src/**/*.{ts,tsx}'", "storybook": "start-storybook -p 3003", "build-storybook": "build-storybook" }, "repository": { "type": "git", "url": "git+https://github.com/flamingotiger/react-free-dropdown.git" }, "keywords": [ "free", "dropdown", "custom", "react.js", "react" ], "author": "flamingotiger <hhbhong@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/flamingotiger/react-free-dropdown/issues" }, "peerDependencies": { "react": "^16.12.0", "react-dom": "^16.12.0", "styled-components": "^5.0.1" }, "homepage": "https://github.com/flamingotiger/react-free-dropdown#readme", "dependencies": { "@testing-library/jest-dom": "^5.1.1", "@testing-library/react": "^9.4.0", "@testing-library/react-hooks": "^3.2.1", "react": "^16.12.0", "styled-components": "^5.0.1" }, "devDependencies": { "@babel/core": "^7.7.7", "@babel/preset-env": "^7.7.7", "@babel/preset-react": "^7.7.4", "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-image": "^2.0.4", "@rollup/plugin-node-resolve": "^7.1.1", "@rollup/plugin-url": "^4.0.2", "@storybook/addons": "^5.3.12", "@storybook/react": "^5.3.12", "@storybook/theming": "^5.3.12", "@svgr/rollup": "^5.1.0", "@types/jest": "^25.1.1", "@types/react": "^16.9.19", "@types/react-dom": "^16.9.5", "@types/styled-components": "^4.4.2", "@typescript-eslint/eslint-plugin": "^2.18.0", "@typescript-eslint/parser": "^2.18.0", "babel-loader": "^8.0.6", "babel-plugin-styled-components": "^1.10.7", "cypress": "^3.8.3", "eslint": "^6.1.0", "eslint-config-airbnb": "^18.0.1", "eslint-config-prettier": "^6.10.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.18.3", "eslint-plugin-react-hooks": "^1.7.0", "jest": "^25.1.0", "prettier": "^1.19.1", "react-docgen-typescript-loader": "^3.6.0", "react-dom": "^16.12.0", "react-test-renderer": "^16.12.0", "rollup": "^1.31.0", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-sourcemaps": "^0.5.0", "rollup-plugin-terser": "^5.2.0", "rollup-plugin-typescript2": "^0.26.0", "start-server-and-test": "^1.10.8", "stylelint": "^12.0.1", "stylelint-config-recommended": "^3.0.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-custom-processor-loader": "^0.6.0", "stylelint-processor-styled-components": "^1.9.0", "ts-jest": "^25.2.0", "ts-loader": "^6.2.1", "typescript": "^3.7.5" }, "files": [ "src", "dist" ] }