mirror of
https://github.com/enso-org/enso.git
synced 2024-11-27 06:32:30 +03:00
b286adaae4
# Important Notes The command to run the gui dev environment has been changed. Invoking the old command will print a message about that. From now on, use `pnpm dev:gui2` in repository root.
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"name": "ydoc-shared",
|
|
"private": true,
|
|
"type": "module",
|
|
"author": {
|
|
"name": "Enso Team",
|
|
"email": "contact@enso.org"
|
|
},
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"compile": "tsc",
|
|
"typecheck": "tsc",
|
|
"clean": "rimraf --glob src/ast/generated/*.{json,ts}",
|
|
"generate": "corepack pnpm run generate:ast-schema && corepack pnpm run generate:ast-types",
|
|
"generate:ast-schema": "cargo run -p enso-parser-schema > src/ast/generated/ast-schema.json",
|
|
"generate:ast-types": "vite-node ./parser-codegen/index.ts src/ast/generated/ast-schema.json src/ast/generated/ast.ts",
|
|
"generate:ast-types-lazy": "vite-node ./parser-codegen/index.ts src/ast/generated/ast-schema.json src/ast/generated/ast.ts --if-changed",
|
|
"format": "prettier --version && prettier --write src/ && eslint . --fix",
|
|
"postinstall": "corepack pnpm run generate:ast-schema && corepack pnpm run generate:ast-types-lazy"
|
|
},
|
|
"exports": {
|
|
"./ast": {
|
|
"source": "./src/ast/index.ts",
|
|
"types": "./dist/ast/index.d.ts",
|
|
"import": "./dist/ast/index.js"
|
|
},
|
|
"./*": {
|
|
"source": "./src/*.ts",
|
|
"types": "./dist/*.d.ts",
|
|
"import": "./dist/*.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^1.4.0",
|
|
"@open-rpc/client-js": "^1.8.1",
|
|
"@types/debug": "^4.1.12",
|
|
"change-case": "^4.1.2",
|
|
"debug": "^4.3.6",
|
|
"fast-diff": "^1.3.0",
|
|
"hash-wasm": "^4.11.0",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"lib0": "^0.2.85",
|
|
"partysocket": "^1.0.1",
|
|
"rimraf": "^6.0.1",
|
|
"rust-ffi": "workspace:*",
|
|
"yjs": "^13.6.7",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@fast-check/vitest": "^0.0.8",
|
|
"@tsconfig/node20": "^20.1.4",
|
|
"@types/node": "^20.11.21",
|
|
"typescript": "^5.5.3",
|
|
"vite-node": "^2.0.4",
|
|
"vite-plugin-wasm": "^3.3.0",
|
|
"vitest": "^1.3.1"
|
|
}
|
|
}
|