Skip to content

Commit

Permalink
feat: #17
Browse files Browse the repository at this point in the history
  • Loading branch information
BuptStEve committed May 2, 2019
1 parent ed17d6d commit 6467392
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
"extends": "standard",
"parser": "babel-eslint",
"rules": {
"indent": [2, 4],
"promise/param-names": 0,
"comma-dangle": [2, "always-multiline"],
extends: 'standard',
parser: 'babel-eslint',
rules: {
'indent': [2, 4],
'promise/param-names': 0,
'comma-dangle': [2, 'always-multiline'],
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tua-storage",
"version": "1.7.1",
"version": "1.7.2",
"description": "🏗 A common storage for web(localStorage), for RN(AsyncStorage), for mini-program(wx) or just memory cache(Node.js)",
"main": "dist/TuaStorage.cjs.js",
"module": "dist/TuaStorage.esm.js",
Expand Down
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// @ts-check

import json from 'rollup-plugin-json'
import babel from 'rollup-plugin-babel'
import replace from 'rollup-plugin-replace'
import { eslint } from 'rollup-plugin-eslint'
import { uglify } from 'rollup-plugin-uglify'

import pkg from './package.json'
import * as pkg from './package.json'

const input = `src/index.js`
const banner = `/* ${pkg.name} version ${pkg.version} */`
Expand Down

0 comments on commit 6467392

Please sign in to comment.