forked from NicolasFlamel1/Ed25519-Node.js-Addon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "@mwcproject/ed25519-native",
"version": "0.0.19",
"description": "Node.js addon for parts of SUPERCOP's Ed25519 implementation",
"main": "./index.js",
"files": [
"*",
"!.gitignore"
],
"gypfile": true,
"scripts": {
"prepublishOnly": "wget \"https://bench.cr.yp.to/supercop/supercop-20220213.tar.xz\" && unxz < \"./supercop-20220213.tar.xz\" | tar -xf - && rm \"./supercop-20220213.tar.xz\" && sed -i 's/static const unsigned char zero\\[32\\];/static const unsigned char zero[32] = {0};/g' \"./supercop-20220213/crypto_sign/ed25519/ref10/fe_isnonzero.c\" && find \"./supercop-20220213/\" -mindepth 1 -maxdepth 1 ! -name \"crypto_sign\" -exec rm -rf {} + && find \"./supercop-20220213/crypto_sign/\" -mindepth 1 -maxdepth 1 ! -name \"ed25519\" -exec rm -rf {} + && find \"./supercop-20220213/crypto_sign/ed25519/\" -mindepth 1 -maxdepth 1 ! -name \"ref10\" -exec rm -rf {} + && wget \"https://github.com/NicolasFlamel1/Ed25519-NPM-Package/archive/refs/heads/master.zip\" && unzip \"./master.zip\" && rm \"./master.zip\" && sed -i 's/explicit_bzero(\\(.*\\),/memset(\\1, 0,/g' \"./Ed25519-NPM-Package-master/main.cpp\" && find \"./Ed25519-NPM-Package-master/\" -mindepth 1 ! -name \"*.cpp\" ! -name \"*.c\" ! -name \"*.h\" -exec rm -rf {} +"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mwcproject/Ed25519-Node.js-Addon.git"
},
"keywords": [
"Ed25519"
],
"author": "Nicolas Flamel",
"license": "MIT",
"bugs": {
"url": "https://github.com/mwcproject/Ed25519-Node.js-Addon/issues"
},
"dependencies": {
"bindings": "^1.5.0"
}
}