Skip to content

Commit

Permalink
fix(npm): Add missing NPM metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Sep 9, 2019
1 parent 2666737 commit 29206b9
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 2 deletions.
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,29 @@
"tslint:fix": "npm --scripts-prepend-node-path=auto run tslint -- --fix"
},
"private": true,
"author": {
"name": "Arturas Molcanovas",
"url": "https://github.com/Alorel",
"email": "a.molcanovas@gmail.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Alorel/ngx-sails.git"
},
"bugs": {
"url": "https://github.com/Alorel/ngx-sails/issues"
},
"description": "Sails socket.io bindings for Angular",
"keywords": [
"angular",
"ngx",
"sails",
"socket",
"socket.io",
"binding",
"bindings"
],
"license": "MIT",
"dependencies": {
"@angular/animations": "^8.2.5",
"@angular/common": "^8.2.5",
Expand Down
46 changes: 45 additions & 1 deletion projects/ngx-sails/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,45 @@
{"name":"@aloreljs/ngx-sails","publishConfig":{"access":"public"},"description":"Sails socket.io bindings for Angular","keywords":["angular","ngx","sails","socket","socket.io","binding","bindings"],"version":"1.0.1","dependencies":{"@types/socket.io-client":"^1.4.32"},"peerDependencies":{"@angular/common":"^8.0.0","@angular/core":"^8.0.0","rxjs":"^6.4.0","socket.io-client":"^2.0.0"},"devDependencies":{"@angular/platform-browser-dynamic":"^8.2.5","@types/lodash-es":"^4.17.3","lodash-es":"^4.17.15","zone.js":"~0.10.2"}}
{
"name": "@aloreljs/ngx-sails",
"version": "1.0.1",
"author": {
"name": "Arturas Molcanovas",
"url": "https://github.com/Alorel",
"email": "a.molcanovas@gmail.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Alorel/ngx-sails.git"
},
"bugs": {
"url": "https://github.com/Alorel/ngx-sails/issues"
},
"description": "Sails socket.io bindings for Angular",
"keywords": [
"angular",
"ngx",
"sails",
"socket",
"socket.io",
"binding",
"bindings"
],
"license": "MIT",
"dependencies": {
"@types/socket.io-client": "^1.4.32"
},
"peerDependencies": {
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0",
"rxjs": "^6.4.0",
"socket.io-client": "^2.0.0"
},
"devDependencies": {
"@angular/platform-browser-dynamic": "^8.2.5",
"@types/lodash-es": "^4.17.3",
"lodash-es": "^4.17.15",
"zone.js": "~0.10.2"
},
"publishConfig": {
"access": "public"
}
}
2 changes: 1 addition & 1 deletion sync-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for (const p of DEST_PATHS) {
const json = JSON.parse(fs.readFileSync(p, 'utf8'));
if (json.version !== ROOT_VERSION) {
json.version = ROOT_VERSION;
const contents = JSON.stringify(json).trim() + '\n';
const contents = JSON.stringify(json, null, 2).trim() + '\n';
fs.writeFileSync(p, contents);
}
}

0 comments on commit 29206b9

Please sign in to comment.