@artickets/common
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published
  1. tsc --init
  2. npm i typescript del-cli --save-dev
  3. add to package.json
{
  "main": "./build/index.js",
  "types": "./build/index.js",
  "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"
  }
}``
  1. tsconfig.json

    • uncomment "declaration"
    • "outDir" "./build"
  2. npm run build (preceded by npm version patch) npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @artickets/common

Weekly Downloads

1

Version

1.0.13

License

ISC

Unpacked Size

21.8 kB

Total Files

44

Last publish

Collaborators

  • ayalrosenberg