Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

moment-random

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-random - npm Package Compare versions

Comparing version 0.1.1 to 0.9.1

dist/moment-random.js

9

dist/index.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.randomMoment = randomMoment;
var _moment = require('moment');

@@ -33,4 +38,2 @@

}
}
module.exports = randomMoment;
}
{
"name": "moment-random",
"version": "0.1.1",
"version": "0.9.1",
"author": "Ivan Mrvelj <sk8raid@gmail.com>",
"description": "Generates a random momentjs object",
"license": "MIT",
"repository": {
"url": "git@github.com:imrvelj/moment-random.git",
"type": "git"
},
"main": "dist/index.js",
"scripts": {
"precommit": "npm test",
"prepublish": "npm run dist",
"build": "babel --copy-files --out-dir dist --ignore *.test.js src",
"build:umd": "webpack",
"build:umd:watch": "webpack --watch",
"test": "mocha src/index.test.js --compilers js:babel-register"
"build:umd": "webpack --config ./config/webpack.config.js",
"build:umd:watch": "webpack --watch --config ./config/webpack.config.js",
"dist": "rm -rf dist/; npm run build; npm run build:umd",
"serve": "webpack-dev-server --inline --config ./config/webpack.dev.js",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"repository": {
"url": "git@github.com:imrvelj/moment-random-date.git",
"type": "git"
},
"author": "Ivan Mrvelj <sk8raid@gmail.com>",
"files": [

@@ -21,3 +27,19 @@ "dist",

],
"license": "MIT",
"jest": {
"collectCoverageFrom": [
"src/*.js"
],
"testMatch": [
"**/test/**/*.spec.js?(x)"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"dependencies": {

@@ -29,10 +51,16 @@ "moment": "^2.15.2"

"babel-eslint": "^7.1.0",
"babel-jest": "^19.0.0",
"babel-loader": "^6.2.7",
"babel-preset-es2015": "^6.18.0",
"babel-preset-env": "^1.4.0",
"babel-register": "^6.18.0",
"chai": "^3.5.0",
"eslint": "^3.9.1",
"mocha": "^3.1.2",
"webpack": "^1.13.3"
"eslint-plugin-jest": "^19.0.1",
"husky": "^0.13.3",
"jest": "^19.0.2",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.2"
},
"peerDependencies": {
"moment": ">= 2"
}
}

@@ -0,1 +1,2 @@

![Build Status](https://travis-ci.org/imrvelj/moment-random.svg?branch=master)
# moment-random

@@ -2,0 +3,0 @@ > Generates a new random moment.js object

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