-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
109 lines (109 loc) · 3.74 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
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "string-to-react-component",
"version": "4.0.1",
"private": false,
"description": "Dynamically create and render React components from strings at runtime, converting strings to React components for flexible UI generation.",
"keywords": [
"react",
"component",
"string-to-react",
"convert-string-to-react",
"render-react-from-string",
"react-parser",
"string",
"element",
"jsx",
"string-to-jsx",
"converter",
"parser",
"dynamic-components",
"runtime-components"
],
"author": {
"name": "dev-javascript",
"email": "[email protected]"
},
"types": "./index.d.ts",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/dev-javascript/string-to-react-component.git"
},
"homepage": "https://github.com/dev-javascript/string-to-react-component/",
"bugs": {
"url": "https://github.com/dev-javascript/string-to-react-component/issues"
},
"scripts": {
"watch": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env BABEL_OUTPUT=umd INCLUDE_POLYFILLS=true webpack --config webpack.config.js --env=development --watch",
"build": "set NODE_OPTIONS=--openssl-legacy-provider & npm-run-all clean:* --parallel build:lib:* & npm run build:dist",
"build:dist": "rollup -c",
"build:lib:cjs": "cross-env BABEL_OUTPUT=cjs babel src/ --out-dir lib/cjs/ --extensions .ts,.tsx --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap,**/*.d.ts",
"build:lib:esm": "babel src/ --out-dir lib/esm/ --extensions .ts,.tsx --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap,**/*.d.ts",
"build:lib:esm-pf": "cross-env INCLUDE_POLYFILLS=true babel src/ --out-dir lib/esm-including-polyfills/ --extensions .ts,.tsx --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap,**/*.d.ts",
"clean:lib": "rimraf lib",
"clean:dist": "rimraf dist",
"prepublishOnly": "npm run build",
"test": "jest",
"lint": "eslint src",
"deploy": "gh-pages -d demo",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build"
},
"peerDependencies": {
"@babel/standalone": ">=7.15.8",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.9",
"@babel/eslint-parser": "^7.25.0",
"@babel/plugin-transform-react-jsx": "^7.24.7",
"@babel/plugin-transform-react-jsx-self": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.25.0",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime-corejs3": "^7.25.0",
"@babel/standalone": "7.15.8",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/babel__standalone": "^7.1.7",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"babel-loader": "^9.1.3",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"gh-pages": "^6.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.2",
"npm-run-all": "^4.1.5",
"prettier": "3.3.3",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-styleguidist": "^12.0.1",
"react-test-renderer": "16.9.0",
"rollup": "^4.19.1",
"style-loader": "^4.0.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
},
"license": "MIT",
"directories": {
"lib": "lib"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"jest-extended"
],
"collectCoverage": true
}
}