First build
This commit is contained in:
Родитель
784ad3d85f
Коммит
64867e947e
|
@ -0,0 +1,13 @@
|
|||
# http://editorconfig.org/
|
||||
# https://github.com/mfuentesg/EditorConfigSnippets
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
max_line_length = 100
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
|
@ -0,0 +1,3 @@
|
|||
/build
|
||||
/tmp
|
||||
/package-lock.json
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"targets": [
|
||||
{
|
||||
"target_name": "crypt32",
|
||||
"cflags!": [
|
||||
"-fno-exceptions"
|
||||
],
|
||||
"cflags_cc!": [
|
||||
"-fno-exceptions"
|
||||
],
|
||||
"sources": [
|
||||
"src/crypt32.cc"
|
||||
],
|
||||
"include_dirs": [
|
||||
"<!@(node -p \"require('node-addon-api').include\")"
|
||||
],
|
||||
"defines": [
|
||||
"NAPI_DISABLE_CPP_EXCEPTIONS"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -3,6 +3,9 @@
|
|||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"gypfile": true,
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#include <Windows.h>
|
||||
#include <Wincrypt.h>
|
||||
#include <napi.h>
|
Загрузка…
Ссылка в новой задаче