Skip to content

Commit 0f11701

Browse files
committed
👷 correct scripts ci
1 parent 1a980ff commit 0f11701

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"scripts": {
66
"dev": "npm run font:build && vite -c tools/vite.config.ts",
77
"build": "npm run font:build && npx vue-tsc -p tools/tsconfig.json --noEmit && npx vite build -c tools/vite.config.ts",
8-
"build:preview": "npm run font:build && vite preview --port 8001",
8+
"build:preview": "npm run font:build && npx vue-tsc -p tools/tsconfig.json --noEmit && vite preview --port 8001 -c tools/vite.config.ts",
99
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
1010
"lint:eslint": "npx eslint 'src/**/*.{js,vue,ts}' --fix -c tools/.eslintrc.json",
1111
"lint:prettier": "npx prettier --config tools/.prettierrc.json 'src/**/*.{js,vue,ts}' --write",
1212
"lint:stylelint": "npx stylelint --fix src/**/*.scss --config tools/.stylelintrc.json",
1313
"test": "npm run test:unit",
14-
"test:unit": "npx jest -c tools/.jestrc.ts",
15-
"test:coverage": "npx jest --coverage -c tools/.jestrc.ts",
14+
"test:unit": "npx jest -c tools/.jestrc.js",
15+
"test:coverage": "npx jest --coverage -c tools/.jestrc.js",
1616
"test:coverage:preview": "npm run test:coverage && npx http-server coverage/lcov-report/ -p 8002",
1717
"font:build": "npx fantasticon -c tools/.fantasticonrc.json",
1818
"predeploy": "npm run build",

src/domain/work/work.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { sum } from "./work";
1+
import { sum } from './work';
22

3-
describe("Work domain testes", () => {
4-
it("should return a 5 with adding 2 + 3", () => {
3+
describe('Work domain testes', () => {
4+
it('should return a 5 with adding 2 + 3', () => {
55
expect(sum(2, 3)).toEqual(5);
66
});
77
});

tools/tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
"target": "esnext",
88
"module": "esnext",
99
"moduleResolution": "node",
10-
"esModuleInterop": true,
11-
"include": [
12-
"./vite.config.ts"
13-
]
10+
"esModuleInterop": true
1411
}
1512
}

0 commit comments

Comments
 (0)