Icontem

File: package.json

Recommend this page to a friend!
  Classes of Jonathan Gotti  >  Mongo Filter  >  package.json  >  Download  
File: package.json
Role: Auxiliary data
Content type: text/plain
Description: Sample output
Class: Mongo Filter
Filter collection elements with mongoQuery syntax
Author: By
Last change: 2.0.0
Date: 3 years ago
Size: 1,626 bytes
 

Contents

Class file image Download
{
  "name": "mongofilter",
  "version": "2.0.0",
  "description": "mongoquery style for standard javascript collections",
  "main": "dist/commonjs/mongofilter.js",
  "scripts": {
    "test": "mocha tests/",
    "watch": "babel -w -o dist/commonjs/mongofilter.js js/*.es6",
    "build": "babel -o dist/commonjs/mongofilter.js js/*.es6 && babel --modules amd --module-id mongofilter -o dist/amd/mongofilter.js js/*.es6 && babel --modules system --module-id mongofilter -o dist/system/mongofilter.js js/*.es6 && babel --modules umd --module-id mongofilter -o dist/umd/mongofilter.js js/*.es6",
    "minify": "uglifyjs dist/amd/mongofilter.js -mc > dist/amd/mongofilter.min.js && uglifyjs dist/umd/mongofilter.js -mc > dist/umd/mongofilter.min.js && uglifyjs dist/system/mongofilter.js -mc > dist/system/mongofilter.min.js",
    "banner": "for f in dist/*/*.js; do echo \"/*https://github.com/malko/mongofilter brought to you under MIT licence by J.Gotti & A.Gibrat version: $npm_package_version*/\n$(cat $f)\" > $f; done",
    "preversion": "npm run build && npm run minify && npm test",
    "postversion": "npm run banner"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/malko/mongofilter.git"
  },
  "keywords": [
    "query",
    "mongoquery",
    "collection",
    "filter"
  ],
  "author": "Jonathan Gotti <jgotti@jgotti.org>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/malko/mongofilter/issues"
  },
  "homepage": "https://github.com/malko/mongofilter",
  "devDependencies": {
    "babel": "^5.4.7",
    "chai": "^3.0.0",
    "mocha": "^2.2.5",
    "uglifyjs": "^2.4.10"
  }
}