reactjs-freshchat
Advanced tools
Comparing version
{ | ||
"name": "reactjs-freshchat", | ||
"version": "1.1.11", | ||
"version": "1.2.0", | ||
"description": "A Reactjs component wrapper for Freshchat web-sdk api.", | ||
"author": "ViniciusTei", | ||
"license": "MIT", | ||
"repository": "ViniciusTei/reactjs-freshchat", | ||
"homepage": "https://github.com/ViniciusTei/reactjs-freshchat.git", | ||
"main": "dist/index.js", | ||
"style": "dist/styles.css", | ||
"module": "dist/index.modern.js", | ||
"source": "src/index.tsx", | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "rollup -c", | ||
"start": "rollup -c -w" | ||
"build": "microbundle-crl --no-compress --format modern,cjs", | ||
"start": "microbundle-crl watch --no-compress --format modern,cjs", | ||
"prepare": "run-s build", | ||
"test": "run-s test:unit test:build", | ||
"test:build": "run-s build", | ||
"test:lint": "eslint \"**/*.{ts,tsx}\"", | ||
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom", | ||
"test:watch": "react-scripts test --env=jsdom", | ||
"predeploy": "cd example && yarn install && yarn run build", | ||
"deploy": "gh-pages -d example/build" | ||
}, | ||
"author": "ViniciusTei", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ViniciusTei/reactjs-freshchat.git" | ||
"peerDependencies": { | ||
"react": "^16.0.0" | ||
}, | ||
"homepage": "https://github.com/ViniciusTei/reactjs-freshchat.git", | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "^4.2.4", | ||
"@testing-library/react": "^9.5.0", | ||
"@testing-library/user-event": "^7.2.1", | ||
"@types/jest": "^25.1.4", | ||
"@types/node": "^12.12.38", | ||
"@types/react": "^16.9.27", | ||
"@types/react-dom": "^16.9.7", | ||
"@typescript-eslint/eslint-plugin": "^2.26.0", | ||
"@typescript-eslint/parser": "^2.26.0", | ||
"microbundle-crl": "^0.13.10", | ||
"babel-eslint": "^10.0.3", | ||
"cross-env": "^7.0.2", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-config-standard-react": "^9.2.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-react": "^7.17.0", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"gh-pages": "^2.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.0.4", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-scripts": "^3.4.1", | ||
"typescript": "^3.7.5" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
@@ -22,28 +68,3 @@ "freshchat", | ||
"typescript" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.13.16", | ||
"@babel/preset-env": "^7.13.15", | ||
"@babel/preset-react": "^7.13.13", | ||
"@types/react": "^17.0.4", | ||
"@types/react-dom": "^17.0.3", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^8.2.2", | ||
"babel-runtime": "^6.26.0", | ||
"postcss": "^8.2.13", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"rollup": "^2.45.2", | ||
"rollup-plugin-postcss": "^4.0.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"typescript": "^4.2.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
}, | ||
"files": [ | ||
"dist" | ||
] | ||
} |
@@ -19,2 +19,3 @@ # ReactJS Freshchat | ||
import { Freshchat } from 'reactjs-freshchat'; | ||
import 'reactjs-freshchat/dist/index.css' | ||
@@ -31,3 +32,3 @@ //1. Anonymous User | ||
/> | ||
//3. Labeled chat | ||
//3. Labeled chat and styled colors | ||
<Freshchat | ||
@@ -58,2 +59,3 @@ token={'YOUR-TOKEN-HERE'} | ||
### License | ||
[](https://opensource.org/licenses/MIT) | ||
MIT © [ViniciusTei](https://github.com/ViniciusTei) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
21326
486.36%1
-50%9
200%199
Infinity%0
-100%59
3.51%29
93.33%2
Infinity%