UNPKG

react-accessible-accordion

Version:
152 lines (151 loc) 5.31 kB
{ "name": "react-accessible-accordion", "version": "5.0.1", "description": "Accessible Accordion component for React", "main": "dist/umd/index.js", "module": "dist/es/index.js", "jsnext:main": "dist/es/index.js", "types": "dist/types/index.d.ts", "scripts": { "test": "jest", "test:integration": "yarn build:integration && yarn jest --config=integration/jest.config.js integration", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:coverage:watch": "jest --coverage --watch", "coveralls": "cat ./coverage/lcov.info | coveralls", "lint": "eslint src", "typecheck": "tsc --project .", "build": "rimraf \"dist/**/*\" && yarn build:rollup && yarn build:types && yarn build:css", "build:css": "cp src/css/*.css dist", "build:rollup": "rollup -c", "build:types": "yarn tsc --project tsconfig.declaration.json", "build:demo": "rimraf \"demo/dist/**/*\" && yarn webpack --context=demo --mode=production --progress --output-path=demo/dist && cp demo/src/CNAME demo/dist/CNAME", "build:integration": "rimraf \"integration/dist/**/*\" && yarn webpack --context=integration --mode=production --progress --output-path=integration/dist", "start-demo": "webpack-dev-server --context=demo --mode=development --hot", "pages": "yarn build:demo && yarn gh-pages -d demo/dist", "deploy": "yarn pages && ./bin/deploy.sh", "format": "prettier \"**/*\" --write", "prepublishOnly": "yarn typecheck && yarn lint && yarn test && yarn build" }, "repository": { "type": "git", "url": "git+https://github.com/springload/react-accessible-accordion.git" }, "files": [ "dist" ], "keywords": [ "react", "component", "accordion", "collapse", "accessible", "accessibility", "wai-aria", "aria", "a11y" ], "contributors": [ { "name": "Vincent Audebert", "url": "https://github.com/vincentaudebert" }, { "name": "Mitch Ryan", "url": "https://github.com/ryami333" }, { "name": "Samantha Sanders", "url": "https://github.com/samanthaksanders" }, { "name": "Thibaud Colas", "url": "https://github.com/thibaudcolas" }, { "name": "Cate Palmer", "url": "https://github.com/catepalmer" }, { "name": "Janzen Zarzoso", "url": "https://github.com/janzenz" }, { "name": "Emilia Zapata", "url": "https://github.com/synecdokey" } ], "license": "MIT", "bugs": { "url": "https://github.com/springload/react-accessible-accordion/issues" }, "homepage": "https://github.com/springload/react-accessible-accordion#readme", "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.4.5", "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1", "@babel/polyfill": "^7.4.4", "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.1.0", "@testing-library/react": "12", "@types/jest": "^24.0.15", "@types/react": "^18.0.5", "@types/react-dom": "^18.0.1", "@types/react-syntax-highlighter": "^11.0.4", "@types/react-test-renderer": "^18.0.0", "@types/uuid": "^3.4.4", "@typescript-eslint/eslint-plugin": "^3.6.0", "@typescript-eslint/parser": "^3.6.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.8.0", "babel-loader": "^8.0.6", "coveralls": "^3.0.3", "css-loader": "^3.0.0", "eslint": "^7.4.0", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-react": "^7.20.3", "file-loader": "^4.0.0", "gh-pages": "^2.0.1", "html-webpack-plugin": "^3.2.0", "husky": "^2.4.1", "jest": "^24.5.0", "lint-staged": "^8.1.5", "mini-css-extract-plugin": "^0.7.0", "prettier": "^2.0.5", "puppeteer": "2.0.0", "react": "17", "react-dom": "17", "react-syntax-highlighter": "^12.2.1", "react-test-renderer": "^16.8.6", "rimraf": "^2.6.3", "rollup": "^1.7.4", "rollup-plugin-babel": "^4.2.0", "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-node-resolve": "^5.1.0", "rollup-plugin-replace": "^2.1.1", "style-loader": "^0.23.1", "typescript": "^3.9.5", "uuid": "^3.3.2", "webpack": "^4.29.6", "webpack-cli": "^3.3.0", "webpack-dev-server": "^3.2.1" }, "peerDependencies": { "react": "^16.3.2 || ^17.0.0 || ^18.0.0", "react-dom": "^16.3.3 || ^17.0.0 || ^18.0.0" }, "husky": { "hooks": { "pre-commit": "lint-staged && yarn typecheck" } }, "lint-staged": { "linters": { "*.{ts,tsx}": [ "yarn lint" ] } } }