diff --git a/README.md b/README.md index ae2fd88..6e1fcde 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -![pease.svg](https://cdn.rawgit.com/bubkoo/pease/master/pease.svg) +![mickey.svg](https://cdn.rawgit.com/bubkoo/mickey/master/mickey.svg) > Lightweight front-end framework for creating Painless React and Redux based app. -[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/pease/blob/master/LICENSE) +[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/mickey/blob/master/LICENSE) -[![NPM Version](https://img.shields.io/npm/v/pease.svg?style=flat-square)](https://www.npmjs.com/package/pease) -[![Dependencies](https://david-dm.org/bubkoo/pease/status.svg)](https://david-dm.org/bubkoo/pease) -[![Package Quality](http://npm.packagequality.com/shield/pease.svg)](http://packagequality.com/#?package=pease) +[![NPM Version](https://img.shields.io/npm/v/mickey.svg?style=flat-square)](https://www.npmjs.com/package/mickey) +[![Dependencies](https://david-dm.org/bubkoo/mickey/status.svg)](https://david-dm.org/bubkoo/mickey) +[![Package Quality](http://npm.packagequality.com/shield/mickey.svg)](http://packagequality.com/#?package=mickey) diff --git a/mickey.svg b/mickey.svg new file mode 100644 index 0000000..07c47b5 --- /dev/null +++ b/mickey.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/package.json b/package.json index 4a8872a..a9d11a6 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "pease", + "name": "mickey", "version": "0.1.0", "description": "Lightweight front-end framework for creating Painless React and Redux based app.", "main": "./lib/index.js", "keywords": [ - "pease", + "mickey", "react", "redux", "redux-saga", @@ -19,12 +19,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/bubkoo/pease.git" + "url": "git+https://github.com/bubkoo/mickey.git" }, "bugs": { - "url": "https://github.com/bubkoo/pease/issues" + "url": "https://github.com/bubkoo/mickey/issues" }, - "homepage": "https://github.com/bubkoo/pease#readme", + "homepage": "https://github.com/bubkoo/mickey#readme", "peerDependencies": { "react": "15.x", "react-dom": "15.x" diff --git a/src/getModelLoader.js b/src/getModelLoader.js index 49cd1ba..23a32ac 100644 --- a/src/getModelLoader.js +++ b/src/getModelLoader.js @@ -3,7 +3,7 @@ import { getNamespace } from './utils' export default function getModelLoader(app, dir) { - // 只能通过 webpack-plugin-pease-hmr 来解 + // 只能通过 webpack-plugin-mickey-hmr 来解 // app.setModelDir(dir) // app.load(path) diff --git a/src/internalModel.js b/src/internalModel.js index 68e6347..48b6059 100644 --- a/src/internalModel.js +++ b/src/internalModel.js @@ -1,6 +1,6 @@ // internal model to update global state when do unmodel export default { - namespace: '@@PEASE', + namespace: '@@MICKEY', state: 0, reducers: { UPDATE(state) { return state + 1 },