Newer
Older
"description": "Metabase Analytics Report Server",
"repository": "https://github.com/metabase/metabase",
"node": ">=8.11.4",
"color-harmony": "^0.3.0",
"crossfilter": "^1.3.12",
"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-collapse": "^4.0.3",
"react-copy-to-clipboard": "^5.0.1",
"react-dnd": "3",
"react-dnd-html5-backend": "3",
"react-motion": "^0.4.5",
Tom Robinson
committed
"react-redux": "^5.0.4",
Tom Robinson
committed
"react-resizable": "^1.0.1",
Tom Robinson
committed
"react-router": "3",
Tom Robinson
committed
"react-sortable-hoc": "^0.6.8",
"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",
"system-components": "^2.0.3",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^8.0.6",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"banner-webpack-plugin": "^0.2.3",
"documentation": "^4.0.0-rc.1",
"enzyme": "^3.8.0",
"enzyme-2": "npm:enzyme@2",
"enzyme-adapter-react-15": "^1.3.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-loader": "^1.9.0",
Tom Robinson
committed
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jasmine": "^2.2.0",
"exports-loader": "^0.6.3",
Tom Robinson
committed
"imports-loader": "^0.7.0",
"jasmine": "^2.4.1",
"jasmine-core": "^2.4.1",
"jasmine-promises": "^0.4.1",
"jasmine-reporters": "^2.2.0",
"jest-localstorage-mock": "^2.2.0",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-jasmine": "^1.1.0",
"karma-junit-reporter": "^1.1.0",
Tom Robinson
committed
"karma-nyan-reporter": "^0.2.2",
"postcss-loader": "^2.0.8",
"raf": "^3.4.0",
"react-test-renderer": "15",
"selenium-webdriver": "^2.53.3",
"style-loader": "^0.19.0",
"webpack-postcss-tools": "^1.1.2",
"xhr-mock": "^2.4.1"
Tom Robinson
committed
"scripts": {
"dev": "concurrently --kill-others -p name -n 'backend,frontend,docs' -c 'blue,green,yellow' 'lein run' 'yarn build-hot' 'yarn docs'",
Tom Robinson
committed
"lint": "yarn lint-eslint && yarn lint-prettier",
"lint-eslint": "yarn && eslint --ext .js --ext .jsx --rulesdir frontend/lint/eslint-rules --max-warnings 0 frontend/src frontend/test",
"lint-prettier": "yarn && prettier -l 'frontend/**/*.{js,jsx,css}' || (echo '\nThese files are not formatted correctly. Did you forget to \"yarn prettier\"?' && false)",
Tom Robinson
committed
"flow": "yarn && flow check",
"test": "yarn test-unit && yarn test-integration && yarn test-e2e && yarn test-karma",
Tom Robinson
committed
"test-unit": "yarn && jest --maxWorkers=8 --config jest.unit.conf.json",
"test-unit-watch": "yarn test-unit --watch",
"test-unit-update-snapshot": "yarn test-unit --updateSnapshot",
"test-integration": "yarn && jest --maxWorkers=8 --config jest.integ.conf.json",
"test-integration-watch": "yarn test-integration --watch",
"test-e2e": "./bin/build-for-test && yarn test-e2e-no-build",
"test-e2e-watch": "yarn test-e2e --watch",
"test-e2e-no-build": "yarn && babel-node ./frontend/test/__runner__/run_e2e_tests.js",
"test-karma": "yarn && karma start frontend/test/karma.conf.js --single-run",
"test-karma-watch": "yarn && karma start frontend/test/karma.conf.js --auto-watch --reporters nyan",
"test-integrated": "echo 'test-integrated renamed to test-e2e'; exit 1",
Tom Robinson
committed
"build": "yarn && webpack --bail",
"build-watch": "yarn && webpack --watch",
"build-hot": "yarn && NODE_ENV=hot webpack-dev-server --progress",
"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'",
Tom Robinson
committed
"prettier": "prettier --write 'frontend/**/*.{js,jsx,css}'",
"eslint-fix": "yarn && eslint --fix --ext .js --ext .jsx --rulesdir frontend/lint/eslint-rules frontend/src frontend/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 flow && yarn test",
"ci-backend": "lein docstring-checker && lein bikeshed && lein eastwood && lein test"
"frontend/**/*.{js,jsx,css}": [
"prettier --write",
"git add"
]
Tom Robinson
committed
}