diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-20 15:14:13 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-20 15:14:13 +0200 |
commit | 240246ea132cc736c6eaa70ed79f2ec78d1d4636 (patch) | |
tree | a45a5c81de9f650fcd18190d90049f67c0f63b97 /frontend/package.json | |
parent | Upgrade react-scripts to 1.0.1 (diff) | |
download | seven-wonders-240246ea132cc736c6eaa70ed79f2ec78d1d4636.tar.gz seven-wonders-240246ea132cc736c6eaa70ed79f2ec78d1d4636.tar.bz2 seven-wonders-240246ea132cc736c6eaa70ed79f2ec78d1d4636.zip |
Add prettier and format js files
Diffstat (limited to 'frontend/package.json')
-rw-r--r-- | frontend/package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/package.json b/frontend/package.json index 41146d21..4c10e520 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,6 +4,7 @@ "private": true, "devDependencies": { "babel-polyfill": "latest", + "prettier": "^1.3.1", "react-scripts": "^1.0.1" }, "dependencies": { @@ -30,7 +31,8 @@ "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "test:oneshot": "set CI=true && react-scripts test --env=jsdom", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "prettier": "prettier --write '{src,__{tests,mocks}__}/**/*.js'" }, "eslintConfig": { "extends": "react-app" |