add browser field for browserify

pull/2/head
Rob Halff 10 years ago
parent 680f25f524
commit 8946b6c864
  1. 5
      package.json

@ -37,5 +37,10 @@
"test": "./node_modules/.bin/mocha --reporter spec --timeout 10000" "test": "./node_modules/.bin/mocha --reporter spec --timeout 10000"
}, },
"main": "index", "main": "index",
"browser": {
"main": "lib/datastore.js",
"./lib/customUtils.js": "./browser-version/browser-specific/lib/customUtils.js",
"./lib/storage.js": "./browser-version/browser-specific/lib/storage.js"
},
"licence": "MIT" "licence": "MIT"
} }

Loading…
Cancel
Save