Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
prettier rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmacfarlane committed Apr 10, 2020
1 parent 60c8242 commit 71d14f1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ jobs:
- name: npm test
run: npm test

- name: Format
run: npm run format-check

- name: audit security
run: npm audit
run: npm audit --audit-level=moderate
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"main": "index.js",
"scripts": {
"build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out",
"test": "jest"
"test": "jest",
"format": "prettier --write packages/**/*.ts",
"format-check": "prettier --check packages/**/*.ts",
"audit-check": "npm audit --audit-level=moderate"
},
"repository": {
"type": "git",
Expand All @@ -25,6 +28,7 @@
"@types/jest": "^25.1.4",
"@types/node": "^12.12.31",
"jest": "^25.1.0",
"prettier": "^2.0.4",
"proxy": "^1.0.1",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"
Expand Down

0 comments on commit 71d14f1

Please sign in to comment.