tinymist/package.json
Myriad-Dreamin d32f6261f1
feat: build tinymist targeting web (#1102)
* feat: add web target

* dev: simple package rule

* dev: update web release

* dev: update workspace

* ci: setup wasm pack

* ci: correct path to upload

* ci: build artifact

* fix: update metadata and launch config
2025-01-03 10:30:38 +08:00

40 lines
No EOL
1.5 KiB
JSON

{
"name": "tinymist-workspace",
"private": true,
"version": "0.0.0",
"type": "module",
"license": "Apache-2.0",
"workspaces": [
"crates/tinymist-core",
"editors/vscode",
"contrib/typst-preview/editors/vscode",
"tools/editor-tools",
"tools/typst-dom",
"tools/typst-preview-frontend"
],
"scripts": {
"build:editor-tools": "cd tools/editor-tools/ && yarn run build",
"build:preview": "cd tools/typst-preview-frontend && yarn run build && rimraf ../../crates/tinymist-assets/src/typst-preview.html && cpr ./dist/index.html ../../crates/tinymist-assets/src/typst-preview.html",
"maintainers": "typst query MAINTAINERS.typ \"<maintainer-meta>\" --pretty --one --field value --input=action=help",
"docs": "shiroa serve --font-path assets/fonts -w . docs/tinymist",
"docs:typ": "node scripts/link-docs.mjs",
"docs:rs": "cargo doc --workspace --document-private-items --no-deps",
"test:grammar": "cd syntaxes/textmate && yarn run test",
"build:typlite": "cargo build --bin typlite",
"typlite": "target/debug/typlite",
"check-msrv": "node scripts/check-msrv.mjs",
"generate-ci": "dist generate",
"draft-release": "node scripts/draft-release.mjs"
},
"dependencies": {},
"devDependencies": {
"cpr": "^3.0.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"typescript": "^5.3.3",
"vite": "^4.3.9",
"vite-plugin-singlefile": "^0.13.5",
"vite-plugin-wasm": "^3.2.2",
"vitest": "^0.32.2"
}
}