-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
76 lines (76 loc) · 3.41 KB
/
package.json
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
{
"name": "@myriaddreamin/typst.ts",
"version": "0.5.0-rc9",
"author": "Myriad-Dreamin",
"description": "Run Typst in JavaScriptWorld.",
"license": "Apache-2.0",
"keywords": [
"TypeScript",
"Typst"
],
"bugs": "https://github.com/Myriad-Dreamin/typst.ts/issues",
"homepage": "https://myriad-dreamin.github.io/typst.ts/",
"private": true,
"workspaces": [
"packages/parser",
"packages/compiler",
"packages/renderer",
"packages/typst.ts",
"packages/typst.node",
"packages/typst.react",
"packages/typst.solid",
"packages/typst.solid/demo",
"packages/typst.vue3",
"packages/typst.angular",
"templates/*",
"projects/rehype-typst",
"projects/hexo-renderer-typst",
"projects/highlighter"
],
"scripts": {
"dev": "cargo run --bin typst-ts-dev-server -- run http --corpus ./fuzzers/corpora/",
"corpus": "cargo run --release --bin typst-ts-dev-server -- compile corpus --cat bugs,layout,lint,math,meta,text,viewers,visualize",
"install:pure": "yarn install --pure-lockfile",
"build:core": "yarn workspace @myriaddreamin/typst.ts build",
"build:pkg": "turbo build --filter=./packages/*",
"build:renderer": "turbo build --filter=!./packages/{compiler} --filter=./packages/{renderer,typst.ts}",
"build:proj": "turbo build --filter=./projects/*",
"watch:renderer": "cargo run --bin typst-ts-dev-server -- watch renderer",
"start:react": "yarn workspace @myriaddreamin/typst.react dev",
"start:angular": "yarn workspace typst.angular start",
"docs": "shiroa serve --font-path assets/fonts -w . docs/cookery",
"bump-packages": "python scripts/bump_version.py",
"prepublish-packages": "turbo run prepublish --filter=./packages/*",
"publish:dry": "turbo run prepublish publish:dry --filter=./packages/*",
"publish:lib": "turbo run prepublish publish:lib --filter=./packages/*",
"notes:clone-proj": "assets/fonts is the dummy project for cmd, and you should specify a project for cloning",
"example:clone-proj": "yarn run clone-proj projects/typst-book",
"clone-proj": "git submodule update --init --checkout assets/fonts",
"md": "yarn run md0 && yarn run md1 && yarn run md2 && yarn run md3",
"md0": "cargo run --bin typst-ts-cli -- compile --workspace . --entry ./github-pages/docs/ir-features.typ --format=svg",
"md1": "cargo run --bin typst-ts-cli -- compile --workspace . --entry ./github-pages/docs/ir-features.dark.typ --format=svg",
"md2": "cargo run --bin typst-ts-cli -- compile --workspace . --entry ./github-pages/docs/data-flow-standalone.typ --format=svg",
"md3": "cargo run --bin typst-ts-cli -- compile --workspace . --entry ./github-pages/docs/data-flow-standalone.dark.typ --format=svg"
},
"devDependencies": {
"cross-env": "^7.0.3",
"@babel/runtime": "^7.22.6",
"@types/node": "^20.6.3",
"prettier": "^3.0.2",
"vite": "^5.4.2",
"vite-plugin-banner": "^0.8.0",
"@vitejs/plugin-react": "^4.3.2",
"eslint-plugin-html": "^7.1.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"@eslint-community/eslint-plugin-eslint-comments": "^3.2.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"typescript": "=5.0.4"
}
}