diff options
author | Renard | 2019-09-16 01:16:45 -0300 |
---|---|---|
committer | Renard | 2019-09-16 01:16:45 -0300 |
commit | e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684 (patch) | |
tree | ea7c97d70db350116ad55e4d849bc315ce8ef1e2 | |
parent | 8938244653560f22d3e66d1167a4aa9f90d9250e (diff) | |
download | bai-client-e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684.tar.gz bai-client-e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684.tar.xz bai-client-e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684.zip |
prettier setup
-rw-r--r-- | package-lock.json | 6 | ||||
-rw-r--r-- | package.json | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/package-lock.json b/package-lock.json index aa80848..bf23a17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13899,6 +13899,12 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" }, + "prettier": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", + "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", + "dev": true + }, "pretty-bytes": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.3.0.tgz", diff --git a/package.json b/package.json index 4e19b00..a652b65 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ }, "scripts": { "dev": "parcel src/index.html", - "build": "parcel build src/index.html" + "build": "parcel build src/index.html", + "format": "prettier \"src/**/*.{js,css,html}\" --write" }, "eslintConfig": { "extends": "react-app" @@ -38,6 +39,7 @@ ] }, "devDependencies": { - "parcel-bundler": "^1.12.3" + "parcel-bundler": "^1.12.3", + "prettier": "^1.18.2" } -} +}
\ No newline at end of file |