1 | {
|
2 | "bin": "./dist/cli.js",
|
3 | "name": "alinea",
|
4 | "version": "0.5.9",
|
5 | "license": "MIT",
|
6 | "type": "module",
|
7 | "scripts": {
|
8 | "dev": "run-p dev:check dev:run",
|
9 | "web": "run-p dev:check web:run",
|
10 | "stories": "ladle serve",
|
11 | "demo": "node build.js --watch -- node dev.js --dir apps/demo --config src/cms -- yarn workspace @alinea/demo dev",
|
12 | "build": "tsc && node build.js",
|
13 | "alinea": "node build.js && node dist/cli.js",
|
14 | "build:alinea": "node build.js",
|
15 | "release:types": "tsc",
|
16 | "release:build": "node build.js",
|
17 | "type": "tsc --diagnostics",
|
18 | "test": "node build.js --test",
|
19 | "tag": "esbx tag",
|
20 | "dev:check": "tsc -w",
|
21 | "dev:run": "node build.js --watch -- node dev.js --dir apps/dev --config cms",
|
22 | "web:run": "node build.js --watch -- node dev.js -- yarn workspace @alinea/web dev",
|
23 | "dev:stories": "ladle serve --stories \"src/**/*.stories.tsx\"",
|
24 | "gen:bundleTs": "esbx bundleTs",
|
25 | "build:stories": "ladle build --base /stories --stories \"packages/**/*.stories.tsx\" --outDir apps/web/public/stories",
|
26 | "trace": "tsc --noEmit --incremental false --emitDeclarationOnly false --diagnostics --generateTrace private/trace && analyze-trace private/trace & speedscope private/trace/trace.json",
|
27 | "bump": "esbx version",
|
28 | "prepublishOnly": "yarn build"
|
29 | },
|
30 | "sideEffects": false,
|
31 | "typesVersions": {
|
32 | "*": {
|
33 | "*": [
|
34 | "./dist/*"
|
35 | ]
|
36 | }
|
37 | },
|
38 | "files": [
|
39 | "dist"
|
40 | ],
|
41 | "workspaces": [
|
42 | "apps/web",
|
43 | "apps/dev",
|
44 | "src/backend",
|
45 | "src/cli",
|
46 | "src/core",
|
47 | "src/dashboard",
|
48 | "src/ui",
|
49 | "src/auth/passwordless",
|
50 | "src/input/richtext"
|
51 | ],
|
52 | "dependencies": {
|
53 | "@alinea/iso": "^0.3.1",
|
54 | "@alinea/sqlite-wasm": "^0.1.14",
|
55 | "esbuild": "^0.19.2"
|
56 | },
|
57 | "peerDependencies": {
|
58 | "react": "*",
|
59 | "react-dom": "*"
|
60 | },
|
61 | "devDependencies": {
|
62 | "@esbx/alias": "^0.0.20",
|
63 | "@esbx/extension": "^0.0.19",
|
64 | "@esbx/external": "^0.0.19",
|
65 | "@esbx/reload": "^0.0.19",
|
66 | "@esbx/reporter": "^0.0.19",
|
67 | "@esbx/run": "^0.0.19",
|
68 | "@esbx/sass": "^0.0.19",
|
69 | "@esbx/static": "^0.0.19",
|
70 | "@esbx/target": "^0.0.20",
|
71 | "@esbx/workspaces": "^0.0.19",
|
72 | "@ladle/react": "^4.0.1",
|
73 | "@types/better-sqlite3": "^7.6.4",
|
74 | "@types/fs-extra": "^11.0.1",
|
75 | "@types/glob": "^7.1.4",
|
76 | "@types/node": "20.0.0",
|
77 | "@types/react": "^18.2.13",
|
78 | "@types/react-dom": "^18.2.6",
|
79 | "@types/sql.js": "^1.4.4",
|
80 | "@typescript/analyze-trace": "^0.9.1",
|
81 | "@ungap/with-resolvers": "^0.1.0",
|
82 | "alinea": "link:.",
|
83 | "autoprefixer": "^10.4.2",
|
84 | "cross-env": "^7.0.3",
|
85 | "esbx": "^0.0.18",
|
86 | "find-config": "^1.0.0",
|
87 | "glob": "^7.2.0",
|
88 | "memfs": "^3.4.1",
|
89 | "npm-run-all": "^4.1.5",
|
90 | "postcss-pxtorem": "^6.0.0",
|
91 | "react": "^18.2.0",
|
92 | "react-dom": "^18.2.0",
|
93 | "rimraf": "^5.0.0",
|
94 | "sass": "^1.63.4",
|
95 | "speedscope": "^1.14.0",
|
96 | "typescript": "^5.2.2",
|
97 | "typescript-plugin-css-modules": "^5.0.1",
|
98 | "uvu": "^0.5.1"
|
99 | },
|
100 | "packageManager": "yarn@3.2.0",
|
101 | "resolutions": {
|
102 | "esbuild": "0.19.2",
|
103 | "mime-db": "1.51.0",
|
104 | "yjs": "13.6.7",
|
105 | "lib0": "0.2.74"
|
106 | },
|
107 | "exports": {
|
108 | "./package.json": "./package.json",
|
109 | ".": "./dist/index.js",
|
110 | "./css": "./dist/index.css",
|
111 | "./*.cjs": "./dist/*.cjs",
|
112 | "./*": "./dist/*.js",
|
113 | "./cloud/view/CloudAuth": {
|
114 | "worker": "./dist/cloud/view/CloudAuth.js",
|
115 | "browser": "./dist/cloud/view/CloudAuth.browser.js",
|
116 | "default": "./dist/cloud/view/CloudAuth.js"
|
117 | },
|
118 | "./core/media/MediaRoot": {
|
119 | "worker": "./dist/core/media/MediaRoot.js",
|
120 | "browser": "./dist/core/media/MediaRoot.browser.js",
|
121 | "default": "./dist/core/media/MediaRoot.js"
|
122 | },
|
123 | "./core/media/MediaSchema": {
|
124 | "worker": "./dist/core/media/MediaSchema.js",
|
125 | "browser": "./dist/core/media/MediaSchema.browser.js",
|
126 | "default": "./dist/core/media/MediaSchema.js"
|
127 | },
|
128 | "./dashboard/view/Preview": {
|
129 | "worker": "./dist/dashboard/view/Preview.js",
|
130 | "browser": "./dist/dashboard/view/Preview.browser.js",
|
131 | "default": "./dist/dashboard/view/Preview.js"
|
132 | },
|
133 | "./input/check/CheckField": {
|
134 | "worker": "./dist/input/check/CheckField.js",
|
135 | "browser": "./dist/input/check/CheckField.browser.js",
|
136 | "default": "./dist/input/check/CheckField.js"
|
137 | },
|
138 | "./input/code/CodeField": {
|
139 | "worker": "./dist/input/code/CodeField.js",
|
140 | "browser": "./dist/input/code/CodeField.browser.js",
|
141 | "default": "./dist/input/code/CodeField.js"
|
142 | },
|
143 | "./input/date/DateField": {
|
144 | "worker": "./dist/input/date/DateField.js",
|
145 | "browser": "./dist/input/date/DateField.browser.js",
|
146 | "default": "./dist/input/date/DateField.js"
|
147 | },
|
148 | "./input/json/JsonField": {
|
149 | "worker": "./dist/input/json/JsonField.js",
|
150 | "browser": "./dist/input/json/JsonField.browser.js",
|
151 | "default": "./dist/input/json/JsonField.js"
|
152 | },
|
153 | "./input/link/LinkField": {
|
154 | "worker": "./dist/input/link/LinkField.js",
|
155 | "browser": "./dist/input/link/LinkField.browser.js",
|
156 | "default": "./dist/input/link/LinkField.js"
|
157 | },
|
158 | "./input/list/ListField": {
|
159 | "worker": "./dist/input/list/ListField.js",
|
160 | "browser": "./dist/input/list/ListField.browser.js",
|
161 | "default": "./dist/input/list/ListField.js"
|
162 | },
|
163 | "./input/metadata/MetadataField": {
|
164 | "worker": "./dist/input/metadata/MetadataField.js",
|
165 | "browser": "./dist/input/metadata/MetadataField.browser.js",
|
166 | "default": "./dist/input/metadata/MetadataField.js"
|
167 | },
|
168 | "./input/number/NumberField": {
|
169 | "worker": "./dist/input/number/NumberField.js",
|
170 | "browser": "./dist/input/number/NumberField.browser.js",
|
171 | "default": "./dist/input/number/NumberField.js"
|
172 | },
|
173 | "./input/object/ObjectField": {
|
174 | "worker": "./dist/input/object/ObjectField.js",
|
175 | "browser": "./dist/input/object/ObjectField.browser.js",
|
176 | "default": "./dist/input/object/ObjectField.js"
|
177 | },
|
178 | "./input/path/PathField": {
|
179 | "worker": "./dist/input/path/PathField.js",
|
180 | "browser": "./dist/input/path/PathField.browser.js",
|
181 | "default": "./dist/input/path/PathField.js"
|
182 | },
|
183 | "./input/richtext/RichTextField": {
|
184 | "worker": "./dist/input/richtext/RichTextField.js",
|
185 | "browser": "./dist/input/richtext/RichTextField.browser.js",
|
186 | "default": "./dist/input/richtext/RichTextField.js"
|
187 | },
|
188 | "./input/select/SelectField": {
|
189 | "worker": "./dist/input/select/SelectField.js",
|
190 | "browser": "./dist/input/select/SelectField.browser.js",
|
191 | "default": "./dist/input/select/SelectField.js"
|
192 | },
|
193 | "./input/tabs/Tabs": {
|
194 | "worker": "./dist/input/tabs/Tabs.js",
|
195 | "browser": "./dist/input/tabs/Tabs.browser.js",
|
196 | "default": "./dist/input/tabs/Tabs.js"
|
197 | },
|
198 | "./input/text/TextField": {
|
199 | "worker": "./dist/input/text/TextField.js",
|
200 | "browser": "./dist/input/text/TextField.browser.js",
|
201 | "default": "./dist/input/text/TextField.js"
|
202 | },
|
203 | "./input/view/View": {
|
204 | "worker": "./dist/input/view/View.js",
|
205 | "browser": "./dist/input/view/View.browser.js",
|
206 | "default": "./dist/input/view/View.js"
|
207 | },
|
208 | "./picker/entry/EntryPicker": {
|
209 | "worker": "./dist/picker/entry/EntryPicker.js",
|
210 | "browser": "./dist/picker/entry/EntryPicker.browser.js",
|
211 | "default": "./dist/picker/entry/EntryPicker.js"
|
212 | },
|
213 | "./picker/url/UrlPicker": {
|
214 | "worker": "./dist/picker/url/UrlPicker.js",
|
215 | "browser": "./dist/picker/url/UrlPicker.browser.js",
|
216 | "default": "./dist/picker/url/UrlPicker.js"
|
217 | },
|
218 | "./auth/passwordless/PasswordLessAuth": {
|
219 | "worker": "./dist/auth/passwordless/PasswordLessAuth.server.js",
|
220 | "browser": "./dist/auth/passwordless/PasswordLessAuth.js",
|
221 | "default": "./dist/auth/passwordless/PasswordLessAuth.server.js"
|
222 | },
|
223 | "./cli/util/ExportStore": {
|
224 | "worker": "./dist/cli/util/ExportStore.server.js",
|
225 | "browser": "./dist/cli/util/ExportStore.js",
|
226 | "default": "./dist/cli/util/ExportStore.server.js"
|
227 | },
|
228 | "./core/driver/DefaultDriver": {
|
229 | "worker": "./dist/core/driver/DefaultDriver.server.js",
|
230 | "browser": "./dist/core/driver/DefaultDriver.js",
|
231 | "default": "./dist/core/driver/DefaultDriver.server.js"
|
232 | },
|
233 | "./core/driver/NextDriver": {
|
234 | "worker": "./dist/core/driver/NextDriver.server.js",
|
235 | "browser": "./dist/core/driver/NextDriver.js",
|
236 | "default": "./dist/core/driver/NextDriver.server.js"
|
237 | }
|
238 | }
|
239 | }
|