forked from peternewnham/react-html-parser
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
118 lines (118 loc) · 4.09 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
110
111
112
113
114
115
116
117
118
{
"name": "@orrisroot/react-html-parser",
"version": "2.1.2",
"description": "Parse HTML into React components",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"umd:main": "dist/react-html-parser.min.js",
"unpkg": "dist/react-html-parser.min.js",
"jsdelivr": "dist/react-html-parser.min.js",
"source": "src/index.ts",
"scripts": {
"clean": "rimraf coverage dist lib",
"check": "npm run lint && npm run test",
"test": "karma start --single-run",
"test:watch": "karma start",
"lint:prettier": "prettier --check .",
"lint:eslint": "eslint .",
"lint:cspell": "cspell .",
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:cspell",
"fix:prettier": "npm run lint:prettier -- --write",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix": "npm run fix:prettier && npm run fix:eslint",
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min",
"build:lib": "rimraf lib && babel --extensions '.ts' ./src -d lib && tsc -p ./tsconfig.types.json",
"build:umd": "webpack --config webpack.dev.js",
"build:umd:min": "webpack --config webpack.prod.js",
"prerelease": "npm run clean && npm run check",
"release": "npm run build",
"postrelease": "git push --follow-tags && npm publish",
"release:patch": "npm version patch && npm run release",
"release:minor": "npm version minor && npm run release",
"release:major": "npm version major && npm run release",
"demo:clean": "rimraf demo/dist",
"demo:dev": "cd demo && npm run start",
"demo:build": "cd demo && npm run build",
"demo:push": "cd demo/dist && git init && git commit --allow-empty -m 'update demo' && git checkout -b gh-pages && git add . && git commit -am 'update demo' && git push [email protected]:orrisroot/react-html-parser gh-pages --force",
"demo:publish": "npm run demo:clean && npm run demo:build && npm run demo:push"
},
"repository": {
"type": "git",
"url": "https://github.com/orrisroot/react-html-parser.git"
},
"keywords": [
"react",
"html",
"htmlparser",
"htmlparser2",
"inner html",
"dangerouslySetInnerHTML"
],
"author": "Peter Newnham",
"contributors": [
"Yoshihiro Okumura"
],
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-object-assign": "^7.22.5",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@orrisroot/inject-loader": "^5.0.0",
"@types/node": "^18.17.6",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"cspell": "^7.0.1",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"jasmine-core": "^5.1.0",
"karma": "^6.4.2",
"karma-babel-preprocessor": "^8.0.2",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-jasmine": "^5.1.0",
"karma-spec-reporter": "^0.0.36",
"karma-webpack": "^5.0.0",
"prettier": "^3.0.2",
"puppeteer": "^21.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.9.0"
},
"dependencies": {
"htmlparser2": "^9.0.0"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-object-assign"
]
}
}