1.0.0 • Published 5 years ago

@tinyalley/axios v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

TypeScript library starter

styled with prettier Greenkeeper badge Travis Coveralls Dev Dependencies

Axios refactor with typescript and awesome typescript library starter.

Usage

git clone https://github.com/tinyalley/ts-axios axios
cd axios

yarn

TODO

  • 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 suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)