Socket
Socket
Sign inDemoInstall

redux-orm

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-orm - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

.publish/dist/redux-orm.js

25

gulpfile.js
const gulp = require('gulp');
const ghPages = require('gulp-gh-pages');
const rename = require('gulp-rename');
gulp.task('deploy', () => {
return gulp.src('./docs/**/*')
.pipe(ghPages());
});
gulp.task('deploy', () =>
gulp.src([
'./dist/**/*',
'./docs/**/*',
], { base: '.' })
.pipe(rename(filepath => {
if (filepath.dirname.startsWith('docs')) {
// Collapses `docs` parent directory
// so index.html ends up at the root.
// `dist` remains in the dist folder.
const withoutDocs = filepath.dirname.substring('docs'.length);
const withoutLeadingSlash = withoutDocs.startsWith('/')
? withoutDocs.substring(1)
: withoutDocs;
filepath.dirname = withoutLeadingSlash;
}
}))
.pipe(ghPages())
);

10

package.json
{
"name": "redux-orm",
"version": "0.8.3",
"version": "0.8.4",
"description": "Simple ORM to manage and query your state trees",
"main": "lib/index.js",
"main": "dist/redux-orm.js",
"scripts": {

@@ -24,2 +24,3 @@ "test": "make test",

"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.5",
"babel-plugin-transform-runtime": "^6.8.0",

@@ -36,6 +37,9 @@ "babel-preset-es2015": "^6.6.0",

"gulp-gh-pages": "^0.5.4",
"gulp-rename": "^1.2.2",
"jsdoc": "^3.4.1",
"mocha": "^2.2.5",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0"
"sinon-chai": "^2.8.0",
"webpack": "^1.13.2",
"yargs": "^5.0.0"
},

@@ -42,0 +46,0 @@ "dependencies": {

@@ -23,2 +23,11 @@ redux-orm

Or with a script tag
```html
<script src="https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.js"></script>
```
- [Browser build following master](https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.js)
- [Browser build following master (minimized)](https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.min.js)
## Usage

@@ -418,2 +427,12 @@

### 0.8.4
Adds UMD build to partially fix [#41](https://github.com/tommikaikkonen/redux-orm/issues/41). You can now use or try out `redux-orm` through a script tag:
```html
<script src="https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.js"></script>
```
`redux-orm.js` will point to the master version of the library; If you need to stick to a version, make a copy or build it yourself.
### 0.8.3

@@ -420,0 +439,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc