[FIX] package.json: improve prettier task

to take into account files at more than one level
This commit is contained in:
Géry Debongnie
2019-10-28 16:50:04 +01:00
parent b0e2ef82f7
commit e7967d0779
+1 -1
View File
@@ -18,7 +18,7 @@
"tools": "npm run build && npm run tools:serve",
"pretools:watch": "npm run build",
"tools:watch": "npm-run-all --parallel tools:serve \"build:* -- --watch\"",
"prettier": "prettier {src/**/*.ts,tests/**/*.ts,doc/**/*.md} --write"
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md} --write"
},
"repository": {
"type": "git",