Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
fix: change npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed Aug 22, 2022
1 parent 619c0fb commit ccf03a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"yarn": "^1.22.4"
},
"scripts": {
"prepare": "nuxt prepare",
"dev": "nuxt dev",
"build": "nuxt generate",
"fix": "run-p \"lint:eslint --fix\" \"lint:prettier --write\"",
"lint": "run-p lint:*",
"lint:eslint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore .",
"lint:prettier": "prettier --ignore-path .gitignore -l \"**/*.{js,ts,vue,json,yaml,yml,scss}\"",
"lint:tsc": "nuxt typecheck",
"pretest": "nuxt prepare",
"test": "vitest run"
},
"repository": {
Expand All @@ -30,9 +30,9 @@
"devDependencies": {
"@nuxt/content": "^2.0.1",
"@nuxtjs/eslint-config-typescript": "^10.0.0",
"@vitest/coverage-c8": "^0.22.1",
"@vue/test-utils": "^2.0.2",
"ajv": "^8.11.0",
"c8": "^7.12.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-nuxt": "^3.2.0",
Expand Down
10 changes: 9 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,14 @@
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-3.0.3.tgz#7e3e401ccb30b4380d2279d9849281413f1791ef"
integrity sha512-U4zNBlz9mg+TA+i+5QPc3N5lQvdUXENZLO2h0Wdzp56gI1MWhqJOv+6R+d4kOzoaSSq6TnGPBdZAXKOe4lXy6g==

"@vitest/coverage-c8@^0.22.1":
version "0.22.1"
resolved "https://registry.yarnpkg.com/@vitest/coverage-c8/-/coverage-c8-0.22.1.tgz#d91b3487caca570a815899943c1939fe421fc114"
integrity sha512-KOOYpO7EGpaF+nD8GD+Y05D0JtZp12NUu6DdLXvBPqSOPo2HkZ7KNBtfR0rb6gOy3NLtGiWTYTzCwhajgb2HlA==
dependencies:
c8 "^7.12.0"
vitest "0.22.1"

"@volar/code-gen@0.40.1":
version "0.40.1"
resolved "https://registry.yarnpkg.com/@volar/code-gen/-/code-gen-0.40.1.tgz#30637162626bd2ea6e3c3c3cedab291494870c25"
Expand Down Expand Up @@ -7098,7 +7106,7 @@ vite-plugin-checker@^0.4.9:
optionalDependencies:
fsevents "~2.3.2"

vitest@^0.22.1:
vitest@0.22.1, vitest@^0.22.1:
version "0.22.1"
resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.22.1.tgz#3122e6024bf782ee9aca53034017af7adb009c32"
integrity sha512-+x28YTnSLth4KbXg7MCzoDAzPJlJex7YgiZbUh6YLp0/4PqVZ7q7/zyfdL0OaPtKTpNiQFPpMC8Y2MSzk8F7dw==
Expand Down

0 comments on commit ccf03a7

Please sign in to comment.