OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-booking / node_modules / bare-module-lexer / package.json

65 lines · json ref:
{
  "name": "bare-module-lexer",
  "version": "1.4.7",
  "description": "Heuristic lexer for detecting imports and exports in JavaScript modules",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "default": "./index.js"
    },
    "./package": "./package.json"
  },
  "imports": {
    "#binding": {
      "bare": "./lib/binding/bare.js",
      "node": "./lib/binding/node.js"
    }
  },
  "files": [
    "index.js",
    "index.d.ts",
    "binding.c",
    "CMakeLists.txt",
    "lib",
    "prebuilds"
  ],
  "addon": true,
  "scripts": {
    "test": "npm run lint && npm run test:bare && npm run test:node",
    "test:bare": "bare test.js",
    "test:node": "node test.js",
    "lint": "prettier . --check"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/holepunchto/bare-module-lexer.git"
  },
  "author": "Holepunch",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/holepunchto/bare-module-lexer/issues"
  },
  "homepage": "https://github.com/holepunchto/bare-module-lexer#readme",
  "dependencies": {
    "require-addon": "^1.0.2"
  },
  "devDependencies": {
    "bare-buffer": "^3.0.0",
    "bare-compat-napi": "^1.0.0",
    "brittle": "^3.1.1",
    "cmake-bare": "^1.1.7",
    "cmake-napi": "^1.0.5",
    "cmake-npm": "^1.0.2",
    "prettier": "^3.4.1",
    "prettier-config-standard": "^7.0.0"
  },
  "peerDependencies": {
    "bare-buffer": "*"
  },
  "peerDependenciesMeta": {
    "bare-buffer": {
      "optional": true
    }
  }
}