@mistborn-electrum/common
v1.0.13
Published
* Update tsconfig.json ``` "declaration": true, "outDir": "./build", ```
Downloads
6
Readme
Creating a Common Module
- Update tsconfig.json
"declaration": true,
"outDir": "./build",
Signup in NPM
Run NPM login in terminal
Update package.json
"name": "@mistborn-electrum/common",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"files": [
"build/**/*"
],
"scripts": [
"clean": "del ./build/*",
"build": "npm run clean && tsc",
"pub": "git add . && git commit -m \"Updates\" && npm version patch && npm run build && npm publish --access public"
],
- Update/Add package in main application
npm install --save @mistborn-electrum/common
npm update @mistborn-electrum/common