|
2 | 2 | "name": "react-element-to-jsx-string",
|
3 | 3 | "version": "16.0.0",
|
4 | 4 | "description": "Turn a ReactElement into the corresponding JSX string.",
|
5 |
| - "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610", |
6 | 5 | "main": "dist/cjs/index.js",
|
7 | 6 | "module": "dist/esm/index.js",
|
8 | 7 | "browser": "dist/cjs/index.js",
|
9 | 8 | "types": "index.d.ts",
|
10 | 9 | "scripts": {
|
11 |
| - "build": "rollup -c", |
| 10 | + "build": "tsup", |
12 | 11 | "prebuild": "rm -rf dist/",
|
13 | 12 | "build:esm": "tsc --module esnext --outDir lib/esm",
|
14 | 13 | "build:cjs": "tsc --module commonjs --outDir lib/cjs",
|
15 | 14 | "lint": "eslint --ext ts --ext tsx src/",
|
16 | 15 | "lint:fix": "yarn run lint -- --fix",
|
17 | 16 | "prettier:fix": "prettier --write \"**/*.{ts,tsx,js,json}\"",
|
18 |
| - "test": "jest", |
19 |
| - "test:watch": "jest --watch", |
| 17 | + "test": "vitest", |
20 | 18 | "release": "./release.sh",
|
21 | 19 | "smoke": "node tests/smoke/run"
|
22 | 20 | },
|
|
26 | 24 | },
|
27 | 25 | "license": "MIT",
|
28 | 26 | "repository": "algolia/react-element-to-jsx-string",
|
29 |
| - "devDependencies": { |
30 |
| - "@babel/cli": "7.15.7", |
31 |
| - "@babel/core": "7.15.5", |
32 |
| - "@babel/preset-env": "7.15.6", |
33 |
| - "@babel/preset-react": "7.14.5", |
34 |
| - "@babel/preset-typescript": "^7.15.0", |
35 |
| - "@rollup/plugin-typescript": "^8.2.5", |
36 |
| - "@types/enzyme": "^3.10.9", |
37 |
| - "@types/enzyme-adapter-react-16": "^1.0.6", |
38 |
| - "@types/jest": "^27.0.2", |
39 |
| - "@types/react": "^17.0.26", |
40 |
| - "@types/react-is": "^17.0.2", |
41 |
| - "@typescript-eslint/eslint-plugin": "^4.29.3", |
42 |
| - "@typescript-eslint/parser": "^4.29.3", |
43 |
| - "babel-eslint": "10.1.0", |
44 |
| - "babel-jest": "27.2.4", |
45 |
| - "babel-register": "6.26.0", |
46 |
| - "conventional-changelog-cli": "2.2.2", |
47 |
| - "doctoc": "1.4.0", |
48 |
| - "enzyme": "3.11.0", |
49 |
| - "enzyme-adapter-react-16": "1.15.6", |
50 |
| - "eslint": "7.32.0", |
51 |
| - "eslint-config-airbnb": "^18.2.1", |
52 |
| - "eslint-config-airbnb-typescript": "^14.0.0", |
53 |
| - "eslint-config-algolia": "19.0.2", |
54 |
| - "eslint-config-prettier": "8.3.0", |
55 |
| - "eslint-plugin-import": "2.24.2", |
56 |
| - "eslint-plugin-jest": "24.5.0", |
57 |
| - "eslint-plugin-jsx-a11y": "6.4.1", |
58 |
| - "eslint-plugin-react": "7.26.1", |
59 |
| - "eslint-plugin-react-hooks": "4.2.0", |
60 |
| - "esm": "3.2.25", |
61 |
| - "expect": "27.2.4", |
62 |
| - "husky": "3.1.0", |
63 |
| - "jest": "27.5.1", |
64 |
| - "json": "10.0.0", |
65 |
| - "lint-staged": "10.5.4", |
66 |
| - "mversion": "2.0.1", |
67 |
| - "prettier": "2.4.1", |
68 |
| - "react": "16.14.0", |
69 |
| - "react-dom": "16.14.0", |
70 |
| - "react-test-renderer": "16.14.0", |
71 |
| - "rollup": "2.57.0", |
72 |
| - "rollup-plugin-babel": "4.4.0", |
73 |
| - "rollup-plugin-node-builtins": "2.1.2", |
74 |
| - "rollup-plugin-node-globals": "1.4.0", |
75 |
| - "rollup-plugin-node-resolve": "5.2.0", |
76 |
| - "rollup-plugin-sourcemaps": "0.6.3", |
77 |
| - "typescript": "4.4.3" |
| 27 | + "dependencies": { |
| 28 | + "@base2/pretty-print-object": "1.0.2" |
78 | 29 | },
|
79 | 30 | "peerDependencies": {
|
80 | 31 | "react": "^19.0.0",
|
81 | 32 | "react-dom": "^19.0.0",
|
82 | 33 | "react-is": "^19.0.0"
|
83 | 34 | },
|
84 |
| - "dependencies": { |
85 |
| - "@base2/pretty-print-object": "1.0.2" |
86 |
| - }, |
87 |
| - "jest": { |
88 |
| - "setupFilesAfterEnv": ["<rootDir>tests/setupTests.ts"] |
| 35 | + "devDependencies": { |
| 36 | + "@testing-library/dom": "^10.4.0", |
| 37 | + "@testing-library/jest-dom": "^6.6.3", |
| 38 | + "@testing-library/react": "^16.1.0", |
| 39 | + "@types/react": "^19.0.6", |
| 40 | + "@types/react-dom": "^19.0.3", |
| 41 | + "@types/react-is": "^19.0.0", |
| 42 | + "conventional-changelog-cli": "2.1.1", |
| 43 | + "doctoc": "1.4.0", |
| 44 | + "esm": "3.2.25", |
| 45 | + "happy-dom": "^16.5.3", |
| 46 | + "mversion": "2.0.1", |
| 47 | + "prettier": "3.4.2", |
| 48 | + "react": "19.0.0", |
| 49 | + "react-dom": "19.0.0", |
| 50 | + "react-is": "19.0.0", |
| 51 | + "tsup": "^8.3.5", |
| 52 | + "typescript": "^5.7.3", |
| 53 | + "vitest": "^2.1.8" |
89 | 54 | }
|
90 | 55 | }
|
0 commit comments