lucene-queryparser
Advanced tools
Comparing version 2.1.0 to 3.0.0
@@ -1,5 +0,1 @@ | ||
if (typeof define !== 'function') { var define = require('amdefine')(module) }; | ||
define([], function() { | ||
var module = {}; | ||
module.exports = (function(){ | ||
@@ -1767,3 +1763,1 @@ /* | ||
})(); | ||
return module.exports; | ||
}); |
{ | ||
"name": "lucene-queryparser", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "Lucene Query Parser for Javascript created using PEG.js", | ||
"main": "lib/lucene-queryparser.js", | ||
"files": "lib/lucene-queryparser.js", | ||
"scripts": { | ||
"build": "PEG_OUT=`cat lib/lucene-query.grammar | node_modules/pegjs/bin/pegjs` && printf \"if (typeof define !== 'function') { var define = require('amdefine')(module) };\n\ndefine([], function() { \nvar module = {};\n%s\nreturn module.exports;\n});\n\" \"$PEG_OUT\" > ./lib/lucene-queryparser.js", | ||
"build": "pegjs lib/lucene-query.grammar lib/lucene-queryparser.js", | ||
"test": "./node_modules/.bin/jasmine-node ./spec/ --verbose", | ||
"prepublish": "npm run-script build && npm test" | ||
"prepublish": "npm run build && npm test" | ||
}, | ||
@@ -12,0 +11,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110121
2168