1.0.0 • Published 7 years ago
@tinyalley/axios v1.0.0
TypeScript library starter
Axios refactor with typescript and awesome typescript library starter.
Usage
git clone https://github.com/tinyalley/ts-axios axios
cd axios
yarnTODO
- Finish readme.
- Add test cases.
Importing library
You can import the generated bundle to use the whole library generated by this starter:
import axios from 'mylib'Additionally, you can import the transpiled modules from dist/lib in case you have a modular library:
import something from 'mylib/dist/lib/something'NPM scripts
npm t: Run test suitenpm start: Runnpm run buildin watch modenpm run test:watch: Run test suite in interactive watch modenpm run test:prod: Run linting and generate coveragenpm run build: Generate bundles and typings, create docsnpm run lint: Lints codenpm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)
1.0.0
7 years ago