0.0.5 • Published 8 years ago

@carantes/logic v0.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Shared code for Veloe apps

Module that contains shared code between Veloe projects

Instructions

Install all packages npm i

Then build npm run build

The final code should be on the dist folder ready to be implemented on other apps

Using this project on other apps

To use that library on other projects you should install this as an npm package

//other project package.json
...
"dependencies": {
    ...,
    "logic": "git+https://<vsts_username>:<vsts_user_token>@fastalelo.visualstudio.com/HUGE/_git/logic#<branch_or_commit_hash>"
    ...
}

To sync the website and mobile projects with the changes from logic, run the dev npm script to update the package for all hostApps using this package npm run dev

Make sure all the projects are on the same folder and that node_modules is on the project root directory so the sync script works properly. E.g:

/projects/website/node_modules
/projects/mobile/node_modules
/projects/logic/node_modules

Also, you can watch for changes npm run dev:watch