Newer
Older
"description": "Metabase Analytics Report Server",
"repository": "https://github.com/metabase/metabase",
"crossfilter": "^1.3.12",
"humanize-plus": "^1.8.1",
"inflection": "^1.7.1",
Tom Robinson
committed
Allen Gilliland
committed
"password-generator": "^2.0.1",
"prop-types": "^15.5.7",
"react": "^15.5.4",
Tom Robinson
committed
"react-addons-perf": "^15.2.1",
"react-addons-shallow-compare": "^15.2.1",
"react-motion": "^0.4.5",
Tom Robinson
committed
"react-redux": "^5.0.4",
Tom Robinson
committed
"react-resizable": "^1.0.1",
"react-retina-image": "^2.0.4",
Tom Robinson
committed
"react-router": "3",
Tom Robinson
committed
"react-sortable": "^1.2.0",
"react-virtualized": "^9.7.2",
"recompose": "^0.23.1",
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",
Tom Robinson
committed
"simple-statistics": "^3.0.0",
"underscore": "^1.8.3",
"z-index": "0.0.1"
"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",
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",
"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",
"karma-webpack": "^1.7.0",
"postcss-loader": "^1.2.1",
"postcss-url": "^6.0.4",
"prettier": "^0.22.0",
"react-test-renderer": "^15.5.4",
"selenium-webdriver": "^2.53.3",
Tom Robinson
committed
"webpack": "^1.14.0",
"webpack-dev-server": "^1.16.2",
"webpack-hot-middleware": "^2.14.0",
"webpack-postcss-tools": "^1.1.2"
Tom Robinson
committed
"scripts": {
Tom Robinson
committed
"dev": "yarn && concurrently --kill-others -p name -n 'backend,frontend' -c 'blue,green' 'lein ring server' 'yarn run build-hot'",
"lint": "yarn run lint-eslint && yarn run lint-prettier",
"lint-eslint": "eslint --ext .js --ext .jsx --max-warnings 0 frontend/src frontend/test",
"lint-prettier": "prettier --tab-width 4 -l 'frontend/src/metabase/{qb,new_question}/**/*.js*' 'frontend/src/metabase-lib/**/*.js' || (echo '\nThese files are not formatted correctly. Did you forget to run \"yarn run prettier\"?' && false)",
"test": "yarn run test-jest && yarn run test-karma",
"test-karma": "karma start frontend/test/karma.conf.js --single-run",
"test-karma-watch": "karma start frontend/test/karma.conf.js --auto-watch --reporters nyan",
Atte Keinänen
committed
"test-jest": "jest --maxWorkers=10 --config jest.unit.conf.json",
"test-jest-watch": "jest --maxWorkers=10 --config jest.unit.conf.json --watch",
"test-integrated": "babel-node ./frontend/test/run-integrated-tests.js",
"test-integrated-watch": "babel-node ./frontend/test/run-integrated-tests.js --watch",
"test-e2e": "JASMINE_CONFIG_PATH=./frontend/test/e2e/support/jasmine.json jasmine",
"test-e2e-dev": "./frontend/test/e2e-with-persistent-browser.js",
"test-e2e-sauce": "USE_SAUCE=true yarn run test-e2e",
Tom Robinson
committed
"build": "webpack --bail",
Tom Robinson
committed
"build-hot": "NODE_ENV=hot webpack-dev-server --progress",
"start": "yarn run build && lein ring server",
"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 --tab-width 4 --write 'frontend/src/metabase/{qb,new_question}/**/*.js*' 'frontend/src/metabase-lib/**/*.js'",
"docs": "documentation build -f html -o frontend/docs frontend/src/metabase-lib/lib/**"
"frontend/src/metabase/{qb,new_question}/**/*.js*": [
"prettier --tab-width 4 --write",
"git add"
],
"frontend/src/metabase-lib/**/*.js*": [
"prettier --tab-width 4 --write",
"git add"
Tom Robinson
committed
}