|
1 | 1 | { |
2 | | - "name": "vue-styled-components", |
3 | | - "private": true, |
| 2 | + "name": "@vvibe/vue-styled-components", |
| 3 | + "private": false, |
4 | 4 | "version": "0.0.1", |
5 | 5 | "type": "module", |
| 6 | + "files": ["dist/*"], |
| 7 | + "main": "./dist/index.umd.cjs", |
| 8 | + "module": "./dist/index.js", |
| 9 | + "exports": { |
| 10 | + ".": { |
| 11 | + "import": "./dist/index.js", |
| 12 | + "require": "./dist/index.umd.cjs" |
| 13 | + } |
| 14 | + }, |
| 15 | + "repository": { |
| 16 | + "url": "https://github.com/v-vibe/vue-styled-components.git" |
| 17 | + }, |
6 | 18 | "workspaces": [ |
7 | 19 | "package/*", |
8 | 20 | "example/*", |
9 | 21 | "docs/*" |
10 | 22 | ], |
11 | 23 | "scripts": { |
12 | 24 | "dev": "pnpm -C example dev", |
13 | | - "build": "tsc && vite build", |
14 | | - "test": "pnpm -C core test", |
| 25 | + "build": "pnpm typecheck && vite build", |
| 26 | + "test": "vitest", |
| 27 | + "coverage": "vitest run --coverage", |
15 | 28 | "docs:dev": "pnpm -C docs docs:dev", |
16 | 29 | "docs:build": "pnpm -C docs docs:build", |
17 | 30 | "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", |
|
32 | 45 | "@typescript-eslint/parser": "^7.4.0", |
33 | 46 | "@vitejs/plugin-vue": "^5.0.4", |
34 | 47 | "@vitejs/plugin-vue-jsx": "^3.1.0", |
| 48 | + "@vitest/coverage-v8": "^1.5.0", |
35 | 49 | "@vue/eslint-config-prettier": "^9.0.0", |
| 50 | + "@vue/test-utils": "^2.4.5", |
| 51 | + "jsdom": "^24.0.0", |
36 | 52 | "commitizen": "^4.3.0", |
37 | 53 | "cz-conventional-changelog": "^3.3.0", |
38 | 54 | "eslint": "^8.57.0", |
|
43 | 59 | "semantic-release": "^23.0.8", |
44 | 60 | "typescript": "^5.4.3", |
45 | 61 | "vite": "^5.2.0", |
| 62 | + "vitest": "^1.5.0", |
46 | 63 | "vue-tsc": "^2.0.7" |
47 | 64 | }, |
48 | 65 | "config": { |
|
0 commit comments