Skip to content

Commit 6ccb5c6

Browse files
chore: update package.json scripts
1 parent f5b4b02 commit 6ccb5c6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"eslint": "eslint src/* ",
2121
"eslint-fix": "npm run eslint -- --fix",
2222
"compile": "tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
23-
"check-types": "tsc --project tsconfig.esm.json"
23+
"check-types": "tsc --project tsconfig.esm.json",
24+
"prettier": "prettier --check src",
25+
"prettier-write": "prettier --write src"
2426
},
2527
"devDependencies": {
2628
"@babel/plugin-transform-modules-commonjs": "^7.17.7",
@@ -54,4 +56,4 @@
5456
"typescript": "^4.6.3",
5557
"vite": "^2.9.1"
5658
}
57-
}
59+
}

0 commit comments

Comments
 (0)