{ "name": "@herb-tools/node", "version": "0.11.2", "description": "Native Node.js addon for HTML-aware ERB parsing using Herb.", "type": "module", "license": "MIT", "homepage": "https://herb-tools.dev", "bugs": "https://github.com/marcoroth/herb/issues/new?title=Package%20%60@herb-tools/node%60:%20", "repository": { "type": "git", "url": "git+https://github.com/marcoroth/herb.git", "directory": "javascript/packages/node" }, "gypfile": true, "main": "./dist/herb-node.cjs", "module": "./dist/herb-node.esm.js", "types": "./dist/types/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/herb-node.esm.js" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/herb-node.cjs" } } }, "scripts": { "install": "yarn vendor && node-pre-gyp install --fallback-to-build", "dev": "rolldown -c -w", "build": "yarn clean && yarn templates && yarn vendor && yarn rebuild", "build:javascript": "tsc --emitDeclarationOnly && rolldown -c", "templates": "rake templates", "revendor": "yarn clean && yarn templates && yarn vendor", "vendor": "node ./bin/vendor.cjs", "rebuild": "node-pre-gyp rebuild && yarn build:javascript", "configure": "node-pre-gyp configure", "package": "node-pre-gyp package", "clean": "node-pre-gyp clean && rimraf dist/ && rimraf build/ && rimraf extension/libherb/ && rimraf extension/prism/", "test": "vitest run", "test:watch": "vitest --watch", "typecheck": "tsc -p tsconfig.test.json", "prepublishOnly": "yarn clean && yarn build && yarn test" }, "binary": { "module_name": "herb", "module_path": "./build/{configuration}/{node_abi}-{platform}-{arch}/", "remote_path": "{version}", "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz", "host": "https://github.com/marcoroth/herb/releases/download/" }, "dependencies": { "@herb-tools/core": "0.11.2", "@mapbox/node-pre-gyp": "^2.0.3", "node-addon-api": "^8.9.2", "node-pre-gyp-github": "^2.0.0" }, "files": [ "package.json", "README.md", "binding.gyp", "bin/vendor.cjs", "dist/", "src/", "extension/**/*.c", "extension/**/*.cpp", "extension/**/*.h" ] }