UNPKG

@mikemajara/notion-cms

Version:

A TypeScript library for using Notion as a headless CMS

96 lines (95 loc) 2.24 kB
{ "name": "@mikemajara/notion-cms", "version": "0.1.1", "description": "A TypeScript library for using Notion as a headless CMS", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "bin": { "notion-cms": "dist/cli.js" }, "files": [ "dist" ], "scripts": { "build": "tsup", "build:prod": "tsup --minify", "build:fast": "tsup --no-dts --no-splitting", "build:dev": "tsup --no-dts --no-splitting --no-minify --watch", "dev": "tsup --watch --no-dts", "lint": "eslint src --ext .ts", "check-types": "tsc --noEmit", "test": "jest", "prepare": "pnpm run build:prod", "postbuild": "chmod +x dist/cli.js", "clean": "rm -rf dist .tsbuildinfo", "analyze": "tsup --analyze", "size": "bundlesize" }, "keywords": [ "notion", "cms", "typescript", "headless-cms" ], "author": "Miguel Alcalde", "license": "MIT", "dependencies": { "commander": "^13.1.0" }, "peerDependencies": { "@aws-sdk/client-s3": "^3.0.0", "@notionhq/client": "^2.2.14" }, "peerDependenciesMeta": { "@notionhq/client": { "optional": false }, "@aws-sdk/client-s3": { "optional": true } }, "devDependencies": { "@tailwindcss/typography": "^0.5.13", "@types/jest": "^29.5.14", "@types/node": "^20.10.5", "@typescript-eslint/eslint-plugin": "^8.37.0", "@typescript-eslint/parser": "^8.37.0", "jest": "^29.7.0", "ts-jest": "^29.3.4", "ts-morph": "^21.0.1", "tsup": "^8.0.2", "typescript": "^5.3.3" }, "repository": { "type": "git", "url": "git+https://github.com/mikemajara/notion-cms.git" }, "bugs": { "url": "https://github.com/mikemajara/notion-cms/issues" }, "homepage": "https://github.com/mikemajara/notion-cms#readme", "tsup": { "entry": [ "src/index.ts", "src/cli.ts" ], "format": [ "cjs", "esm" ], "dts": true, "splitting": true, "clean": true, "treeshake": true, "external": [ "@notionhq/client", "@aws-sdk/client-s3" ], "minify": false, "sourcemap": false, "target": "es2020", "bundle": true, "skipNodeModulesBundle": true } }