cursorless/package.json
Andreas Arvidsson 44a36e6740
Lint to prevent floating promises (#2497)
Fixes #1984

Note that I just mechanically went through all the errors and tried to
fix them. We definitely need to look at the change log and decide if we
like the changes. Maybe we should add a few more if statements with
throw instead of asserting not now and so on.

## Checklist

- [/] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [/] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [/] I have not broken the cheatsheet

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2024-07-30 16:01:46 +00:00

70 lines
2.6 KiB
JSON

{
"name": "cursorless",
"version": "0.1.0",
"description": "The root of the Cursorless monorepo",
"main": "index.js",
"scripts": {
"build": "pnpm -r build",
"clean": "pnpm -r clean",
"compile": "tsc --build && pnpm -r --if-present compile:esbuild",
"fix:eslint": "pnpm lint:ts --fix",
"fix:meta": "pnpm run meta-updater:base && pnpm -r exec prettier --write tsconfig.json package.json",
"fix:syncpack": "pnpm syncpack fix-mismatches",
"init-vscode-sandbox": "pnpm --filter=@cursorless/cursorless-vscode init-launch-sandbox",
"lint:meta": "pnpm run meta-updater:base --test",
"lint:ts": "eslint packages --ext ts,tsx,mts",
"lint": "pnpm run lint:meta && syncpack list-mismatches && pnpm run lint:ts",
"meta-updater:base": "pnpm --filter=@cursorless/meta-updater build && meta-updater",
"preinstall": "npx only-allow pnpm",
"test-compile": "tsc --build",
"test": "pnpm compile && pnpm lint && pnpm -F '!test-harness' test && pnpm -F test-harness test",
"generate-grammar": "pnpm -r generate-grammar",
"transform-recorded-tests": "./packages/common/scripts/my-ts-node.js packages/cursorless-engine/src/scripts/transformRecordedTests/index.ts",
"watch": "pnpm run -w --parallel '/^watch:.*/'",
"watch:esbuild": "pnpm run -r --parallel --if-present watch:esbuild",
"watch:tsc": "tsc --build --watch"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@pnpm/meta-updater": "1.0.0",
"@types/node": "18.18.2",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.18.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-mocha": "10.4.1",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-unused-imports": "^3.1.0",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.5.12",
"syncpack": "12.3.0",
"typescript": "^5.5.3"
},
"pnpm": {
"patchedDependencies": {
"@docusaurus/theme-search-algolia@3.1.1": "patches/@docusaurus__theme-search-algolia@3.1.0.patch",
"@types/nearley@2.11.5": "patches/@types__nearley@2.11.5.patch",
"nearley@2.20.1": "patches/nearley@2.20.1.patch"
},
"peerDependencyRules": {
"ignoreMissing": [
"react-json-view"
],
"allowedVersions": {
"react": "18",
"react-dom": "18"
}
}
},
"engines": {
"node": ">=18.18.2"
},
"packageManager": "pnpm@9.5.0",
"type": "module"
}