tweetsodium
Version:
libsodium sealed cryptobox using tweetnacl
65 lines (64 loc) • 1.56 kB
JSON
{
"name": "tweetsodium",
"version": "0.0.5",
"description": "libsodium sealed cryptobox using tweetnacl",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"scripts": {
"clean": "rm -rf dist",
"prebuild": "npm run clean && mkdir dist",
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js",
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js",
"build": "npm run build-esm && npm run build-umd",
"pretest": "npm run build",
"test": "node test.js && tsd",
"prepublishOnly": "npm run build"
},
"repository": "github:mastahyeti/tweetsodium",
"author": "mastahyeti@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/mastahyeti/tweetsodium/issues"
},
"homepage": "https://github.com/mastahyeti/tweetsodium#readme",
"files": [
"dist",
"index.d.ts"
],
"dependencies": {
"blakejs": "^1.1.0",
"tweetnacl": "^1.0.1"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.1.0",
"libsodium": "^0.7.5",
"libsodium-wrappers": "^0.7.5",
"tape": "^4.11.0",
"tsd": "^0.11.0",
"tweetnacl-util": "*"
},
"babel": {
"env": {
"esm": {
"presets": [
[
"@babel/env",
{
"modules": false
}
]
]
},
"umd": {
"plugins": [
"@babel/plugin-transform-modules-umd"
],
"presets": [
"@babel/env"
]
}
}
}
}