-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.9 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@astryxdesign/richtext",
"version": "0.1.9",
"private": true,
"description": "Astryx rich text — a Lexical-based rich text editor and viewer. Published to npm only under the @canary dist-tag for early testing; never released as a stable (latest) version.",
"author": "Meta Open Source",
"license": "MIT",
"homepage": "https://github.com/facebook/astryx#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/astryx.git",
"directory": "packages/richtext"
},
"bugs": {
"url": "https://github.com/facebook/astryx/issues"
},
"keywords": [
"astryx",
"richtext",
"rich-text",
"editor",
"lexical",
"design-system"
],
"astryx": {
"canaryOnly": true,
"_comment": "Published ONLY to the @canary dist-tag (see .github/workflows/release.yml). Never released as a stable `latest` release. `private: true` is intentional and must stay — it is npm\"s hard guarantee against an accidental stable publish."
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"README.md",
"CHANGELOG.md"
],
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./richtext.css": {
"default": "./dist/richtext.css"
}
},
"scripts": {
"prepack": "pnpm build",
"build": "rimraf dist && pnpm build:esm && tsc --project tsconfig.build.json && pnpm build:css && node ../../scripts/check-no-dev-jsx.mjs && node ../../scripts/check-fully-specified.mjs",
"build:esm": "babel src --out-dir dist --extensions \".ts,.tsx\" --out-file-extension \".js\" --ignore \"**/*.test.ts,**/*.test.tsx,**/__tests__/**,**/*.perf.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css,**/*.css.d.ts\" --config-file ./babel.config.js",
"build:css": "node ../../scripts/build-css.mjs --package richtext",
"dev": "babel src --watch --out-dir dist --extensions \".ts,.tsx\" --out-file-extension \".js\" --ignore \"**/*.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css*\" --config-file ./babel.config.js",
"test": "vitest run --root ../..",
"test:watch": "vitest --root ../..",
"lint": "eslint src",
"typecheck:docs": "tsc --project tsconfig.docs.json",
"typecheck": "tsc --project tsconfig.json --noEmit"
},
"peerDependencies": {
"@stylexjs/stylex": ">=0.10.0",
"@astryxdesign/core": "0.4.6",
"react": ">=19.0.0",
"react-dom": ">=19.0.0",
"lexical": "^0.49.0",
"@lexical/react": "^0.49.0",
"@lexical/markdown": "^0.49.0",
"@lexical/headless": "^0.49.0",
"@lexical/html": "^0.49.0",
"@lexical/link": "^0.49.0",
"@lexical/list": "^0.49.0",
"@lexical/rich-text": "^0.49.0",
"@lexical/selection": "^0.49.0",
"@lexical/code": "^0.49.0",
"@lexical/utils": "^0.49.0"
},
"peerDependenciesMeta": {
"lexical": {
"optional": true
},
"@lexical/react": {
"optional": true
},
"@lexical/markdown": {
"optional": true
},
"@lexical/headless": {
"optional": true
},
"@lexical/html": {
"optional": true
},
"@lexical/link": {
"optional": true
},
"@lexical/list": {
"optional": true
},
"@lexical/rich-text": {
"optional": true
},
"@lexical/selection": {
"optional": true
},
"@lexical/code": {
"optional": true
},
"@lexical/utils": {
"optional": true
}
},
"devDependencies": {
"@astryxdesign/cli": "workspace:*",
"@lexical/code": "^0.49.0",
"@lexical/headless": "^0.49.0",
"@lexical/html": "^0.49.0",
"@lexical/link": "^0.49.0",
"@lexical/list": "^0.49.0",
"@lexical/markdown": "^0.49.0",
"@lexical/react": "^0.49.0",
"@lexical/rich-text": "^0.49.0",
"@lexical/selection": "^0.49.0",
"@lexical/utils": "^0.49.0",
"lexical": "^0.49.0",
"rimraf": "^6.0.1"
}
}