Newer
Older
"description": "Metabase Analytics Report Server",
"repository": "https://github.com/metabase/metabase",
"node": ">=8.11.4",
Tom Robinson
committed
"chevrotain": "^6.5.0",
"color-harmony": "^0.3.0",
"crossfilter": "^1.3.12",
Paul Rosenzweig
committed
Paul Rosenzweig
committed
"grid-styled": "4.1.0",
"humanize-plus": "^1.8.1",
"inflection": "^1.7.1",
Tom Robinson
committed
"lodash.memoize": "^4.1.2",
Allen Gilliland
committed
"password-generator": "^2.0.1",
"react-dnd": "3",
"react-dnd-html5-backend": "3",
"react-draggable": "^3.3.2",
"react-markdown": "^3.6.0",
"react-motion": "^0.4.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",
Tom Robinson
committed
"regexp.escape": "^1.1.0",
"simple-statistics": "^3.0.0",
Paul Rosenzweig
committed
"styled-components": "3.2.6",
"styled-system": "2.2.5",
"underscore": "^1.8.3",
"z-index": "0.0.1"
"@cypress/skip-test": "^2.6.0",
Tom Robinson
committed
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-ttag": "^1.7.26",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"banner-webpack-plugin": "^0.2.3",
"documentation": "^4.0.0-rc.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-react": "^6.10.3",
"file-loader": "^0.11.1",
"fs-promise": "^2.0.2",
Tom Robinson
committed
"jest-localstorage-mock": "^2.2.0",
"postcss-loader": "^2.0.8",
"react-test-renderer": "~16.14.0",
"style-loader": "^0.19.0",
Tom Robinson
committed
"scripts": {
"concurrently": "yarn && concurrently --kill-others -p name",
"dev": "yarn concurrently -n 'backend,frontend,cljs,docs' -c 'blue,green,yellow,magenta' 'lein run' 'yarn build-hot:js' 'yarn build-hot:cljs' 'yarn docs'",
"dev-ee": "yarn concurrently -n 'backend,frontend,cljs,docs' -c 'blue,green,yellow,magenta' 'lein with-profiles +ee run' 'MB_EDITION=ee yarn build-hot:js' 'MB_EDITION=ee yarn build-hot:cljs' 'yarn docs'",
"lint": "yarn lint-eslint && yarn lint-prettier && yarn lint-docs-links && yarn lint-yaml",
"lint-eslint": "yarn build-quick:cljs && eslint --ext .js --ext .jsx --rulesdir frontend/lint/eslint-rules --max-warnings 0 enterprise/frontend/src frontend/src enterprise/frontend/test frontend/test",
"lint-prettier": "yarn && prettier -l '{enterprise/,}frontend/**/*.{js,jsx,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 --maxWorkers=2 --config jest.unit.conf.json",
Tom Robinson
committed
"test-unit-watch": "yarn test-unit --watch",
"test-unit-update-snapshot": "yarn test-unit --updateSnapshot",
"test-timezones-unit": "yarn build-quick:cljs && jest --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_ENV=hot webpack-dev-server --progress --host 0.0.0.0",
"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",
Tom Robinson
committed
"start": "yarn build && lein ring server",
"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,css}'",
"eslint-fix": "yarn && eslint --fix --ext .js --ext .jsx --rulesdir frontend/lint/eslint-rules {enterprise/,}frontend/{src,test}",
"docs": "documentation serve --watch frontend/src/metabase-lib/lib/**",
Tom Robinson
committed
"ci": "yarn ci-frontend && yarn ci-backend",
"ci-frontend": "yarn lint && yarn test",
"ci-backend": "lein docstring-checker && lein bikeshed && lein eastwood && lein test",
"test-cypress": "yarn build && ./bin/build-for-test && yarn test-cypress-no-build && yarn test-cypress-smoketest",
"test-cypress-open": "./bin/build-for-test && yarn test-cypress-no-build --open",
"test-cypress-open-no-backend": "E2E_HOST='http://localhost:3000' yarn test-cypress-no-build --open",
"test-cypress-no-build": "yarn && CONFIG_FILE=frontend/test/cypress.json babel-node ./frontend/test/__runner__/run_cypress_tests.js",
"test-cypress-smoketest": "yarn test-cypress-no-build --folder frontend/test/metabase-smoketest"
"frontend/**/*.{js,jsx,css}": [
"prettier --write",
"git add"
]
Tom Robinson
committed
},
"resolutions": {
"cypress": "5.5.0",
Paul Rosenzweig
committed
"styled-components": "3.2.6",
"styled-system": "2.2.5"
Tom Robinson
committed
}