-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#474: set/updated package.json scripts
- Loading branch information
1 parent
81b0b9c
commit 82ad8f9
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,13 @@ | |
"main": "_webi/", | ||
"scripts": { | ||
"fmt": "npm run prettier; npm run shfmt", | ||
"lint": "npx jshint@2.x -c ./.jshintrc */*.js", | ||
"lint": "npm run jshint; npm run shellcheck", | ||
"prettier": "npx [email protected] -w '**/*.{js,md,html}'", | ||
"shfmt": "shfmt -w -i 4 -sr -ci -s ./", | ||
"test": "node _webi/test.js ./node/", | ||
"prepare": "husky install" | ||
"prepare": "husky install", | ||
"jshint": "npx [email protected] -c ./.jshintrc */*.js", | ||
"shellcheck": "shellcheck -s sh --exclude=SC2154,SC2034 -- */*.sh */*/*.sh" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|