chore: create bundle for node, browsers and commonjs
Showing
.eslintrc.json
0 → 100644
.npmignore
0 → 100644
examples/node.js
0 → 100644
... | @@ -8,12 +8,14 @@ | ... | @@ -8,12 +8,14 @@ |
"Sven Franck <sven.franck@nexedi.com>" | "Sven Franck <sven.franck@nexedi.com>" | ||
], | ], | ||
"description": "Client-side JavaScript library to manage documents across multiple storages", | "description": "Client-side JavaScript library to manage documents across multiple storages", | ||
"main": "jio.js", | "main": "dist/node/jio.js", | ||
"module": "dist/jio.module.js", | |||
"directories": { | "directories": { | ||
"example": "examples", | "example": "examples", | ||
"test": "test" | "test": "test" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"start": "./node_modules/.bin/grunt server", | |||
"test": "./node_modules/.bin/grunt test", | "test": "./node_modules/.bin/grunt test", | ||
"lint": "./node_modules/.bin/grunt lint", | "lint": "./node_modules/.bin/grunt lint", | ||
"prepublish": "./node_modules/.bin/grunt build" | "prepublish": "./node_modules/.bin/grunt build" | ||
... | @@ -29,28 +31,39 @@ | ... | @@ -29,28 +31,39 @@ |
"cloud" | "cloud" | ||
], | ], | ||
"dependencies": { | "dependencies": { | ||
"form-data": "^2.3.2", | |||
"jquery": "^3.3.1", | |||
"moment": "2.21.0", | |||
"rsvp": "git+https://lab.nexedi.com/nexedi/rsvp.js.git", | "rsvp": "git+https://lab.nexedi.com/nexedi/rsvp.js.git", | ||
"rusha": "0.8.2", | |||
"sjcl": "^1.0.7", | |||
"urijs": "^1.19.1", | |||
"uritemplate": "git+https://lab.nexedi.com/nexedi/uritemplate-js.git", | "uritemplate": "git+https://lab.nexedi.com/nexedi/uritemplate-js.git", | ||
"moment": "2.21.0", | "xhr2": "^0.1.4" | ||
"rusha": "0.8.2" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"renderjs": "git+https://lab.nexedi.com/nexedi/renderjs.git", | "connect-livereload": "~0.3.0", | ||
"grunt": "0.4.x", | "grunt": "0.4.x", | ||
"grunt-cli": "~0.1.11", | "grunt-cli": "~0.1.11", | ||
"grunt-contrib-concat": "0.3.x", | "grunt-contrib-concat": "0.3.x", | ||
"grunt-contrib-connect": "~0.5.0", | |||
"grunt-contrib-copy": "~0.4.1", | "grunt-contrib-copy": "~0.4.1", | ||
"grunt-contrib-qunit": "~0.3.0", | "grunt-contrib-qunit": "~0.3.0", | ||
"qunitjs": "~1.23.1", | "grunt-contrib-uglify": "0.2.x", | ||
"qunit-tap": "1.5.0", | |||
"grunt-contrib-watch": "~0.5.3", | "grunt-contrib-watch": "~0.5.3", | ||
"grunt-jslint": "~1.0.0", | "grunt-jslint": "~1.0.0", | ||
"lz-string": "^1.4.4", | |||
"sinon": "~1.7.3", | |||
"jison": "~0.4.16", | |||
"connect-livereload": "~0.3.0", | |||
"grunt-open": "~0.2.2", | "grunt-open": "~0.2.2", | ||
"grunt-contrib-connect": "~0.5.0" | "gruntify-eslint": "^5.0.0", | ||
"jison": "~0.4.16", | |||
"lz-string": "^1.4.4", | |||
"qunit-tap": "1.5.0", | |||
"qunitjs": "~1.23.1", | |||
"renderjs": "git+https://lab.nexedi.com/nexedi/renderjs.git", | |||
"rollup-plugin-commonjs": "^9.1.5", | |||
"rollup-plugin-hypothetical": "^2.1.0", | |||
"rollup-plugin-node-builtins": "^2.1.2", | |||
"rollup-plugin-node-resolve": "^3.3.0", | |||
"sinon": "~1.7.3" | |||
}, | }, | ||
"engines": { | "engines": { | ||
"npm": ">=1.3" | "npm": ">=1.3" | ||
... | ... |
rollup.config.js
0 → 100644
src/jio-begin.js
0 → 100644
src/jio-end.js
0 → 100644
src/jio.bundle.js
0 → 100644
src/node/jio.js
0 → 100644
src/queries/parser-final.js
0 → 100644
src/storage.js
0 → 100644
src/utils-compat.js
0 → 100644
src/utils.js
0 → 100644
Please register or sign in to comment