Skip to content

Commit 220179f

Browse files
Prepare the package for 1.0.0 release
1 parent e03594e commit 220179f

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ I believe Reactive Forms validation shouldn't require the developer to write lot
1717

1818
To install this library, run:
1919

20-
**NOT YET AVAILABLE**
21-
2220
```bash
2321
npm install angular-reactive-validation --save
2422
```

angular-reactive-validation/package.json

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
{
22
"name": "angular-reactive-validation",
3-
"version": "1.0.0-alpha.0",
4-
"repository": "https://github.com/davidwalschots/angular-reactive-validation.git",
3+
"description": "I believe Reactive Forms validation shouldn't require the developer to write lots of HTML to show validation messages. This library makes it easy.",
4+
"version": "1.0.0",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/davidwalschots/angular-reactive-validation.git"
8+
},
59
"author": {
6-
"name": "David Walschots"
10+
"name": "David Walschots",
11+
"email": "[email protected]"
712
},
13+
"bugs": "https://github.com/davidwalschots/angular-reactive-validation/issues",
14+
"keywords": [
15+
"angular",
16+
"validation",
17+
"reactive-forms"
18+
],
819
"license": "MIT",
920
"private": false,
1021
"peerDependencies": {
1122
"@angular/core": "^6.0.0",
1223
"@angular/common": "^6.0.0",
1324
"@angular/forms": "^6.0.0",
14-
"rxjs": "^6.1.0",
15-
"tslib": "^1.9.0"
25+
"rxjs": "^6.1.0"
1626
},
1727
"ngPackage": {
1828
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"lint": "ng lint",
1010
"e2e": "ng e2e",
1111
"build:app": "ng build --prod",
12-
"build:lib": "rimraf dist && ng-packagr -p angular-reactive-validation/package.json"
12+
"build:lib": "rimraf dist && ng-packagr -p angular-reactive-validation/package.json && rimraf dist/angular-reactive-validation.tgz && cpx README.md dist/angular-reactive-validation",
13+
"publish": "npm publish dist/angular-reactive-validation"
1314
},
1415
"private": true,
1516
"dependencies": {
@@ -25,7 +26,8 @@
2526
"core-js": "^2.4.1",
2627
"rxjs": "^6.1.0",
2728
"tslib": "^1.9.0",
28-
"zone.js": "^0.8.26"
29+
"zone.js": "^0.8.26",
30+
"cpx": "^1.5.0"
2931
},
3032
"devDependencies": {
3133
"@angular/cli": "6.0.0",

0 commit comments

Comments
 (0)