UNPKG

react-toggled

Version:

Component to build simple, flexible, and accessible toggle components.

76 lines (75 loc) 2.31 kB
{ "name": "react-toggled", "version": "1.2.7", "description": "Component to build simple, flexible, and accessible toggle components.", "main": "dist/react-toggled.cjs.js", "jsnext:main": "dist/react-toggled.esm.js", "module": "dist/react-toggled.esm.js", "typings": "typings/index.d.ts", "scripts": { "add-contributor": "kcd-scripts contributors add", "build": "kcd-scripts build --bundle --p-react --no-clean", "lint": "kcd-scripts lint", "test": "kcd-scripts test", "test:cover": "kcd-scripts test --coverage", "test:ts": "tsc --noEmit -p ./tsconfig.json", "test:update": "npm run test:cover -s -- --updateSnapshot", "test:build": "kcd-scripts test --config other/misc-tests/jest.config.js --no-watch", "build-and-test": "npm run build -s && npm run test:build -s", "storybook": "start-storybook -p 6006 -c stories", "storybook:build": "cd stories && npm install && cd .. && build-storybook -c stories", "validate": "kcd-scripts validate lint,build-and-test,test:cover,test:ts", "precommit": "kcd-scripts precommit" }, "files": [ "dist", "typings", "preact" ], "keywords": [ "toggle", "react", "accessibility", "WAI-ARIA" ], "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)", "license": "MIT", "peerDependencies": { "react": ">=15", "prop-types": ">=15" }, "devDependencies": { "@storybook/react": "^3.2.3", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.1", "enzyme-to-json": "^3.1.2", "jest-serializer-html": "^4.0.0", "kcd-scripts": "^0.39.0", "preact": "^8.2.1", "preact-render-to-string": "^3.6.3", "prop-types": "^15.5.10", "react": "^16.0.0", "react-dom": "^16.0.0", "react-test-renderer": "^16.0.0", "typescript": "^2.6.2" }, "eslintConfig": { "extends": "./node_modules/kcd-scripts/eslint.js" }, "eslintIgnore": [ "node_modules", "coverage", "dist", "storybook-static", "typings" ], "repository": { "type": "git", "url": "https://github.com/kentcdodds/react-toggled.git" }, "bugs": { "url": "https://github.com/kentcdodds/react-toggled/issues" }, "homepage": "https://github.com/kentcdodds/react-toggled#readme", "dependencies": {} }