|
2 | 2 | "name": "talon-tools", |
3 | 3 | "displayName": "Talon tools", |
4 | 4 | "version": "0.1.0", |
| 5 | + "description": "Linting and formatting tools for Talon and Cursorless", |
| 6 | + "author": "Andreas Arvidsson", |
| 7 | + "publisher": "AndreasArvidsson", |
5 | 8 | "license": "MIT", |
6 | 9 | "type": "module", |
7 | 10 | "files": [ |
8 | | - "out/*", |
9 | | - "LICENSE" |
| 11 | + "out" |
10 | 12 | ], |
| 13 | + "types": "./out/lib/index.d.ts", |
11 | 14 | "exports": { |
12 | | - ".": "./out/lib.js" |
| 15 | + ".": { |
| 16 | + "types": "./out/lib/index.d.ts", |
| 17 | + "default": "./out/lib.js" |
| 18 | + } |
13 | 19 | }, |
14 | 20 | "bin": { |
15 | | - "snippet-fmt": "./out/snippetFormatter.js", |
16 | | - "talon-fmt": "./out/talonFormatter.js", |
17 | | - "tree-sitter-fmt": "./out/treeSitterFormatter.js" |
| 21 | + "snippet-fmt": "out/snippetFormatter.js", |
| 22 | + "talon-fmt": "out/talonFormatter.js", |
| 23 | + "tree-sitter-fmt": "out/treeSitterFormatter.js" |
18 | 24 | }, |
19 | 25 | "repository": { |
20 | 26 | "type": "git", |
21 | | - "url": "https://github.com/cursorless-dev/talon-tools" |
| 27 | + "url": "git+https://github.com/cursorless-dev/talon-tools.git" |
22 | 28 | }, |
23 | 29 | "funding": "https://github.com/sponsors/cursorless-dev", |
24 | 30 | "sponsor": { |
25 | 31 | "url": "https://github.com/sponsors/cursorless-dev" |
26 | 32 | }, |
27 | 33 | "scripts": { |
28 | 34 | "prepack": "npm run build", |
29 | | - "build": "tsx ./src/build.ts", |
| 35 | + "build": "tsc -p . && tsx ./src/build.ts", |
30 | 36 | "clean": "rm -rf out", |
31 | 37 | "lint": "npm run lint:ts &&npm run lint:fmt", |
32 | | - "lint:ts": "tsc -p . && eslint src", |
| 38 | + "lint:ts": "eslint src", |
33 | 39 | "lint:fmt": "prettier --check .", |
34 | 40 | "fix": "npm run fix:ts && npm run fix:fmt", |
35 | 41 | "fix:ts": "eslint src --fix", |
|
0 commit comments