@youyouzone/react-code-highlight
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@youyouzone/react-code-highlight", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "lib/index.js", | ||
@@ -40,6 +40,5 @@ "types": "lib/index.d.ts", | ||
"peerDependencies": { | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1" | ||
"react": "^16.13.1" | ||
}, | ||
"homepage": "https://github.com/Eric-Schecter/react-code-highlight" | ||
} |
@@ -1,5 +0,1 @@ | ||
<p align="center"> | ||
<img src="./screenshot/profile.gif" alt=''> | ||
</p> | ||
# React-Code-Highlight | ||
@@ -27,3 +23,3 @@ React component for code highlight base on hightlight.js. | ||
* language?: string - highlight langeuage, powered by highlight.js. Default is 'javascript'. | ||
* debounceTime?: number - debounce time of input change to invoke callback function. Default is 666. | ||
* debounceTime?: number - debounce time of input change to invoke callback function. Default is 666 ms. | ||
@@ -30,0 +26,0 @@ ## License |
@@ -10,2 +10,3 @@ { | ||
"module": "ESNext", | ||
"allowJs": true, | ||
"moduleResolution": "node", | ||
@@ -12,0 +13,0 @@ "esModuleInterop": true, |
@@ -37,10 +37,4 @@ const path = require('path'); | ||
amd: 'react' | ||
}, | ||
'react-dom': { | ||
root: 'ReactDOM', | ||
commonjs2: 'react-dom', | ||
commonjs: 'react-dom', | ||
amd: 'react-dom' | ||
}, | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
1696730
6748
31