forked from NicolasFlamel1/SMAZ-Node.js-Addon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.15 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/smaz-native",
"version": "0.0.27",
"description": "Node.js addon for parts of the official SMAZ implementation",
"main": "./index.js",
"files": [
"*",
"!.gitignore"
],
"gypfile": true,
"scripts": {
"prepublishOnly": "wget \"https://github.com/antirez/smaz/archive/master.zip\" && unzip \"./master.zip\" && rm \"./master.zip\" && find \"./smaz-master/\" -mindepth 1 ! -name \"smaz.c\" ! -name \"smaz.h\" -exec rm -rf {} + && wget \"https://github.com/NicolasFlamel1/SMAZ-NPM-Package/archive/refs/heads/master.zip\" && unzip \"./master.zip\" && rm \"./master.zip\" && patch \"./smaz-master/smaz.c\" < \"./SMAZ-NPM-Package-master/smaz.c.diff\" && sed -i 's/explicit_bzero(\\(.*\\),/memset(\\1, 0,/g' \"./SMAZ-NPM-Package-master/main.cpp\" && find \"./SMAZ-NPM-Package-master/\" -mindepth 1 ! -name \"main.cpp\" -exec rm -rf {} +"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mwcproject/SMAZ-Node.js-Addon.git"
},
"keywords": [
"SMAZ"
],
"author": "Nicolas Flamel",
"license": "MIT",
"bugs": {
"url": "https://github.com/mwcproject/SMAZ-Node.js-Addon/issues"
},
"dependencies": {
"bindings": "^1.5.0"
}
}