UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

86 lines (85 loc) 3.05 kB
{ "name": "@atlaskit/adf-schema", "version": "25.6.0", "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": "https://bitbucket.org/atlassian/atlassian-frontend", "author": "Atlassian Pty Ltd", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "module:es2019": "dist/es2019/index.js", "types": "dist/types/index.d.ts", "sideEffects": false, "atlaskit:src": "src/index.ts", "atlassian": { "team": "Editor", "singleton": true, "inPublicMirror": true, "releaseModel": "scheduled" }, "af:exports": { ".": "./src/index.ts", "./steps": "./src/steps.ts", "./schema": "./src/schema/index.ts", "./json-schema": "./src/json-schema/index.ts", "./url": "./src/utils/url.ts", "./schema-bitbucket": "./src/schema/bitbucket-schema.ts", "./schema-confluence": "./src/schema/confluence-schema.ts", "./schema-jira": "./src/schema/jira-schema.ts", "./schema-default": "./src/schema/default-schema.ts" }, "scripts": { "build:json-schema": "mkdir -p dist && cp -r json-schema dist", "generate:json-schema": "mkdir -p json-schema/v1/ && yarn generate:json-schema:full && yarn generate:json-schema:stage-0", "generate:json-schema:stage-0": "json-schema-generator --outDir=./json-schema/v1/ --stage=0 ./src/schema/nodes/doc.ts", "generate:json-schema:full": "json-schema-generator --outDir=./json-schema/v1/ ./src/schema/nodes/doc.ts", "ak-postbuild": "yarn build:json-schema" }, "dependencies": { "@atlaskit/codemod-utils": "^4.2.0", "@atlaskit/editor-palette": "1.4.0", "@atlaskit/editor-tables": "^2.3.0", "@atlaskit/tokens": "^1.3.0", "@babel/runtime": "^7.0.0", "@types/linkify-it": "^2.0.4", "@types/prosemirror-model": "^1.11.0", "@types/prosemirror-state": "^1.2.0", "css-color-names": "0.0.4", "linkify-it": "^2.0.3", "memoize-one": "^6.0.0", "prosemirror-model": "1.14.3", "prosemirror-transform": "1.3.2" }, "devDependencies": { "@atlaskit/adf-utils": "^18.2.0", "@atlaskit/editor-json-transformer": "^8.9.0", "@atlaskit/editor-test-helpers": "^18.2.0", "@atlaskit/json-schema-generator": "^3.3.0", "@atlassian/adf-sample": "^1.1.0", "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1", "@types/prosemirror-history": "^1.0.1", "ajv": "^6.12.6", "jscodeshift": "^0.13.0", "json-schema-diff-validator": "^0.4.1", "prosemirror-history": "^1.1.3", "prosemirror-state": "1.3.4", "typescript": "4.5.5" }, "techstack": { "@atlassian/frontend": { "circular-dependencies": [ "file-level" ] }, "@repo/internal": { "deprecation": "no-deprecated-imports", "styling": [ "emotion" ] } }, "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1" }