{ "name": "react-input-switch", "version": "2.2.2", "description": "React toggle switch component", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "sideEffects": false, "files": [ "dist" ], "scripts": { "build": "rm -rf dist && NODE_ENV=production rollup -c", "test": "jest --coverage", "prepublishOnly": "npm test && npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/swiftcarrot/react-input-switch.git" }, "author": "Wang Zuo (https://swiftcarrot.com)", "license": "MIT", "keywords": [ "react-component", "switch", "input", "checkbox" ], "bugs": { "url": "https://github.com/swiftcarrot/react-input-switch/issues" }, "homepage": "https://swiftcarrot.dev/react-input-switch", "dependencies": { "@babel/runtime": "^7.5.5", "@emotion/core": "^10.0.14" }, "peerDependencies": { "react": "^16.6.3", "react-dom": "^16.6.3" }, "devDependencies": { "@rollup/plugin-babel": "^5.0.0", "@rollup/plugin-commonjs": "^11.1.0", "@rollup/plugin-node-resolve": "^7.1.3", "babel-jest": "^24.8.0", "babel-preset-swiftcarrot": "^1.0.0", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.14.0", "jest": "^24.8.0", "react": "^16.8.6", "react-dom": "^16.8.6", "rollup": "^1.17.0" }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.js" ], "setupFiles": [ "/jest.setup.js" ] } }