|
5 | 5 | "scripts": {
|
6 | 6 | "dev": "npm run font:build && vite -c tools/vite.config.ts",
|
7 | 7 | "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", |
9 | 9 | "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
|
10 | 10 | "lint:eslint": "npx eslint 'src/**/*.{js,vue,ts}' --fix -c tools/.eslintrc.json",
|
11 | 11 | "lint:prettier": "npx prettier --config tools/.prettierrc.json 'src/**/*.{js,vue,ts}' --write",
|
12 | 12 | "lint:stylelint": "npx stylelint --fix src/**/*.scss --config tools/.stylelintrc.json",
|
13 | 13 | "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", |
16 | 16 | "test:coverage:preview": "npm run test:coverage && npx http-server coverage/lcov-report/ -p 8002",
|
17 | 17 | "font:build": "npx fantasticon -c tools/.fantasticonrc.json",
|
18 | 18 | "predeploy": "npm run build",
|
|
0 commit comments