{
  "name": "@thimpat/c-node",
  "version": "1.3.0",
  "description": "C-node is a module that allows invoking C code from your nodeJs application. It does not use node-gyp but the TCC compiler.",
  "main": "./esm/index.mjs",
  "scripts": {
    "test": "npm run build:all && npm run test:js && npm run test:ts",
    "build:tcc": "cd tinycc/win32 && build-tcc.bat -c ..\\..\\tcc\\tcc.exe && cd ../.. && clonefile --force tinycc/win32 bin",
    "build:esm": "to-esm cjs/index.cjs --target esm --output ./esm",
    "build:all": "npm run build:tcc && npm run build:esm",
    "build:demo": "cd demo/hello && ..\\..\\bin\\tcc.exe -shared ..\\..\\bin\\examples\\dll.c && ..\\..\\bin\\tcc.exe ..\\..\\bin\\examples\\hello_dll.c dll.def && rimraf ../../dll.def && rimraf ../../dll.dll",
    "run:demo": "npm run build:demo && .\\demo\\hello\\hello_dll.exe",
    "#postinstall": "npm run build:tcc && npm run run:demo",
    "genpack": "genpack",
    "genpack:build:esm": "to-esm ./cjs/index.cjs --output ./esm --update-all --extension .mjs",
    "genpack:build:dts": "tsc ./esm/index.mjs --declaration --allowJs --emitDeclarationOnly --outDir .",
    "genpack:build:test": "to-esm test/*.specs.cjs --output ./test/ --target esm --skipEsmResolution --skipLinks",
    "genpack:build:all": "npm run genpack:build:esm && npm run genpack:build:dts && npm run genpack:build:test",
    "genpack:test:ts": "nyc mocha --config test/config/.mocharc.json",
    "genpack:test:js": "nyc mocha",
    "genpack:test": "npm run genpack:build:all && npm run genpack:test:js && npm run genpack:test:ts"
  },
  "keywords": [],
  "author": "Patrice THIMOTHEE",
  "license": "MIT",
  "dependencies": {
    "@thimpat/libutils": "^1.17.0",
    "analogger": "^1.23.3",
    "clonefile": "^3.8.3",
    "genpack": "^1.8.0",
    "rimraf": "^4.1.2",
    "transform-template": "^1.2.2"
  },
  "exports": {
    "require": "./cjs/index.cjs",
    "import": "./esm/index.mjs"
  },
  "typings": "./index.d.mts",
  "type": "module",
  "devDependencies": {
    "@types/chai": "^4.3.4",
    "@types/mocha": "^10.0.1",
    "chai": "^4.3.7",
    "mocha": "^10.2.0",
    "nyc": "^15.1.0",
    "to-esm": "^2.27.3",
    "ts-node": "^10.9.1",
    "typescript": "^4.9.5"
  },
  "bin": {
    "c-node": "cli.cjs"
  },
  "directories": {
    "test": "test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/thimpat/c-node.git"
  },
  "bugs": {
    "url": "https://github.com/thimpat/c-node/issues"
  },
  "homepage": "https://github.com/thimpat/c-node#readme"
}
