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 1.0.2 to 1.0.3

src/index.js

105

package.json
{
"name": "moment-random",
"version": "1.0.2",
"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 build",
"build": "rimraf dist/ && webpack --config ./config/webpack.config.js",
"demo": "webpack-dev-server --inline --config ./config/webpack.dev.js",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"files": [
"src",
"dist",
"README.md"
"name": "moment-random",
"version": "1.0.3",
"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": "src/index.js",
"scripts": {
"precommit": "npm test",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"files": [
"src",
"README.md"
],
"jest": {
"collectCoverageFrom": [
"src/*.js"
],
"jest": {
"collectCoverageFrom": [
"src/*.js"
],
"testMatch": [
"**/test/**/*.spec.js?(x)"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"dependencies": {
"moment": "^2.15.2"
},
"devDependencies": {
"babel-eslint": "^7.1.0",
"babel-jest": "^19.0.0",
"babel-loader": "^6.2.7",
"babel-preset-env": "^1.4.0",
"eslint": "^3.9.1",
"eslint-plugin-jest": "^19.0.1",
"husky": "^0.13.3",
"jest": "^19.0.2",
"rimraf": "^2.6.1",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.2"
},
"peerDependencies": {
"moment": ">= 2"
"testMatch": [
"**/test/**/*.spec.js?(x)"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"devDependencies": {
"babel-eslint": "^7.1.0",
"babel-jest": "^19.0.0",
"babel-preset-env": "^1.4.0",
"eslint": "^3.9.1",
"eslint-plugin-jest": "^19.0.1",
"husky": "^0.13.3",
"jest": "^19.0.2",
"moment": "^2.18.1",
"rimraf": "^2.6.1"
},
"peerDependencies": {
"moment": ">= 2"
}
}

@@ -10,2 +10,3 @@

## Install
*make sure you have moment installed*

@@ -12,0 +13,0 @@ npm or yarn

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