aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-03-29 12:13:24 +1100
committerSam Potts <sam@potts.es>2020-03-29 12:13:24 +1100
commitad63af5096e014785bd22eac24bc8030c0dc70d6 (patch)
tree4b80e9050e1feb046d023f34b612e0d0185df889 /package.json
parent09598f07bf062886bfa22cd8682948567e92a19a (diff)
downloadplyr-ad63af5096e014785bd22eac24bc8030c0dc70d6.tar.lz
plyr-ad63af5096e014785bd22eac24bc8030c0dc70d6.tar.xz
plyr-ad63af5096e014785bd22eac24bc8030c0dc70d6.zip
Added prettier script
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 04c89b6b..1267d0ea 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,8 @@
"lint": "eslint src/js && npm run-script remark",
"lint:fix": "eslint --fix src/js",
"remark": "remark -f --use 'validate-links=repository:\"sampotts/plyr\"' '{,!(node_modules),.?**/}*.md'",
- "deploy": "yarn lint && gulp version && gulp build && gulp deploy"
+ "deploy": "yarn lint && gulp version && gulp build && gulp deploy",
+ "prettier": "prettier --write ./src/js/*.js"
},
"devDependencies": {
"ansi-colors": "^4.1.1",