A helper library that contains the sports functions, hardcoded data and its constants.
npm install sports-utilA helper library that contains the sports functions, hardcoded data and its constants.
-It's writen in typescript so we can typecheck the data coming from the API. We then build the exported functions and transpile typescript into javascript in the folder dist. Any configuration of next generation module(for now we use ES6), can be found on the tsconfig.json.
run yarn
run yarn test
``text`
├── README.md
├── dist
├── src
│ ├── constants
│ ├── helpers
│ ├── services
│ └── types
│ └── index.ts
├── package.json
└── yarn.lock
First run yarn build to build the dist, and commit it. Then if no error occurs, run:
`sh`
$ yarn npm:patch
$ yarn npm:publish
If an error occurs, try running npm publish` directly.