summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 9d62f1f..c27633e 100644
--- a/package.json
+++ b/package.json
@@ -10,12 +10,14 @@
"scripts": {
"tsc": "tsc --emitDeclarationOnly --outDir lib",
"test": "jest",
+ "format": "prettier --write ./src/**/*.ts",
"build": "rimraf lib && node ./esbuild.js && npm run tsc"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"esbuild": "^0.14.10",
"jest": "^27.4.7",
+ "prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"