Add more npm scripts

This commit is contained in:
Paul Merlin 2020-06-13 12:47:01 +02:00
parent 3d5e31b7a4
commit e5b01ed062

View File

@ -5,7 +5,12 @@
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"test": "jest"
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"pack": "ncc build",
"test": "jest",
"all": "npm run build && npm run pack && npm test"
},
"repository": {
"type": "git",