@cordant/common-utils
v1.0.1
Published
API Common Utils
Downloads
7
Readme
Deployment
If you are on a Unix/Linux/Mac/Powershell systems run the following commands instead:
cd ./src # Go to package folder
# Build package and transpile
rm -r node_modules # Clean deployment
npm install # Install all packages and dependencies including dev. Ensures package-lock.json is built and updated.
npx tsc # Transpile Typescript to Javascript
# Build production ready package
cd ../dist/nodejs/node_modules/common-utils
npm ci --omit=dev # Clean install of only the production dependencies, excluding devDependencies.
# Return to root folder
cd ../../../..
# Deploy the layer
#serverless deploy