Primer page of test library - Gaetano1979/test-library-docs GitHub Wiki
Prima cosa fatta per la creazione della library
- creato file npm init -y
npm init -y
- creato file tsc --init
tsc --init
- creato script nel file package.json
"create_tsc_file" : "tsc -w", "start": "node ./dist">
- installo @tsconfig/node12
npm i @tsconfig/node12
- cambio il file tsconfing per la compilazione di typescript
"extends": "@tsconfig/node12/tsconfig.json",
- aggiungo exclude e include al file tsconfig
"exclude": ["node_modules"], "include": ["lib"]