diff --git a/nodejs/tests/browserify/main.js b/nodejs/tests/browserify/main.js index b94572b8..ab767ef9 100644 --- a/nodejs/tests/browserify/main.js +++ b/nodejs/tests/browserify/main.js @@ -1,4 +1,4 @@ -var Jsonix = require('Jsonix').Jsonix; +var Jsonix = require('jsonix').Jsonix; var PO = require('./PO').PO; // Utility function @@ -59,4 +59,4 @@ var setValues = function() { }); }; -setValues(); \ No newline at end of file +setValues(); diff --git a/nodejs/tests/browserify/package.json b/nodejs/tests/browserify/package.json index 55214376..6a4a90fd 100644 --- a/nodejs/tests/browserify/package.json +++ b/nodejs/tests/browserify/package.json @@ -1,18 +1,19 @@ { - "name": "jsonix-tests-browserify", - "description": "Jsonix Tests Browserify.", - "engines": [ - "node >= 0.8.0" - ], - "main": "main.js", - "dependencies": { - "jsonix": "2.x.x", - "jsonix-schema-compiler": "2.x.x" - }, - "devDependencies" : { - "nodeunit" : "~0.x.x" - }, - "scripts": { - "prepublish" : "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar purchaseorder.xsd -b bindings.xjb" - } -} \ No newline at end of file + "name": "jsonix-tests-browserify", + "description": "Jsonix Tests Browserify.", + "engines": [ + "node >= 0.8.0" + ], + "main": "main.js", + "dependencies": { + "jsonix": "2.x.x", + "jsonix-schema-compiler": "2.x.x" + }, + "devDependencies": { + "browserify": "^14.4.0", + "nodeunit": "~0.x.x" + }, + "scripts": { + "prepublish": "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar purchaseorder.xsd -b bindings.xjb" + } +} diff --git a/nodejs/tests/browserify/pom.xml b/nodejs/tests/browserify/pom.xml index 4498bb95..240701e9 100644 --- a/nodejs/tests/browserify/pom.xml +++ b/nodejs/tests/browserify/pom.xml @@ -29,7 +29,7 @@ exec - browserify + node_modules/.bin/browserify main.js -o @@ -45,4 +45,4 @@ - \ No newline at end of file +