Newer
Older
"description": "Metabase Analytics Report Server",
"repository": "https://github.com/metabase/metabase",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@visx/clip-path": "^2.1.0",
"@visx/grid": "1.16.0",
"@visx/group": "1.7.0",
"@visx/legend": "^2.10.0",
"@visx/mock-data": "^2.1.2",
"@visx/responsive": "^2.10.0",
"color-harmony": "^0.3.0",
"cron-expression-validator": "^1.0.20",
"cronstrue": "^2.11.0",
"crossfilter": "^1.3.12",
Paul Rosenzweig
committed
"humanize-plus": "^1.8.1",
"inflection": "^1.7.1",
Tom Robinson
committed
Allen Gilliland
committed
"password-generator": "^2.0.1",
"react-beautiful-dnd": "^13.1.1",
"react-dnd": "3",
"react-dnd-html5-backend": "3",
"react-draggable": "^3.3.2",
Anton Kulyk
committed
"react-grid-layout": "^1.2.5",
Tom Robinson
committed
"react-redux": "^5.0.4",
Tom Robinson
committed
"react-router": "3",
"react-sortable-hoc": "^1.11.0",
"react-textarea-autosize": "^5.2.1",
"react-transition-group": "1",
"react-virtualized": "^9.7.2",
Tom Robinson
committed
"redux-actions": "^2.0.1",
"redux-auth-wrapper": "^1.0.0",
Tom Robinson
committed
"redux-promise": "^0.5.0",
Tom Robinson
committed
"redux-router": "^2.1.2",
"regenerator": "^0.14.1",
"simple-statistics": "^3.0.0",
Paul Rosenzweig
committed
"styled-system": "2.2.5",
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/node": "^7.14.7",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@cypress/skip-test": "^2.6.1",
"@emotion/babel-plugin": "^11.7.2",
"@percy/cli": "^1.3.0",
"@percy/cypress": "^3.1.2",
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-links": "^6.4.22",
"@storybook/builder-webpack5": "^6.4.22",
"@storybook/client-api": "6.4.22",
"@storybook/manager-webpack5": "^6.4.22",
"@storybook/react": "^6.4.22",
"@types/babel__core": "^7.1.16",
"@types/babel__preset-env": "^7.9.2",
"@types/color": "^3.0.2",
"@types/concurrently": "^6.3.0",
"@types/core-js": "^2.5.5",
"@types/crossfilter": "^0.0.34",
"@types/d3": "^3.5.46",
Mahatthana (Kelvin) Nomsawadi
committed
"@types/d3-scale": "^4.0.2",
"@types/d3-time": "^3.0.0",
"@types/dc": "0.0.29",
"@types/diff": "^3.5.4",
"@types/eslint": "7.29.0",
"@types/glob": "^7.1.4",
"@types/history": "3.2.5",
"@types/humanize-plus": "^1.8.0",
"@types/icepick": "2.3.0",
"@types/iframe-resizer": "^3.5.9",
"@types/inflection": "^1.13.0",
"@types/isomorphic-fetch": "^0.0.35",
"@types/js-cookie": "^2.2.7",
"@types/jsonwebtoken": "^7.2.8",
"@types/jsrsasign": "^8.0.13",
"@types/leaflet": "^1.7.5",
"@types/leaflet-draw": "^0.4.14",
"@types/leaflet.heat": "^0.2.1",
"@types/mini-css-extract-plugin": "^2.4.0",
"@types/mockdate": "^3.0.0",
"@types/mustache": "^4.1.2",
"@types/postcss-import": "^12.0.1",
"@types/postcss-url": "^8.0.2",
"@types/prettier": "1.19.1",
"@types/prop-types": "^15.7.4",
"@types/raf": "^3.4.0",
"@types/react": "~16.14.17",
"@types/react-collapse": "^5.0.1",
"@types/react-color": "^2.17.6",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "~17.0.9",
"@types/react-grid-layout": "^1.1.3",
"@types/react-motion": "0.0.32",
"@types/react-redux": "^5.0.22",
"@types/react-resizable": "^1.7.4",
"@types/react-router": "3.0.28",
"@types/react-virtualized": "^9.21.13",
"@types/redux-actions": "^2.6.2",
"@types/redux-auth-wrapper": "^1.0.7",
"@types/redux-form": "5.0.2",
"@types/redux-logger": "^3.0.9",
"@types/redux-promise": "^0.5.29",
"@types/redux-router": "^1.0.45",
"@types/styled-system": "2.3.2",
"@types/testing-library__jest-dom": "^5.14.1",
"@types/tether": "^1.4.6",
"@types/underscore": "^1.11.3",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.2",
"cypress": "^10.9.0",
"cypress-grep": "^3.0.3",
"cypress-real-events": "^1.7.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-react": "^7.22.0",
"html-webpack-harddisk-plugin": "^2.0.0",
"html-webpack-plugin": "^5.3.1",
"jest-canvas-mock": "^2.4.0",
"jest-localstorage-mock": "^2.2.0",
"jest-watch-typeahead": "^0.6.4",
"jsonwebtoken": "^8.5.1",
"lint-staged": "^12.3.2",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.2.1",
"mochawesome-report-generator": "^6.2.0",
"mutationobserver-shim": "^0.3.7",
"postcss-color-mod-function": "^3.0.3",
"postcss-import": "^14.0.2",
"postcss-loader": "^6.2.0",
"postcss-preset-env": "^6.7.0",
"postcss-url": "^10.1.3",
"react-refresh": "^0.13.0",
"webpack": "^5.69.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4",
"resolutions": {
"ansi-regex": "5.0.1",
"nth-check": "2.0.1",
"set-value": "4.0.1",
"immer": "9.0.6",
"ansi-html": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz",
"minimist": "1.2.6",
"node-forge": "1.3.0"
Tom Robinson
committed
"scripts": {
"concurrently": "yarn && concurrently --kill-others -p name",
"dev": "yarn concurrently -n 'backend,frontend,cljs,docs,static-viz' -c 'blue,green,yellow,magenta,red' 'clojure -M:run' 'yarn build-hot:js' 'yarn build-hot:cljs' 'yarn docs' 'yarn build-static-viz:watch'",
"dev-ee": "yarn concurrently -n 'backend,frontend,cljs,docs,static-viz' -c 'blue,green,yellow,magenta,red' 'clojure -M:run:ee' 'MB_EDITION=ee yarn build-hot:js' 'MB_EDITION=ee yarn build-hot:cljs' 'yarn docs' 'yarn build-static-viz:watch'",
"type-check": "yarn && tsc --noEmit",
"remove-webpack-cache": "rm -rf ./node_modules/.cache",
"lint": "yarn lint-eslint && yarn lint-prettier && yarn lint-docs-links && yarn lint-yaml && yarn type-check",
"lint-eslint": "yarn build-quick:cljs && eslint --ext .js,.jsx,.ts,.tsx --rulesdir frontend/lint/eslint-rules --max-warnings 0 enterprise/frontend/src frontend/src frontend/test",
"lint-prettier": "yarn && prettier -l '{enterprise/,}frontend/**/*.{js,jsx,ts,tsx,css}' || (echo '\nThese files are not formatted correctly. Did you forget to \"yarn prettier\"?' && false)",
"lint-docs-links": "yarn && ./bin/verify-doc-links",
"lint-yaml": "yamllint **/*.{yaml,yml} --ignore=node_modules/**/*.{yaml,yml}",
"test": "yarn test-unit && yarn test-timezones && yarn test-cypress",
"test-unit": "yarn build-quick:cljs && jest --silent --maxWorkers=2 --config jest.unit.conf.json",
Tom Robinson
committed
"test-unit-watch": "yarn test-unit --watch",
"test-timezones-unit": "yarn build-quick:cljs && jest --silent --maxWorkers=2 --config jest.tz.unit.conf.json",
"test-timezones": "yarn && ./frontend/test/__runner__/run_timezone_tests",
"build:js": "yarn && webpack --bail",
"build-watch:js": "yarn && webpack --watch",
"build-hot:js": "yarn && NODE_OPTIONS=--max-old-space-size=8096 WEBPACK_BUNDLE=hot webpack serve",
"build:cljs": "yarn && rm -rf frontend/src/cljs/* && shadow-cljs release app",
"build-watch:cljs": "yarn cljs-server-restart && shadow-cljs watch app",
"build-hot:cljs": "yarn cljs-server-restart && shadow-cljs watch app",
"cljs-server-start": "yarn && shadow-cljs start",
"cljs-server-stop": "yarn && shadow-cljs stop",
"cljs-server-restart": "yarn && shadow-cljs restart",
"cljs-nrepl": "yarn && shadow-cljs node-repl -d cider/cider-nrepl:0.25.8 -d cider/piggieback:0.5.1 -d refactor-nrepl:2.5.1",
"test-cljs": "yarn && shadow-cljs compile test && node target/node-tests.js",
"build": "yarn build:cljs && yarn build:js",
"build-watch": "yarn concurrently -n 'cljs,js' 'yarn build-watch:cljs' 'yarn build-watch:js'",
"build-hot": "yarn concurrently -n 'cljs,js' 'yarn build-hot:cljs' 'yarn build-hot:js'",
Tom Robinson
committed
"build-stats": "yarn && webpack --json > stats.json",
"build-shared": "yarn && webpack --config webpack.shared.config.js",
"build-static-viz": "yarn && yarn build:cljs && webpack --config webpack.static-viz.config.js",
"build-static-viz:watch": "yarn build-static-viz --watch",
Tom Robinson
committed
"precommit": "lint-staged",
"preinstall": "echo $npm_execpath | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'",
"prettier": "prettier --write '{enterprise/,}frontend/**/*.{js,jsx,ts,tsx,css}'",
"eslint-fix": "yarn && eslint --fix --ext .js,.jsx,.ts,.tsx --rulesdir frontend/lint/eslint-rules {enterprise/,}frontend/{src,test}",
"docs": "documentation serve --watch frontend/src/metabase-lib/lib/**",
"ci": "yarn ci-frontend && yarn ci-backend",
"ci-frontend": "yarn lint && yarn test",
"ci-backend": "clojure -X:dev:ee:ee-dev:drivers:drivers-dev:eastwood && clojure -X:dev:test",
"test-cypress-run": "node ./frontend/test/__runner__/run_cypress_tests.js",
"test-cypress-open": "./bin/build-for-test && yarn test-cypress-run --e2e --open",
"test-cypress-open-no-backend": "E2E_HOST='http://localhost:3000' yarn test-cypress-run --e2e --open",
"test-cypress": "yarn build && ./bin/build-for-test && yarn test-cypress-run",
"clean-cypress-artifacts": "rm -R -f cypress/",
"generate-cypress-html-report": "mochawesome-merge cypress/reports/mochareports/*.json > cypress/reports/cypress-test-report.json && marge cypress/reports/cypress-test-report.json -o cypress/reports/mochareports --inline",
"test-visual-run": "percy exec -- yarn test-cypress-run --spec \"./frontend/test/metabase-visual/**/*.cy.spec.js\"",
"test-visual-open": "percy exec -- yarn test-cypress-open",
"test-visual": "yarn build && ./bin/build-for-test && yarn test-visual-run",
"storybook": "yarn build:cljs && start-storybook -p 6006",
"build-storybook": "yarn build:cljs && build-storybook",
"chromatic": "yarn build:cljs && chromatic",
"docs-lint-links": "find docs -type f -name '*.md' -print0 | xargs -0 markdown-link-check --quiet --config .mlc_config.json"
"+(enterprise|frontend)/**/*.css": [
],
"+(enterprise|frontend)/**/*.{js,jsx,ts,tsx}": [
"eslint --rulesdir frontend/lint/eslint-rules --max-warnings 0",
"prettier --write"
Tom Robinson
committed
},
"browserslist": [
"defaults"
]