clang-format-node
Version:
Node wrapper for clang-format native binary inspired by angular/clang-format.🐉
63 lines (62 loc) • 1.6 kB
JSON
{
"name": "clang-format-node",
"version": "1.3.3",
"description": "Node wrapper for clang-format native binary inspired by angular/clang-format.🐉",
"main": "build/index.js",
"files": [
"build",
"LICENSE.md",
"README.md"
],
"bin": {
"clang-format": "build/cli.js",
"clang-format-node": "build/cli.js"
},
"keywords": [
"clang-format",
"clang",
"cli",
"format",
"formatter",
"lint",
"linter",
"cpplint",
"eslint",
"prettier",
"checker",
"c",
"cpp",
"c++"
],
"author": "루밀LuMir <rpfos@naver.com> (https://github.com/lumirlumir)",
"license": "MIT",
"homepage": "https://clang-format-node.lumir.page",
"repository": {
"type": "github",
"url": "git+https://github.com/lumirlumir/npm-clang-format-node.git",
"directory": "packages/clang-format-node"
},
"bugs": {
"url": "https://github.com/lumirlumir/npm-clang-format-node/issues"
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"provenance": true
},
"scripts": {
"postinstall": "shx test -d src && npm run build || npm run chmod",
"prepublishOnly": "npm run build",
"build": "npx babel src -d build && npx tsc && shx cp -r src/bin build && shx cp ../../LICENSE.md ../../README.md .",
"postbuild": "npm run chmod",
"test": "node --test",
"chmod": "shx chmod 755 ./src/bin/**/* ./build/bin/**/* || exit 0",
"dev": "node src/cli.js",
"start": "node build/cli.js"
},
"dependencies": {
"shx": "^0.4.0"
},
"gitHead": "9535f44511b1cd90e47d4d51923bbf689dbc2c90"
}