-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.54 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.54 KB
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
{
"name": "@frontkom/block-react-parser",
"version": "1.4.0",
"description": "Gutenberg-generated HTML to React parser.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"scripts": {
"build": "rm -rf dist && NODE_ENV=production babel src --out-dir dist --copy-files",
"test": "npm run build && node --test",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
"prepublishOnly": "npm run lint && npm test"
},
"keywords": [
"html",
"react",
"parser",
"gutenberg"
],
"author": "Roberto Ornelas <rob@frontkom.com>",
"license": "ISC",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"dependencies": {
"@wordpress/block-serialization-default-parser": "^5.38.0",
"htmlparser2": "^8.0.1",
"react-attr-converter": "^0.3.1",
"style-to-js": "^1.1.1"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@eslint/js": "^9.0.0",
"eslint": "^9.0.0",
"eslint-plugin-react": "^7.34.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"peerDependencies": {
"react": "^17.0.2 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
],
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
]
},
"browserslist": "> 0.25%, not dead"
}