-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.43 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
{
"name": "unified-doc-react",
"version": "3.1.1",
"description": "react wrapper for unified-doc",
"license": "MIT",
"homepage": "https://github.com/unified-doc/unified-doc-react",
"repository": "https://github.com/unified-doc/unified-doc-react",
"bugs": "https://github.com/unified-doc/unified-doc-react/issues",
"author": "Chris Zhou <[email protected]> (https://chrisrzhou.io)",
"keywords": [
"unified",
"doc",
"react",
"document",
"file",
"content",
"unist",
"hast",
"parse",
"html",
"markdown",
"text",
"compile",
"export",
"mark",
"annotate",
"highlight",
"nlp",
"search"
],
"scripts": {
"bootstrap": "npm install",
"build": "microbundle --jsx React.createElement",
"clean": "rm -rf dist",
"dev": "microbundle watch --jsx React.createElement",
"lint": "xo --fix; tsc",
"prepare": "npm run clean; npm run build",
"release": "standard-version -s --infile changelog.md",
"test": "jest --watch",
"test:run": "jest"
},
"main": "dist/index.js",
"module": "dist/index.module.js",
"source": "index.js",
"typings": "types/index.d.ts",
"files": [
"dist",
"types"
],
"dependencies": {
"rehype-react": "^6.1.0",
"unified-doc": "^3.3.2"
},
"devDependencies": {
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.1",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.49",
"babel-jest": "^26.3.0",
"eslint-config-xo-react": "^0.23.0",
"eslint-plugin-react": "^7.21.2",
"eslint-plugin-react-hooks": "^4.1.0",
"husky": "^4.2.5",
"jest": "^26.4.2",
"microbundle": "^0.12.2",
"react": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rehype-highlight": "^4.0.0",
"standard-version": "^9.0.0",
"typescript": "^4.0.3",
"xo": "^0.33.1"
},
"peerDependencies": {
"react": "^16.13.1"
},
"husky": {
"hooks": {
"pre-push": "npm prepare; npm run lint; npm run test:run"
}
},
"prettier": {
"bracketSpacing": true,
"jsxBracketSameLine": true,
"trailingComma": "all",
"useTabs": false
},
"xo": {
"env": [
"jest"
],
"extends": [
"xo-react"
],
"prettier": true,
"rules": {
"capitalized-comments": "off",
"padding-line-between-statements": "off",
"new-cap": "off",
"react/function-component-definition": "off",
"react/prop-types": "off"
}
}
}