Skip to content

Commit

Permalink
👷 correct scripts ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JAGFx committed Sep 11, 2022
1 parent 1a980ff commit 0f11701
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"dev": "npm run font:build && vite -c tools/vite.config.ts",
"build": "npm run font:build && npx vue-tsc -p tools/tsconfig.json --noEmit && npx vite build -c tools/vite.config.ts",
"build:preview": "npm run font:build && vite preview --port 8001",
"build:preview": "npm run font:build && npx vue-tsc -p tools/tsconfig.json --noEmit && vite preview --port 8001 -c tools/vite.config.ts",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
"lint:eslint": "npx eslint 'src/**/*.{js,vue,ts}' --fix -c tools/.eslintrc.json",
"lint:prettier": "npx prettier --config tools/.prettierrc.json 'src/**/*.{js,vue,ts}' --write",
"lint:stylelint": "npx stylelint --fix src/**/*.scss --config tools/.stylelintrc.json",
"test": "npm run test:unit",
"test:unit": "npx jest -c tools/.jestrc.ts",
"test:coverage": "npx jest --coverage -c tools/.jestrc.ts",
"test:unit": "npx jest -c tools/.jestrc.js",
"test:coverage": "npx jest --coverage -c tools/.jestrc.js",
"test:coverage:preview": "npm run test:coverage && npx http-server coverage/lcov-report/ -p 8002",
"font:build": "npx fantasticon -c tools/.fantasticonrc.json",
"predeploy": "npm run build",
Expand Down
6 changes: 3 additions & 3 deletions src/domain/work/work.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { sum } from "./work";
import { sum } from './work';

describe("Work domain testes", () => {
it("should return a 5 with adding 2 + 3", () => {
describe('Work domain testes', () => {
it('should return a 5 with adding 2 + 3', () => {
expect(sum(2, 3)).toEqual(5);
});
});
5 changes: 1 addition & 4 deletions tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"include": [
"./vite.config.ts"
]
"esModuleInterop": true
}
}

0 comments on commit 0f11701

Please sign in to comment.