@inmanlabs/location
v0.0.1
Published
MIT Licensed library to add support for Google's Places API and Inmanlabs Location entity.
Readme
Inmanlabs Location Library
MIT Licensed library to add support for Google's Places API and Inmanlabs Location entity.
Package and Deploy to Repo
Package:
yarn packageLogin:
npm loginPublish:
npm publish /inmanlabs/workspace/inman-commons/inman-angular/location-lib/dist/location/inmanlabs-location-v0.0.1.tgz --access publicTo Bootstrap Future Projects
To bootstrap new lib project:
ng new location-lib --create-application=false
cd location-lib
ng generate library location --prefix=inm
ng generate application location-testerAdd to package.json (under "scripts"):
{
"ng": "ng",
"start": "ng serve",
"build": "ng build location",
"copy_license": "cp ./LICENSE ./dist/location",
"copy_readme": "cp ./README.md ./dist/location",
"copy_files": "npm run copy_license && npm run copy_readme",
"package": "ng build location && yarn copy_files && cd dist/location && yarn pack",
"publish": "npm publish /inmanlabs/workspace/inman-commons/inman-angular/location-lib/dist/location/inmanlabs-location-v*.tgz --access public",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
}In "inner" package.json, add organization name to package name:
"@inmanlabs/location"Add LICENSE file to top directory. Update README to reflect library content.
