Skip to content

Commit

Permalink
[package.json,lint-and-format.yml][xs]: adjust script names
Browse files Browse the repository at this point in the history
  • Loading branch information
olayway committed Aug 10, 2023
1 parent bec6908 commit 62ef0c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
- name: Install modules
run: npm ci
- name: Eslint
run: npm run lint:check
run: npm run lint
- name: Prettier
run: npm run format:check
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"mddb": "./dist/src/bin/index.js"
},
"scripts": {
"format:check": "prettier --check \"**/*.{js,ts}\"",
"format": "prettier --write \"**/*.{js,ts}\"",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
Expand All @@ -22,12 +23,7 @@
"type": "git",
"url": "git+https://github.com/datopian/markdowndb.git"
},
"keywords": [
"markdown",
"database",
"content",
"obsidian"
],
"keywords": ["markdown", "database", "content", "obsidian"],
"author": "Rufus Pollock",
"license": "MIT",
"bugs": {
Expand All @@ -37,9 +33,7 @@
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"files": ["dist"],
"type": "module",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand Down

0 comments on commit 62ef0c0

Please sign in to comment.