hub/widget/package.json

69 lines
2.4 KiB
JSON

{
"name": "widget",
"version": "1.18.0",
"private": true,
"dependencies": {
"lodash": "^4.17.21",
"moment": "^2.30.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-shadow": "^20.4.0",
"styled-components": "^6.1.11",
"stylis": "^4.2.5"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@craco/craco": "^7.1.0",
"@emotion/is-prop-valid": "^1.2.2",
"@eslint/js": "^9.3.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.4",
"@types/node": "^20.12.12",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"babel-plugin-styled-components": "^2.1.4",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^12.1.0",
"globals": "^15.3.0",
"jest-fetch-mock": "^3.0.3",
"jest-mock": "^29.7.0",
"prettier": "^3.2.5",
"react-scripts": "^5.0.1",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"start": "REACT_APP_HUB_BASE_URL=http://localhost:8000 craco start",
"build": "craco build",
"build:cra": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"test": "sed -i -e 's/const FORCE_EXIT_DELAY = 500;/const FORCE_EXIT_DELAY = 1000;/g' ./node_modules/jest-worker/build/base/BaseWorkerPool.js && TZ=UTC react-scripts test # See https://github.com/facebook/jest/issues/11354",
"test:coverage": "TZ=UTC react-scripts test --coverage --watchAll=false",
"eject": "react-scripts eject",
"lint": "eslint src --max-warnings 0",
"lint:fix": "eslint src --max-warnings 0 --fix",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"format:diff": "prettier --list-different \"src/**/*.{js,jsx,ts,tsx}\"",
"isready": "yarn format && yarn lint && yarn test --watchAll=false --passWithNoTests --verbose && yarn build"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}