|
7 | 7 | "author": "Anton Kosykh",
|
8 | 8 | "repository": {
|
9 | 9 | "type": "git",
|
10 |
| - "url": "https://github.com/atomic-router/react" |
| 10 | + "url": "git+https://github.com/atomic-router/react.git" |
11 | 11 | },
|
12 | 12 | "contributors": [
|
13 | 13 | "Anton Kosykh",
|
14 | 14 |
|
15 | 15 | ],
|
16 | 16 | "license": "MIT",
|
17 |
| - "main": "dist/atomic-router.js", |
18 |
| - "module": "dist/atomic-router.mjs", |
19 |
| - "unpkg": "dist/atomic-router.umd.js", |
20 |
| - "types": "dist/atomic-router.d.ts", |
| 17 | + "main": "dist/index.js", |
| 18 | + "module": "dist/index.mjs", |
| 19 | + "types": "dist/index.d.ts", |
21 | 20 | "exports": {
|
22 | 21 | ".": {
|
23 | 22 | "import": {
|
24 |
| - "types": "./dist/atomic-router.d.mts", |
25 |
| - "default": "./dist/atomic-router.mjs" |
| 23 | + "types": "./dist/index.d.mts", |
| 24 | + "default": "./dist/index.mjs" |
26 | 25 | },
|
27 | 26 | "require": {
|
28 |
| - "types": "./dist/atomic-router.d.ts", |
29 |
| - "default": "./dist/atomic-router.js" |
| 27 | + "types": "./dist/index.d.ts", |
| 28 | + "default": "./dist/index.js" |
30 | 29 | },
|
31 |
| - "node": "./dist/atomic-router.js", |
32 |
| - "default": "./dist/atomic-router.mjs" |
| 30 | + "default": "./dist/index.mjs" |
33 | 31 | },
|
34 | 32 | "./package.json": "./package.json"
|
35 | 33 | },
|
36 | 34 | "files": [
|
37 | 35 | "dist"
|
38 | 36 | ],
|
39 | 37 | "engines": {
|
40 |
| - "node": ">=14" |
| 38 | + "node": ">=18" |
41 | 39 | },
|
42 | 40 | "scripts": {
|
43 | 41 | "test": "tsc --noEmit && vitest run && publint ./",
|
|
46 | 44 | "test:watch": "vitest --watch",
|
47 | 45 | "lint": "prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,md}\"",
|
48 | 46 | "format": "prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,md}\"",
|
49 |
| - "build": "rollup -c", |
| 47 | + "build": "tsup", |
50 | 48 | "prepare": "pnpm build",
|
51 | 49 | "dev": "cd ./playground && vite"
|
52 | 50 | },
|
53 | 51 | "dependencies": {
|
54 |
| - "clsx": "^1.1.1" |
| 52 | + "clsx": "^2.1.1" |
55 | 53 | },
|
56 | 54 | "peerDependencies": {
|
57 |
| - "atomic-router": "^0.11.0", |
| 55 | + "atomic-router": "^0.12.0", |
58 | 56 | "effector": "^22.8.8 || ^23",
|
59 | 57 | "effector-react": "^22.1.0 || ^23",
|
60 |
| - "react": "^17 || ^18" |
| 58 | + "react": "^17 || ^18 || ^19" |
61 | 59 | },
|
62 | 60 | "devDependencies": {
|
63 | 61 | "@babel/cli": "^7.23.4",
|
|
69 | 67 | "@babel/preset-env": "^7.23.8",
|
70 | 68 | "@babel/preset-react": "^7.23.3",
|
71 | 69 | "@babel/preset-typescript": "^7.23.3",
|
72 |
| - "@rollup/plugin-babel": "^6.0.4", |
73 |
| - "@rollup/plugin-commonjs": "^25.0.7", |
74 |
| - "@rollup/plugin-node-resolve": "^15.2.3", |
75 |
| - "@rollup/plugin-terser": "^0.4.4", |
76 | 70 | "@testing-library/jest-dom": "^6.2.0",
|
77 |
| - "@testing-library/react": "^14.1.2", |
| 71 | + "@testing-library/react": "^16.3.0", |
| 72 | + "@trivago/prettier-plugin-sort-imports": "^5.2.2", |
78 | 73 | "@types/jest": "^29.5.11",
|
79 | 74 | "@types/react": "^17 || ^18",
|
80 | 75 | "@vitejs/plugin-react": "^4.2.1",
|
81 |
| - "atomic-router": "^0.11.0", |
| 76 | + "atomic-router": "^0.12.0", |
82 | 77 | "effector": "^23.3.0",
|
83 | 78 | "effector-react": "^23.3.0",
|
84 | 79 | "history": "^5.3.0",
|
85 | 80 | "jsdom": "^26.1.0",
|
86 |
| - "prettier": "^3.2.2", |
| 81 | + "prettier": "^3.5.3", |
87 | 82 | "publint": "^0.3.12",
|
88 | 83 | "react": "^18.2.0",
|
89 | 84 | "react-dom": "^18.2.0",
|
90 |
| - "rollup": "^4.9.5", |
91 |
| - "rollup-plugin-dts": "^6.1.0", |
92 | 85 | "tslib": "^2.6.2",
|
93 |
| - "typescript": "^5.3.3", |
| 86 | + "tsup": "^8.4.0", |
| 87 | + "typescript": "^5.8.3", |
94 | 88 | "vite": "^6.3.5",
|
95 | 89 | "vitest": "^3.1.3"
|
96 | 90 | },
|
|
0 commit comments