|
| 1 | +{ |
| 2 | + "name": "@voiceflow/slate-serializer", |
| 3 | + "version": "2.0.0", |
| 4 | + "description": "Utilities for serializing slate data", |
| 5 | + "keywords": [ |
| 6 | + "react", |
| 7 | + "slate", |
| 8 | + "voiceflow" |
| 9 | + ], |
| 10 | + "homepage": "https://github.com/voiceflow/oss/tree/master/libs/slate-serializer#readme", |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/voiceflow/oss/issues" |
| 13 | + }, |
| 14 | + "repository": { |
| 15 | + "type": "git", |
| 16 | + "url": "git+https://github.com/voiceflow/oss.git" |
| 17 | + }, |
| 18 | + "license": "ISC", |
| 19 | + "author": "Ben Teichman", |
| 20 | + "type": "module", |
| 21 | + "exports": { |
| 22 | + ".": { |
| 23 | + "types": "./build/esm/index.d.ts", |
| 24 | + "import": "./build/esm/index.mjs", |
| 25 | + "require": "./build/cjs/index.cjs" |
| 26 | + }, |
| 27 | + "./text": { |
| 28 | + "types": "./build/esm/serializers/text.d.ts", |
| 29 | + "import": "./build/esm/serializers/text.mjs", |
| 30 | + "require": "./build/cjs/serializers/text.cjs" |
| 31 | + }, |
| 32 | + "./markdown": { |
| 33 | + "types": "./build/esm/serializers/markdown.d.ts", |
| 34 | + "import": "./build/esm/serializers/markdown.mjs", |
| 35 | + "require": "./build/cjs/serializers/markdown.cjs" |
| 36 | + }, |
| 37 | + "./jsx": { |
| 38 | + "types": "./build/esm/serializers/jsx.d.ts", |
| 39 | + "import": "./build/esm/serializers/jsx.mjs", |
| 40 | + "require": "./build/cjs/serializers/jsx.cjs" |
| 41 | + } |
| 42 | + }, |
| 43 | + "main": "build/cjs/index.js", |
| 44 | + "types": "build/esm/index.d.ts", |
| 45 | + "typesVersions": { |
| 46 | + "*": { |
| 47 | + "text": [ |
| 48 | + "./build/esm/serializers/text.d.ts" |
| 49 | + ], |
| 50 | + "jsx": [ |
| 51 | + "./build/esm/serializers/jsx.d.ts" |
| 52 | + ], |
| 53 | + "markdown": [ |
| 54 | + "./build/esm/serializers/markdown.d.ts" |
| 55 | + ] |
| 56 | + } |
| 57 | + }, |
| 58 | + "files": [ |
| 59 | + "build" |
| 60 | + ], |
| 61 | + "scripts": { |
| 62 | + "build": "yarn g:turbo run build:cmd --filter=@voiceflow/slate-serializer...", |
| 63 | + "build:cmd": "yarn g:build:pkg", |
| 64 | + "clean": "yarn g:rimraf build", |
| 65 | + "lint": "yarn g:run-p -c lint:eslint lint:prettier", |
| 66 | + "lint:eslint": "yarn g:eslint", |
| 67 | + "lint:fix": "yarn g:run-p -c \"lint:eslint --fix\" \"lint:prettier --write\"", |
| 68 | + "lint:prettier": "yarn g:prettier --check", |
| 69 | + "tdd": "yarn g:vitest", |
| 70 | + "test": "yarn g:run-p -c test:dependencies test:types test:unit", |
| 71 | + "test:dependencies": "yarn g:depcruise", |
| 72 | + "test:types": "yarn g:tsc --noEmit", |
| 73 | + "test:unit": "yarn g:vitest run --coverage" |
| 74 | + }, |
| 75 | + "dependencies": { |
| 76 | + "csstype": "3.2.3" |
| 77 | + }, |
| 78 | + "devDependencies": { |
| 79 | + "@types/react": "18.2.4", |
| 80 | + "@voiceflow/dtos-interact": "1.17.1", |
| 81 | + "react": "18.2.0", |
| 82 | + "slate": "0.94.1", |
| 83 | + "zod": "3.22.4" |
| 84 | + }, |
| 85 | + "peerDependencies": { |
| 86 | + "@voiceflow/dtos-interact": "^1.17.1", |
| 87 | + "react": "^17.0.2", |
| 88 | + "slate": "^0.72.3", |
| 89 | + "zod": "^3" |
| 90 | + }, |
| 91 | + "engines": { |
| 92 | + "node": "20" |
| 93 | + }, |
| 94 | + "volta": { |
| 95 | + "extends": "../../package.json" |
| 96 | + } |
| 97 | +} |
0 commit comments