sonda.net.core.control v1.0.6
1.- npm init -y 2.- npm typescript -D 3- npx tsc --init
4- habilitar en tsconfig.ts "declaration": true, / Generates corresponding '.d.ts' file. / "declarationMap": true, / Generates a sourcemap for each corresponding '.d.ts' file. / "sourceMap": true, / Generates corresponding '.map' file. / "outDir": "lib", / Redirect output structure to the directory. /
5- agregar "include": "src"
6- se crea carpeta src 7- se crean los componentes 8- se modifica package.json "main": "lib/index.js", "types": "lib", "build": "tsc -p ." 9- npm i react @types/react -D 10- se agrega en package.json "peerDependencies": { "react":">=16.0.0" }, 11 se habilita react en typescript "jsx": "react", / Specify JSX code generation: 'preserve', 'react-native', or 'react'. / 12- se deben instalar las dependencias y el proyecto npm install @material-ui/core @material-ui/icons 13- npm run build