UNPKG

@notionhq/client

Version:

A simple and easy to use client for the Notion API

58 lines (57 loc) 1.79 kB
{ "name": "@notionhq/client", "version": "5.1.0", "description": "A simple and easy to use client for the Notion API", "engines": { "node": ">=18" }, "homepage": "https://developers.notion.com/docs/getting-started", "bugs": { "url": "https://github.com/makenotion/notion-sdk-js/issues" }, "repository": { "type": "git", "url": "https://github.com/makenotion/notion-sdk-js/" }, "keywords": [ "notion", "notionapi", "rest", "notion-api" ], "main": "./build/src", "types": "./build/src/index.d.ts", "scripts": { "prepare": "npm run build", "prepublishOnly": "npm run checkLoggedIn && npm run lint && npm run test", "build": "tsc", "prettier": "prettier --write .", "lint": "prettier --check . && eslint . --ext .ts && cspell '**/*' ", "test": "jest ./test", "check-links": "git ls-files | grep md$ | xargs -n 1 markdown-link-check", "prebuild": "npm run clean", "clean": "rm -rf ./build", "checkLoggedIn": "./scripts/verifyLoggedIn.sh", "install:examples": "for dir in examples/*/; do echo \"Installing dependencies in $dir...\"; (cd \"$dir\" && npm install); done", "examples:install": "npm run install:examples", "examples:typecheck": "for dir in examples/*/; do echo \"Typechecking $dir...\"; (cd \"$dir\" && npx tsc --noEmit) || exit 1; done" }, "author": "", "license": "MIT", "files": [ "build/package.json", "build/src/**" ], "devDependencies": { "@types/jest": "28.1.4", "@typescript-eslint/eslint-plugin": "5.39.0", "@typescript-eslint/parser": "5.39.0", "cspell": "5.4.1", "eslint": "7.24.0", "jest": "28.1.2", "markdown-link-check": "3.13.7", "prettier": "2.8.8", "ts-jest": "28.0.5", "typescript": "5.9.2" } }