add module to package.json - this needs testing with browserify
MODIFY
package-lock.json
package-lock.json
"esm": {
"version": "3.1.4",
"resolved": "https://registry.npmjs.org/esm/-/esm-3.1.4.tgz",
- "integrity": "sha512-GScwIz0110RTNzBmAQEdqaAYkD9zVhj2Jo+jeizjIcdyTw+C6S0Zv/dlPYgfF41hRTu2f1vQYliubzIkusx2gA==",
- "dev": true
+ "integrity": "sha512-GScwIz0110RTNzBmAQEdqaAYkD9zVhj2Jo+jeizjIcdyTw+C6S0Zv/dlPYgfF41hRTu2f1vQYliubzIkusx2gA=="
},
"for-each": {
"version": "0.3.3",

MODIFY
package.json
package.json
"version": "0.2.0",
"description": "Secure ECMAScript",
"main": "src/commonjs-index.js",
+ "module": "src/index.js",
"scripts": {
"test": "node scripts/build-intermediate.js && tape -r esm test/**/*.js",
"just-test": "tape -r esm test/**/*.js",

add module to package.json - this needs testing with browserify