{ "_from": "rc-switch@~1.9.0", "_id": "rc-switch@1.9.0", "_inBundle": false, "_integrity": "sha512-Isas+egaK6qSk64jaEw4GgPStY4umYDbT7ZY93bZF1Af+b/JEsKsJdNOU2qG3WI0Z6tXo2DDq0kJCv8Yhu0zww==", "_location": "/rc-switch", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "rc-switch@~1.9.0", "name": "rc-switch", "escapedName": "rc-switch", "rawSpec": "~1.9.0", "saveSpec": null, "fetchSpec": "~1.9.0" }, "_requiredBy": [ "/antd" ], "_resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-1.9.0.tgz", "_shasum": "ab2b878f2713c681358a453391976c9b95b290f7", "_spec": "rc-switch@~1.9.0", "_where": "/var/lib/jenkins/workspace/cawg-app-h5/node_modules/antd", "bugs": { "url": "http://github.com/react-component/switch/issues" }, "bundleDependencies": false, "config": { "port": 8001 }, "dependencies": { "classnames": "^2.2.1", "prop-types": "^15.5.6", "react-lifecycles-compat": "^3.0.4" }, "deprecated": false, "description": "switch ui component for react", "devDependencies": { "coveralls": "^2.11.15", "enzyme": "^3.0.0", "enzyme-adapter-react-16": "^1.0.1", "enzyme-to-json": "^3.0.0", "lint-staged": "^8.1.0", "pre-commit": "1.x", "rc-tools": "^9.3.4", "react": "^16.0.0", "react-dom": "^16.0.0", "react-test-renderer": "^16.0.0" }, "files": [ "assets/*.css", "es", "lib" ], "homepage": "http://github.com/react-component/switch", "keywords": [ "react", "react-component", "react-switch", "switch" ], "license": "MIT", "lint-staged": { "*.{js,jsx,ts,tsx}": [ "npm run pre-commit", "git add" ] }, "main": "lib/index", "module": "./es/index", "name": "rc-switch", "peerDependencies": { "react": "^16.0.0", "react-dom": "^16.0.0" }, "pre-commit": [ "lint-staged" ], "repository": { "type": "git", "url": "git+ssh://git@github.com/react-component/switch.git" }, "scripts": { "build": "rc-tools run build", "compile": "rc-tools run compile --babel-runtime", "coverage": "rc-tools run test --coverage", "gh-pages": "rc-tools run gh-pages", "lint": "rc-tools run lint", "lint-staged": "lint-staged", "pre-commit": "rc-tools run pre-commit", "prepublish": "rc-tools run guard", "pub": "rc-tools run pub --babel-runtime", "start": "rc-tools run server", "test": "rc-tools run test" }, "version": "1.9.0" }