-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathpackage.json
96 lines (96 loc) · 2.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "react-element-to-jsx-string",
"version": "17.0.0",
"description": "Turn a ReactElement into the corresponding JSX string.",
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/cjs/index.js",
"types": "index.d.ts",
"scripts": {
"build": "rollup -c",
"build:flow": "flow-copy-source -v --ignore=*.spec.js src/ dist/cjs",
"prebuild": "rm -rf dist/",
"postbuild": "npm run build:flow",
"prepare": "npm run build",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"flow": "flow",
"precommit": "lint-staged",
"prepublishOnly": "npm run build",
"prettier:fix": "prettier --write \"**/*.{js,json}\"",
"test": "jest",
"test:watch": "jest --watch",
"release": "./release.sh",
"smoke": "node tests/smoke/run"
},
"lint-staged": {
"*.js": [
"prettier --write \"**/*.{js,json}\"",
"git add"
]
},
"author": {
"name": "Algolia, Inc.",
"url": "https://github.com/algolia"
},
"license": "MIT",
"repository": "algolia/react-element-to-jsx-string",
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@babel/preset-flow": "7.25.9",
"@babel/preset-react": "7.26.3",
"@commitlint/cli": "8.3.6",
"@commitlint/config-angular": "8.3.6",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "16.2.0",
"babel-eslint": "10.1.0",
"babel-jest": "24.9.0",
"babel-register": "6.26.0",
"conventional-changelog-cli": "2.2.2",
"doctoc": "1.4.0",
"eslint": "6.8.0",
"eslint-config-algolia": "14.0.1",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "22.21.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-react": "7.31.1",
"esm": "3.2.25",
"expect": "27.5.1",
"flow-bin": "0.119.1",
"flow-copy-source": "2.0.9",
"husky": "3.1.0",
"jest": "27.5.1",
"json": "10.0.0",
"lint-staged": "10.5.4",
"mversion": "2.0.1",
"prettier": "1.19.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-is": "19.0.0",
"rollup": "2.79.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-sourcemaps": "0.6.3"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-is": "^19.0.0"
},
"dependencies": {
"@base2/pretty-print-object": "1.0.2",
"is-plain-object": "5.0.0"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>tests/setupTests.js"
]
}
}