1.0.31 • Published 2 years ago

@kanztickets/common v1.0.31

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago
  1. Login to npm in command line terminal npm login

  2. Install package for project npm i del-cli tsc --save-dev

  3. change tsconfig.json uncomment declaration and outdir properties

  4. Create build folder mkdir build

  5. change file package.json by adding: "main": "./build/index.js" // specify file index.js for lookup when import from other file "types": "./build/index.d.ts" // this file was created when we npm run build. This file contains type of functions in index.js "files": "build/*/" "scripts": { "clean": "del ./build/*", // to clean file "build": "npm run clean && tsc" // clean file when build again }

Flow This common module

change config in tsconfig.json to specify out dir build, and create index.d.ts for types build current source from ts to js file in /build specify index.js for the external import specify index.d.ts for type definition

1.0.29

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago