sports-widget
Version:
Sports Widgets is available as an npm package and can be used across multiple sites to display data for different Sports events.
127 lines (126 loc) • 3.55 kB
JSON
{
"name": "sports-widget",
"version": "1.0.23",
"author": "Floyd Team",
"license": "ISC",
"repository": {
"type": "git",
"url": "git@git.ilcd.rocks:team-floyd/widgets/sports/sports-client.git"
},
"keywords": [
"Sports",
"widgets"
],
"engines": {
"node": ">=10.0.0"
},
"main": "./dist/Lib.js",
"files": [
"dist"
],
"dependencies": {
"@gigmedia/odds-widget": "1.0.12",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/runtime": "^7.16.7",
"@loadable/component": "^5.15.2",
"axios": "^0.21.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-calendar": "^3.6.0",
"react-dom": "^17.0.2",
"react-query": "^3.15.2",
"react-scripts": "4.0.3",
"sass": "^1.35.2",
"simple-react-calendar": "^2.2.8",
"sports-util": "^1.0.27"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"env-cmd": "^10.1.0",
"husky": "^6.0.0",
"jest-styled-components": "^7.0.4",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rollup": "^2.50.3",
"rollup-plugin-module-replacement": "^1.2.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-svg": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.0",
"styled-components": "^5.3.0"
},
"scripts": {
"start": "env-cmd -f ./.env.development react-scripts start",
"build:development": "env-cmd -f ./.env.development react-scripts build",
"build:staging": "env-cmd -f ./.env.staging react-scripts build",
"build:production": "env-cmd -f ./.env.production react-scripts build",
"build": "env-cmd -f ./.env.production react-scripts build",
"test": "react-scripts test --coverage --watchAll=false --passWithNoTests",
"eject": "react-scripts eject",
"prepare": "husky install",
"build:npm": "rm -rf dist/* && rollup -c",
"npm:patch": "npm run build:npm && npm version patch && npm publish"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"yarn eslint",
"yarn prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"src/components/**/*.js",
"src/helpers/*.js",
"!src/components/**/styles.js",
"!src/components/**/loader.js",
"!src/components/molecules/round/index.js",
"!src/components/molecules/headToHead/index.js",
"!src/components/molecules/date-slider/index.js",
"!src/components/templates/match-details/index.js"
],
"coverageThreshold": {
"global": {
"functions": 77,
"lines": 77,
"statements": 77
}
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!sports-util/.*)"
],
"coverageReporters": [
"html",
"text"
]
}
}