Skip to content

Commit 7df229f

Browse files
committed
Publish to npm
1 parent cb4f7e2 commit 7df229f

2 files changed

Lines changed: 30 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can install **javascript-phone-validation** via npm, from our CDN, or downlo
1919
Download and install the library from npm:
2020

2121
```
22-
npm install javascript-phone-validation --save
22+
npm install @abstractapi/javascript-phone-validation --save
2323
```
2424

2525
In your project, import it and configure your `API_KEY`:

package.json

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "javascript-phone-validation",
2+
"name": "@abstractapi/javascript-phone-validation",
33
"version": "0.1.0",
44
"description": "AbstractAPI Javascript Phone Validation Library - Wrapper to quickly start using the powerful AbstractAPI's Phone Validation service in your projects.",
55
"main": "index.js",
@@ -10,14 +10,30 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "https://github.com/abstractapi/javascript-phone-validation.git"
14-
},
15-
"keywords": ["API", "Abstract", "Library", "PhoneValidation", "Wrapper", "abstract", "abstractapi", "api", "geolocation", "ip", "ip geolocation", "library", "phone-api", "phone-authentication", "phone-validation", "phone-verification", "javascript-library", "verify-phone-numbers", "wrapper"],
16-
"author": {
17-
"name" : "Benjamin Bouchet",
18-
"email" : "libraries@abstractapi.com",
19-
"url" : "https://abstractapi.com/"
13+
"url": "git+https://github.com/abstractapi/javascript-phone-validation.git"
2014
},
15+
"keywords": [
16+
"API",
17+
"Abstract",
18+
"Library",
19+
"PhoneValidation",
20+
"Wrapper",
21+
"abstract",
22+
"abstractapi",
23+
"api",
24+
"geolocation",
25+
"ip",
26+
"ip geolocation",
27+
"library",
28+
"phone-api",
29+
"phone-authentication",
30+
"phone-validation",
31+
"phone-verification",
32+
"javascript-library",
33+
"verify-phone-numbers",
34+
"wrapper"
35+
],
36+
"author": "Benjamin Bouchet <libraries@abstractapi.com> (https://abstractapi.com/)",
2137
"license": "MIT",
2238
"bugs": {
2339
"url": "https://github.com/abstractapi/javascript-phone-validation/issues"
@@ -37,6 +53,10 @@
3753
"webpack-cli": "^4.5.0"
3854
},
3955
"dependencies": {
40-
"javascript-core": "https://github.com/abstractapi/javascript-core.git"
56+
"@abstractapi/javascript-core": "0.x"
57+
},
58+
"directories": {
59+
"lib": "lib",
60+
"test": "test"
4161
}
4262
}

0 commit comments

Comments
 (0)