0.0.4 • Published 6 years ago

@inmanlabs/core v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

Inmanlabs Core Library

MIT Licensed library for core models, components, services, and utilities used across Inmanlabs.

Package and Deploy to Repo

Package:

yarn package

Login:

npm login

Publish:

npm publish /inmanlabs/workspace/inman-commons/inman-angular/core-lib/dist/core/inmanlabs-core-v*.tgz --access public

To Bootstrap Future Projects

To bootstrap new lib project:

ng new core-lib --create-application=false
cd core-lib
ng generate library core --prefix=inm
ng generate application core-tester

Add to package.json (under "scripts"):

{
  "ng": "ng",
  "start": "ng serve",
  "build": "ng build core",
  "copy_license": "cp ./LICENSE ./dist/core",
  "copy_readme": "cp ./README.md ./dist/core",
  "copy_files": "npm run copy_license && npm run copy_readme",
  "package": "ng build core && yarn copy_files && cd dist/core && yarn pack",
  "publish": "npm publish /inmanlabs/workspace/inman-commons/inman-angular/core-lib/dist/core/inmanlabs-core-v*.tgz --access public",
  "test": "ng test",
  "lint": "ng lint",
  "e2e": "ng e2e"
}

In "inner" package.json, add organization name to package name:

"@inmanlabs/core"

Add LICENSE file to top directory. Update README to reflect library content.

0.0.4

6 years ago

0.0.2

6 years ago

0.0.0

6 years ago

0.0.1

6 years ago