chore: Update package.json (#1774)

This commit is contained in:
Tonye Jack 2023-12-04 21:09:37 -07:00 committed by GitHub
parent 726e06f8ef
commit 95642a1ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,10 @@
}, },
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"format": "prettier --write **/*.ts", "format": "prettier --write src/*.ts src/**/*.ts",
"format-check": "prettier --check **/*.ts", "format-check": "prettier --check src/*.ts src/**/*.ts",
"lint": "eslint **/*.ts --max-warnings 0", "lint": "eslint src/*.ts src/**/*.ts --max-warnings 0",
"lint:fix": "eslint --fix src/**/*.ts", "lint:fix": "eslint --fix src/*.ts src/**/*.ts",
"package": "ncc build lib/main.js --source-map --license licenses.txt", "package": "ncc build lib/main.js --source-map --license licenses.txt",
"test": "jest --coverage", "test": "jest --coverage",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test" "all": "yarn build && yarn format && yarn lint && yarn package && yarn test"