Merge branch 'tz-prettier-base' into 'master'
Prettier Phase 1: Prettier Configuration, Prettifying of files and documentation See merge request gitlab-org/gitlab-ce!17695
Showing
.prettierrc
0 → 100644
... | ... | @@ -8,6 +8,10 @@ |
"karma": "karma start config/karma.config.js --single-run", | ||
"karma-coverage": "BABEL_ENV=coverage karma start config/karma.config.js --single-run", | ||
"karma-start": "karma start config/karma.config.js", | ||
"prettier-staged": "node ./scripts/frontend/prettier.js", | ||
"prettier-staged-save": "node ./scripts/frontend/prettier.js save", | ||
"prettier-all": "node ./scripts/frontend/prettier.js check-all", | ||
"prettier-all-save": "node ./scripts/frontend/prettier.js save-all", | ||
"webpack": "webpack --config config/webpack.config.js", | ||
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js" | ||
}, | ||
... | ... | @@ -114,7 +118,7 @@ |
"karma-sourcemap-loader": "^0.3.7", | ||
"karma-webpack": "2.0.7", | ||
"nodemon": "^1.15.1", | ||
"prettier": "1.9.2", | ||
"prettier": "1.11.1", | ||
"webpack-dev-server": "^2.11.2" | ||
} | ||
} |
scripts/frontend/prettier.js
0 → 100644
Please register or sign in to comment