UNPKG

@portable-content/typescript-sdk

Version:
71 lines (70 loc) 1.88 kB
{ "name": "@portable-content/typescript-sdk", "version": "0.3.0", "description": "Core TypeScript SDK for Portable Content System", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "rollup -c", "build:watch": "rollup -c -w", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "format:check": "prettier --check src/**/*.ts", "type-check": "tsc --noEmit", "docs": "typedoc src/index.ts", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build", "codegen": "graphql-codegen --config codegen.yml" }, "keywords": [ "portable-content", "cms", "content-management", "typescript", "transport-agnostic" ], "author": "Portable Content Team", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/portable-content/typescript-sdk.git" }, "dependencies": { "zod": "^3.22.0" }, "devDependencies": { "@graphql-codegen/cli": "^5.0.0", "@graphql-codegen/typescript": "^4.0.0", "@graphql-codegen/typescript-operations": "^4.0.0", "@rollup/plugin-typescript": "^11.1.0", "@types/jest": "^29.5.0", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "jest": "^29.7.0", "prettier": "^3.0.0", "rollup": "^3.29.0", "ts-jest": "^29.1.0", "typedoc": "^0.25.0", "typescript": "^5.2.0" }, "peerDependencies": { "graphql": "^16.0.0" }, "peerDependenciesMeta": { "graphql": { "optional": true } } }