Update prettier script
parent
ecad3d2ade
commit
8cc60b2d6b
|
@ -24,7 +24,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --ext .ts",
|
"lint": "eslint . --ext .ts",
|
||||||
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
"prettier-format": "prettier --config .prettierrc '{src,tests}/**/*.ts' --write",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"publish": "npm publish",
|
"publish": "npm publish",
|
||||||
"test": "nyc --reporter=text mocha './test/index-test.ts'",
|
"test": "nyc --reporter=text mocha './test/index-test.ts'",
|
||||||
|
|
Loading…
Reference in New Issue