New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-telephone-input

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-telephone-input - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

.npmignore

39

package.json
{
"name": "react-telephone-input",
"version": "1.1.0",
"version": "1.2.0",
"description": "React component for entering and validating international telephone numbers. Inspired from the awesome jquery plugin for the same - https://github.com/Bluefieldscom/intl-tel-input.",
"main": "dist/index.js",
"files": [
"index.js",
"country_data.js",
"styles.less"
],
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node_modules/.bin/watchify example/index.js -o example/bundle.js -v & st -nc",
"prepublish": "node_modules/.bin/babel src/index.js > dist/index.js"
"build": "gulp clean && NODE_ENV=production gulp build",
"examples": "gulp dev:server",
"publish:site": "gulp publish:examples",
"release": "gulp release",
"start": "gulp dev",
"test": "echo \"no tests yet\" && exit 0",
"watch": "gulp watch:lib",
"test": "mocha --compilers js:babel/register"
},

@@ -41,17 +41,26 @@ "repository": {

"browserify": "^6.1.0",
"gulp": "^3.9.0",
"lodash": "^3.9.3",
"node-lessify": "0.0.6",
"react": "^0.13.3",
"react-component-gulp-tasks": "^0.7.0",
"reactify": "^0.16.0",
"st": "^0.5.2",
"watchify": "^3.2.2"
"watchify": "^3.2.2",
"jsdom": "^3.1.2",
"mocha": "^2.2.5",
"mocha-jsdom": "^0.4.0",
"chai": "^3.0.0"
},
"peerDependencies": {
"dependencies": {
"lodash": ">=2.4.1",
"react": ">=0.12.1"
},
"dependencies": {
"react": ">=0.12.1",
"classnames": "^2.1.2",
"react-onclickoutside": "^0.2.4"
},
"browserify-shim": {
"classnames": "global:classNames",
"react": "global:React",
"lodash": "global:lodash"
}
}

@@ -24,4 +24,4 @@ Reactjs Component for International Telephone Input

## How to use it
- Copy the styles.less file to your less/css folder and convert it to css (using whatever process you choose)
- Copy the flags.png file from the example folder to your root directory. If you copy it somewhere else, please correct the file location in the less file.
- If you install it from `npm install`, you can just do `var ReactTelephoneInut = require('react-telephone-input');`
- You will need to copy flags.png from example/src folder to see the flag icons for each country.

@@ -42,3 +42,3 @@ ## Features

go to your browser and type http://127.0.0.1:1337/example/index.html
go to your browser and type `http://localhost:8000`
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc