sublime-configurator
```bash
Last updated 7 months ago by eth3rnit3 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sublime-configurator 
SYNC missed versions from official npm registry.

sublime-configurator

Install


npm install --save sublime-configurator
||
yarn add sublime-configurator

Usage

allReducers.js

import { combineReducers } from  'redux';
import  otherReducer  from  '../reducers/myReducer';
// import it from your combine reducers
import { projectReducer } from  'sublime-configurator';

// merge projectReducer with your other reducers
export  default  combineReducers({
	other:  otherReducer,
	project:  projectReducer
});

File where you want to use it

import  React  from  'react';
// Import it where you want use it and pass your store object
import  Configurator  from  'sublime-configurator';
import  store  from  './store';

export  default  function  App() {
return (
		<Configurator
		  store={store}  // your redux store export
		  tokens={store.getState().auth}  // Auth object
		  uploaderToken={store.getState().user.uploader_token}  // Uploader token
		/>
	);
};

Auth object

Backend is a rails application, it use devise_token_auth for authentification

Auth object need to be structured like this

{
	"client": "",
	"uid": "",
	"access-token": ""
}

Uploader token

Uploader is a node.js application, it use JWT for authentification

"my-uploader-token"

License

MIT © Eth3rnit3

Current Tags

  • 1.3.48                                ...           latest (7 months ago)

107 Versions

  • 1.3.48                                ...           7 months ago
  • 1.3.47                                ...           7 months ago
  • 1.3.46                                ...           7 months ago
  • 1.3.45                                ...           7 months ago
  • 1.3.44                                ...           7 months ago
  • 1.3.43                                ...           7 months ago
  • 1.3.42                                ...           7 months ago
  • 1.3.41                                ...           7 months ago
  • 1.3.40                                ...           7 months ago
  • 1.3.39                                ...           7 months ago
  • 1.3.38                                ...           7 months ago
  • 1.3.37                                ...           7 months ago
  • 1.3.36                                ...           7 months ago
  • 1.3.35                                ...           7 months ago
  • 1.3.34                                ...           7 months ago
  • 1.3.33                                ...           7 months ago
  • 1.3.32                                ...           7 months ago
  • 1.3.31                                ...           7 months ago
  • 1.3.30                                ...           8 months ago
  • 1.3.29                                ...           8 months ago
  • 1.3.28                                ...           8 months ago
  • 1.3.27                                ...           8 months ago
  • 1.3.24                                ...           8 months ago
  • 1.3.23                                ...           8 months ago
  • 1.3.22                                ...           8 months ago
  • 1.3.21                                ...           8 months ago
  • 1.3.18                                ...           8 months ago
  • 1.3.20                                ...           8 months ago
  • 1.3.17                                ...           8 months ago
  • 1.3.16                                ...           8 months ago
  • 1.3.15                                ...           8 months ago
  • 1.3.14                                ...           8 months ago
  • 1.3.13                                ...           8 months ago
  • 1.3.12                                ...           8 months ago
  • 1.3.11                                ...           8 months ago
  • 1.3.10                                ...           8 months ago
  • 1.3.9                                ...           8 months ago
  • 1.3.8                                ...           8 months ago
  • 1.3.7                                ...           8 months ago
  • 1.3.6                                ...           8 months ago
  • 1.3.5                                ...           8 months ago
  • 1.3.4                                ...           8 months ago
  • 1.3.3                                ...           8 months ago
  • 1.3.2                                ...           8 months ago
  • 1.3.1                                ...           8 months ago
  • 1.2.23                                ...           9 months ago
  • 1.2.22                                ...           9 months ago
  • 1.2.21                                ...           9 months ago
  • 1.2.20                                ...           9 months ago
  • 1.2.19                                ...           9 months ago
  • 1.2.18                                ...           9 months ago
  • 1.2.17                                ...           9 months ago
  • 1.2.16                                ...           9 months ago
  • 1.2.15                                ...           9 months ago
  • 1.2.14                                ...           9 months ago
  • 1.2.13                                ...           9 months ago
  • 1.2.12                                ...           10 months ago
  • 1.2.11                                ...           10 months ago
  • 1.2.10                                ...           10 months ago
  • 1.2.9                                ...           a year ago
  • 1.2.8                                ...           a year ago
  • 1.2.7                                ...           a year ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.0.30                                ...           a year ago
  • 1.0.29                                ...           a year ago
  • 1.0.28                                ...           a year ago
  • 1.0.27                                ...           a year ago
  • 1.0.26                                ...           a year ago
  • 1.0.25                                ...           a year ago
  • 1.0.24                                ...           a year ago
  • 1.0.23                                ...           a year ago
  • 1.0.22                                ...           a year ago
  • 1.0.21                                ...           a year ago
  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |