UNPKG

lm-switch

Version:

* 作者:winber * 邮箱:winberxie@163.com * 版本:**`0.2.0`**

92 lines (91 loc) 2.18 kB
{ "name": "lm-switch", "version": "0.2.0", "author": { "name": "winber", "email": "winberxie@163.com" }, "repository": { "type": "git", "url": "http://gitlab.58corp.com/groups/lm-component/switch" }, "group": "lm-component", "type": "react", "keywords": [ "earth", "react", "reactsfc", "switch" ], "main": "lib/index.js", "peerDependencies": { "react": ">=16.4.0", "react-dom": ">=16.4.0", "core-js": ">=2.5.7", "raf": ">=3.4.0" }, "dependencies": { "classnames": "^2.2.5", "lm-cell": "^0.2.1", "lm-reset-style": "^2.0.2", "lm-utils": "^0.1.4", "pinkie-promise": "^2.0.1", "promise": "8.0.1", "prop-types": "^15.5.10", "whatwg-fetch": "2.0.3" }, "scripts": { "start": "earth-component-scripts start", "build": "earth-component-scripts build", "update": "earth-component-scripts update", "test": "earth-component-scripts test --env=jsdom" }, "jest": { "collectCoverageFrom": [ "src/**/*.{js,jsx}" ], "setupFiles": [ "<rootDir>/config/polyfills.js" ], "testMatch": [ "<rootDir>/**/__tests__/**/*.js?(x)", "<rootDir>/src/**/?(*.)(spec|test).js?(x)" ], "testEnvironment": "node", "testURL": "http://localhost", "transform": { "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest", "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" }, "transformIgnorePatterns": [ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" ], "moduleNameMapper": { "^react-native$": "react-native-web" }, "moduleFileExtensions": [ "web.js", "js", "json", "web.jsx", "jsx", "node" ] }, "eslintConfig": { "extends": "react-app" }, "devDependencies": { "core-js": "^2.5.7", "earth-component-scripts": "^0.1.7", "enzyme": "^2.9.1", "lm-flexible": "^0.1.1", "sinon": "^3.2.1", "object-assign": "4.1.1", "react": "^16.4.0", "react-dom": "^16.4.0", "raf": "^3.4.0" }, "proxy": "http://localhost:3001/" }