Skip to content

Commit d39532b

Browse files
author
Felix Dürrwald
committed
Added bower.json and uglification
1 parent a4a11d4 commit d39532b

4 files changed

Lines changed: 92 additions & 47 deletions

File tree

Gulpfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
var gulp = require('gulp');
2+
var minify = require('gulp-minify');
3+
4+
gulp.task('compress', function () {
5+
gulp.src('lib/*.js')
6+
.pipe(minify({
7+
ignore: ['-min.js']
8+
}))
9+
.pipe(gulp.dest('lib'))
10+
});

bower.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "jsonpath-plus",
3+
"description": "A JS implementation of JSONPath with some additional operators",
4+
"main": "./lib/jsonpath",
5+
"authors": [
6+
"Stefan Goessner <stefan.goessner@fh-dortmund.de>",
7+
"Subbu Allamaraju <subbu@subbu.org>",
8+
"Mike Brevoort <mike@brevoort.com>",
9+
"Robert Krahn <robert.krahn@gmail.com>",
10+
"Brett Zamir <brettz9@yahoo.com>",
11+
"Richard Schneider <makaretu@gmail.com>"
12+
],
13+
"license": "MIT",
14+
"keywords": [
15+
"json",
16+
"jsonpath"
17+
],
18+
"moduleType": [],
19+
"homepage": "https://github.com/mplabs/JSONPath.git",
20+
"ignore": [
21+
"**/.*",
22+
"node_modules",
23+
"bower_components",
24+
"test",
25+
"tests"
26+
]
27+
}

lib/jsonpath-min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 54 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,59 @@
11
{
2-
"author": "Stefan Goessner",
3-
"name": "jsonpath-plus",
4-
"description": "A JS implementation of JSONPath with some additional operators",
5-
"contributors": [
6-
{
7-
"name": "Prof. Gössner",
8-
"email": "stefan.goessner@fh-dortmund.de"
9-
},
10-
{
11-
"name": "Subbu Allamaraju",
12-
"email": "subbu@subbu.org"
13-
},
14-
{
15-
"name": "Mike Brevoort",
16-
"email": "mike@brevoort.com"
17-
},
18-
{
19-
"name": "Robert Krahn",
20-
"email": "robert.krahn@gmail.com"
21-
},
22-
{
23-
"name": "Brett Zamir",
24-
"email": "brettz9@yahoo.com"
25-
},
26-
{
27-
"name": "Richard Schneider",
28-
"email": "makaretu@gmail.com"
29-
}
30-
],
31-
"license": "MIT",
32-
"version": "0.14.0",
33-
"repository": {
34-
"type": "git",
35-
"url": "git://github.com/s3u/JSONPath.git"
2+
"author": "Stefan Goessner",
3+
"name": "jsonpath-plus",
4+
"description": "A JS implementation of JSONPath with some additional operators",
5+
"contributors": [
6+
{
7+
"name": "Prof. Gössner",
8+
"email": "stefan.goessner@fh-dortmund.de"
369
},
37-
"bugs": "https://github.com/s3u/JSONPath/issues/",
38-
"homepage": "https://github.com/s3u/JSONPath",
39-
"main": "./lib/jsonpath",
40-
"dependencies": {},
41-
"engines": {
42-
"node": ">=0.8"
10+
{
11+
"name": "Subbu Allamaraju",
12+
"email": "subbu@subbu.org"
4313
},
44-
"devDependencies": {
45-
"nodeunit": "0.9.0",
46-
"eslint": "^1.10.3",
47-
"eslint-config-standard": "^4.4.0",
48-
"eslint-plugin-standard": "^1.3.1"
14+
{
15+
"name": "Mike Brevoort",
16+
"email": "mike@brevoort.com"
4917
},
50-
"keywords": ["json", "jsonpath"],
51-
"scripts": {"test": "./node_modules/.bin/eslint test lib && \"./node_modules/.bin/nodeunit\" test"}
18+
{
19+
"name": "Robert Krahn",
20+
"email": "robert.krahn@gmail.com"
21+
},
22+
{
23+
"name": "Brett Zamir",
24+
"email": "brettz9@yahoo.com"
25+
},
26+
{
27+
"name": "Richard Schneider",
28+
"email": "makaretu@gmail.com"
29+
}
30+
],
31+
"license": "MIT",
32+
"version": "0.14.0",
33+
"repository": {
34+
"type": "git",
35+
"url": "https://github.com/mplabs/JSONPath.git"
36+
},
37+
"bugs": "https://github.com/s3u/JSONPath/issues/",
38+
"homepage": "https://github.com/s3u/JSONPath",
39+
"main": "./lib/jsonpath",
40+
"dependencies": {},
41+
"engines": {
42+
"node": ">=0.8"
43+
},
44+
"devDependencies": {
45+
"eslint": "^1.10.3",
46+
"eslint-config-standard": "^4.4.0",
47+
"eslint-plugin-standard": "^1.3.1",
48+
"gulp": "^3.9.1",
49+
"gulp-minify": "0.0.5",
50+
"nodeunit": "0.9.0"
51+
},
52+
"keywords": [
53+
"json",
54+
"jsonpath"
55+
],
56+
"scripts": {
57+
"test": "./node_modules/.bin/eslint test lib && \"./node_modules/.bin/nodeunit\" test"
58+
}
5259
}

0 commit comments

Comments
 (0)