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",
"react": "^15.2.1",
"react-addons-css-transition-group": "^15.2.1",
"react-addons-perf": "^15.2.1",
"react-addons-shallow-compare": "^15.2.1",
"react-draggable": "^2.2.3",
"react-height": "^2.1.1",
"react-motion": "^0.4.5",
Tom Robinson
committed
"react-resizable": "^1.0.1",
Tom Robinson
committed
"react-sortable": "^1.2.0",
Tom Robinson
committed
"react-virtualized": "^8.6.0",
Tom Robinson
committed
"redux-actions": "^1.2.0",
"redux-auth-wrapper": "^0.9.0",
Tom Robinson
committed
"redux-promise": "^0.5.0",
Tom Robinson
committed
"redux-router": "^2.1.2",
Tom Robinson
committed
"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",
Tom Robinson
committed
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jasmine": "^2.2.0",
"exports-loader": "^0.6.3",
"file-loader": "^0.9.0",
"fs-promise": "^1.0.0",
"glob": "^7.1.1",
"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",
"react-test-renderer": "^15.4.2",
"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/**/*.js*' 'frontend/src/metabase/new_question/**/*.js*' || (echo '\nThese files are not formatted correctly. Did you forget to run \"yarn run prettier\"?' && false)",
"flow": "flow check",
"test": "karma start frontend/test/karma.conf.js --single-run",
"test-watch": "karma start frontend/test/karma.conf.js --auto-watch --reporters nyan",
"test-e2e": "JASMINE_CONFIG_PATH=./frontend/test/e2e/support/jasmine.json jasmine",
"test-e2e-sauce": "USE_SAUCE=true yarn run test-e2e",
Tom Robinson
committed
"build": "webpack --bail",
"build-hot": "NODE_ENV=hot webpack --bail && 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/**/*.js*' 'frontend/src/metabase/new_question/**/*.js*'",
"test-jest": "jest"
},
"lint-staged": {
"frontend/src/metabase/qb/**/*.js*": [
"prettier --tab-width 4 --write",
"git add"
],
"frontend/src/metabase/new_question/**/*.js*": [
"prettier --tab-width 4 --write",
"git add"
]
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/frontend/test/"
],
"modulePaths": [
"<rootDir>/frontend/src"
]
Tom Robinson
committed
}