Sha256: 7acc5a2625a028e03ed3b519f3f2e07eae939f9a6155c1474bb6be09e98014cf

Contents?: true

Size: 457 Bytes

Versions: 7

Compression:

Stored size: 457 Bytes

Contents

var browserify = require('../');
var vm = require('vm');
var test = require('tap').test;
var path = require('path');

var pkg = require('./pkg/package.json');
pkg.__dirname = path.join(__dirname, 'pkg');

test('package', function (t) {
    t.plan(2);
    
    var b = browserify(__dirname + '/pkg/main.js');
    b.on('package', function (pkg_) {
        t.deepEqual(pkg_, pkg);
    });
    
    b.bundle(function (err) {
        t.ifError(err);
    });
});

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
minimum_viable_product-0.0.11 test/dummy/node_modules/browserify/test/pkg.js
brwy_rails-0.0.6 test/dummy/node_modules/browserify/test/pkg.js
brwy_rails-0.0.5 test/dummy/node_modules/browserify/test/pkg.js
brwy_rails-0.0.4 test/dummy/node_modules/browserify/test/pkg.js
brwy_rails-0.0.3 test/dummy/node_modules/browserify/test/pkg.js
brwy_rails-0.0.2 test/dummy/node_modules/browserify/test/pkg.js
brwy_rails-0.0.1 test/dummy/node_modules/browserify/test/pkg.js