lm-button
Version:
* 作者:hjingfen * 邮箱:hjingfen@gmail.com * 版本:**`1.0.0`**
92 lines (91 loc) • 2.52 kB
JSON
{
"name": "lm-button",
"version": "1.0.0",
"author": {
"name": "hjingfen",
"email": "hjingfen@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/lm-component/button"
},
"group": "lm-component",
"type": "react",
"keywords": [
"earth",
"react",
"reactsfc",
"button"
],
"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-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": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.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/"
}