Skip to content

Commit

Permalink
publish v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mecoepcoo committed Mar 26, 2019
1 parent f10aa30 commit 1d65c4b
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 8 deletions.
98 changes: 97 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"types": "types/index.d.ts",
"scripts": {
"test": "jest --coverage",
"test": "jest --coverage --collectCoverage && codecov --token=23ae210b-0144-40e3-908f-c05411011078",
"build:main": "rollup -c build/rollup.config.js",
"build:min": "rollup -c build/rollup.minify.js",
"build": "npm run build:main && npm run build:min"
Expand Down Expand Up @@ -35,6 +35,7 @@
"babel": "^6.23.0",
"babel-eslint": "^10.0.1",
"babel-preset-es2015-rollup": "^3.0.0",
"codecov": "^3.2.0",
"eslint": "^5.15.3",
"jest": "^24.5.0",
"mock-local-storage": "^1.1.8",
Expand Down
17 changes: 11 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# tz-storage
![GitHub file size in bytes](https://img.shields.io/github/size/mecoepcoo/tz-storage/dist/tz-storage.min.js.svg)
![GitHub](https://img.shields.io/github/license/mecoepcoo/tz-storage.svg)
![GitHub package.json version](https://img.shields.io/github/package-json/v/mecoepcoo/tz-storage.svg)
![npm](https://img.shields.io/npm/v/tz-storage.svg?color=blueviolet)
![npm](https://img.shields.io/npm/dt/tz-storage.svg)

<a href="https://www.npmjs.com/package/tz-storage"><img src="https://img.shields.io/github/size/mecoepcoo/tz-storage/dist/tz-storage.min.js.svg" alt="size"></a>
<a href="https://github.com/mecoepcoo/tz-storage/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mecoepcoo/tz-storage.svg" alt="license"></a>
<a href="[https://github.com/mecoepcoo/tz-storage/blob/master/LICENSE](https://codecov.io/gh/mecoepcoo/tz-storage)"><img src="https://img.shields.io/codecov/c/github/mecoepcoo/tz-storage.svg" alt="coverage"></a>
<a href="https://github.com/mecoepcoo/tz-storage"><img src="https://img.shields.io/github/package-json/v/mecoepcoo/tz-storage.svg" alt="github version"></a>
<a href="https://www.npmjs.com/package/tz-storage"><img src="https://img.shields.io/npm/v/tz-storage.svg?color=blueviolet" alt="npm version"></a>
<a href="https://npmcharts.com/compare/tz-storage"><img src="https://img.shields.io/npm/dt/tz-storage.svg" alt="downloads"></a>

A light-weight localStorage tool.

Expand All @@ -15,9 +15,14 @@ A light-weight localStorage tool.
- ~3kb before gzipped

# Install
## npm
```shell
$ npm install tz-localstorage --save
```
## browser
```javascript
<script src="tz-storage.min.js"></script>
```

# Usage
Check compatibility:
Expand Down

0 comments on commit 1d65c4b

Please sign in to comment.