1.0.0 • Published 4 years ago
@charmoller/database-module v1.0.0
Install Node v14.4.0
mkdir database-module cd database-module
init node project and install dependent packages
npm init --scope=@charmoller npm install @google-cloud/firestore lru-cache @types/lru-cache object-sizeof npm install --save-dev @types/node
install & initialize typescript
npm install typescript -g npx tsc --init edit package.json add "tsc": "tsc" under scripts add "type": "module" edit tsconfig.json "target": "es6"
install eslint
npm i -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser
install & initialize jest
npm install --save-dev jest @types/jest eslint-plugin-jest @babel/plugin-transform-modules-commonjs jest --init
compile
tsc
publish to npm
npm login npm publish --access public
1.0.0
4 years ago