forked from pveyes/htmr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.21 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
{
"name": "htmr",
"version": "0.6.2",
"description": "Simple and lightweight (< 2kB) HTML to React converter that works in server and browser",
"main": "lib/index.js",
"browser": "lib/htmr.min.js",
"files": [
"lib"
],
"scripts": {
"build": "rollup -c",
"clean": "rimraf lib",
"fmt": "prettier --write \"src/**/*.js\" README.md",
"flow": "flow",
"precommit": "lint-staged",
"prepublish": "npm-run-all clean build",
"size": "bundlesize",
"test": "npm-run-all -p flow test:coverage test:size",
"test:coverage": "jest --coverage --no-cache --ci --runInBand",
"test:watch": "jest --watch --no-cache",
"test:size": "npm-run-all clean build size"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pveyes/htmr.git"
},
"keywords": [
"html-to-react",
"html",
"to",
"react",
"simple",
"lightweight",
"universal",
"server",
"browser",
"convert",
"mapping"
],
"author": "Fatih Kalifa <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/pveyes/htmr/issues"
},
"homepage": "https://github.com/pveyes/htmr#readme",
"dependencies": {
"html-entities": "^1.2.1",
"posthtml-parser": "^0.4.0"
},
"peerDependencies": {
"react": "^15.6.1 || ^16.0.0"
},
"devDependencies": {
"babel-plugin-preval": "^1.4.3",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"bundlesize": "^0.15.3",
"flow-bin": "^0.64.0",
"husky": "^0.14.3",
"jest": "^22.0.5",
"lint-staged": "^6.0.0",
"npm-run-all": "^4.0.2",
"prettier": "^1.9.2",
"react": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.1",
"rollup": "^0.55.0",
"rollup-plugin-babel": "^3.0.1",
"rollup-plugin-commonjs": "^8.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-uglify": "^3.0.0"
},
"jest": {
"transform": {
"^.+\\.js$": "<rootDir>/preprocessor.js"
}
},
"bundlesize": [
{
"path": "./lib/htmr.min.js",
"maxSize": "2 kB"
}
],
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
]
}
}