|
1 | 1 | {
|
2 |
| - "name": "monorepo", |
| 2 | + "name": "unplugin-react-pages", |
3 | 3 | "version": "0.0.0",
|
4 | 4 | "private": true,
|
5 | 5 | "packageManager": "[email protected]+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
|
|
14 | 14 | "keywords": [
|
15 | 15 | "cloudcome",
|
16 | 16 | "ydr.me",
|
17 |
| - "vite", |
18 | 17 | "plugin",
|
19 |
| - "vite-plugin", |
| 18 | + "unplugin", |
| 19 | + "vite", |
| 20 | + "webpack", |
| 21 | + "rollup", |
20 | 22 | "next.js",
|
21 | 23 | "react",
|
22 | 24 | "vue",
|
23 | 25 | "file-system-router",
|
| 26 | + "file-system-routing", |
24 | 27 | "router",
|
25 |
| - "app" |
| 28 | + "react-router", |
| 29 | + "pages" |
26 | 30 | ],
|
| 31 | + "sideEffects": false, |
| 32 | + "exports": { |
| 33 | + ".": { |
| 34 | + "types": "./dist/index.d.ts", |
| 35 | + "import": "./dist/index.mjs", |
| 36 | + "require": "./dist/index.cjs" |
| 37 | + }, |
| 38 | + "./package.json": "./package.json", |
| 39 | + "./client": "./client.d.ts" |
| 40 | + }, |
| 41 | + "main": "./dist/index.cjs", |
| 42 | + "module": "./dist/index.mjs", |
| 43 | + "types": "./dist/index.d.ts", |
| 44 | + "typesVersions": {}, |
| 45 | + "files": [ |
| 46 | + "client.d.ts", |
| 47 | + "dist" |
| 48 | + ], |
| 49 | + "engines": { |
| 50 | + "node": "18 || 20" |
| 51 | + }, |
27 | 52 | "scripts": {
|
28 | 53 | "prepare": "husky",
|
29 | 54 | "lint": "eslint .",
|
30 | 55 | "lint:fix": "eslint . --fix",
|
31 |
| - "test": "pnpm --filter='unplugin-*' run test", |
32 |
| - "test:coverage": "pnpm --filter='unplugin-*' run test:coverage", |
33 |
| - "build": "pnpm --filter='unplugin-*' run build", |
34 |
| - "pre-commit": "pnpm --filter='unplugin-*' run lint:type" |
| 56 | + "lint:type": "tsc --noEmit", |
| 57 | + "test": "vitest run", |
| 58 | + "test:coverage": "vitest run --coverage", |
| 59 | + "build": "NODE_ENV=production vite build", |
| 60 | + "pre-commit": "echo 0", |
| 61 | + "pre-commit1": "pnpm run lint:type" |
35 | 62 | },
|
36 | 63 | "workspaces": [
|
37 |
| - "packages/*" |
| 64 | + "docs" |
38 | 65 | ],
|
39 | 66 | "maintainers": [],
|
40 | 67 | "dependencies": {
|
41 |
| - "lint-staged": "^15.2.7" |
| 68 | + "glob": "^11.0.0", |
| 69 | + "lodash-es": "^4.17.21", |
| 70 | + "unplugin": "^1.12.0" |
42 | 71 | },
|
43 | 72 | "devDependencies": {
|
44 | 73 | "@antfu/eslint-config": "^2.23.2",
|
45 | 74 | "@commitlint/cli": "^19.3.0",
|
46 | 75 | "@commitlint/config-conventional": "^19.2.2",
|
47 | 76 | "@commitlint/types": "^19.0.3",
|
| 77 | + "@types/lodash-es": "^4.17.12", |
48 | 78 | "@types/node": "20",
|
| 79 | + "@types/react": "^18.3.3", |
49 | 80 | "@unocss/eslint-plugin": "^0.61.6",
|
| 81 | + "@vitest/coverage-v8": "^2.0.4", |
50 | 82 | "eslint": "^9.8.0",
|
51 | 83 | "eslint-import-resolver-typescript": "^3.6.1",
|
52 | 84 | "eslint-plugin-import-x": "^3.1.0",
|
53 | 85 | "husky": "^9.1.3",
|
| 86 | + "lint-staged": "^15.2.7", |
54 | 87 | "prettier": "^3.3.3",
|
| 88 | + "react": "^18.3.1", |
| 89 | + "react-router-dom": "^6.25.1", |
55 | 90 | "stylelint": "^16.7.0",
|
56 | 91 | "stylelint-config-css-modules": "^4.4.0",
|
57 | 92 | "stylelint-config-html": "^1.1.0",
|
58 | 93 | "stylelint-config-recommended": "^14.0.1",
|
59 | 94 | "stylelint-config-recommended-scss": "^14.1.0",
|
60 | 95 | "stylelint-prettier": "^5.0.2",
|
61 | 96 | "typescript": "^5.5.4",
|
62 |
| - "unocss": "^0.61.6" |
| 97 | + "unocss": "^0.61.6", |
| 98 | + "vite": "^5.3.5", |
| 99 | + "vite-plugin-dts": "^3.9.1", |
| 100 | + "vite-plugin-externalize-deps": "^0.8.0", |
| 101 | + "vitest": "^2.0.4" |
63 | 102 | }
|
64 | 103 | }
|
0 commit comments