1.1.0 • Published 4 years ago
ae-util v1.1.0
AvantoEatsUtil
Contains common files used by multiple of our projects.
How to use
...........
Downloading the package
$ npm install --save ae-util
Uploading the package
First you need to login to NPM:
$ npm login
$ npm publish --registry http://ec2-35-169-204-71.compute-1.amazonaws.com:4873
(assuming nobody change the IP of the server)
I want to edit something!
Change the .ts files Don't mess with the .js files or the .d.ts files... they are automatically generated (see below)
I've made a change to the code and want to upload a new version
Whenever you are satisfied with your changes, change the version of the project on package.json and run tsc on the terminal to compile the files. In order for the tsc command to work, you need to install typescript on your machine. Do that using:
npm install -g typescript
Project Structure
Models
Contains typescript classes defining the models for objects used by our AvantoEats projects.
Util
Contains typescript classes with special functionality used by our projects