microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/emitter-framework/package.json
90lines · modecode
| 1 | { |
| 2 | "name": "@typespec/emitter-framework", |
| 3 | "version": "0.16.0", |
| 4 | "type": "module", |
| 5 | "main": "dist/index.js", |
| 6 | "repository": { |
| 7 | "type": "git", |
| 8 | "url": "git+https://github.com/microsoft/typespec.git" |
| 9 | }, |
| 10 | "scripts": { |
| 11 | "build": "alloy build", |
| 12 | "clean": "rimraf ./dist", |
| 13 | "format": "prettier . --write", |
| 14 | "watch": "alloy build --watch", |
| 15 | "test": "vitest run", |
| 16 | "test:ui": "vitest --ui", |
| 17 | "test:watch": "vitest -w", |
| 18 | "test:ci": "vitest run --coverage --reporter=junit --reporter=default", |
| 19 | "prepack": "tsx ../../eng/tsp-core/scripts/strip-dev-import-exports.ts", |
| 20 | "postpack": "tsx ../../eng/tsp-core/scripts/strip-dev-import-exports.ts --restore", |
| 21 | "lint": "eslint . --max-warnings=0", |
| 22 | "lint:fix": "eslint . --fix" |
| 23 | }, |
| 24 | "exports": { |
| 25 | ".": { |
| 26 | "import": "./dist/src/core/index.js" |
| 27 | }, |
| 28 | "./csharp": { |
| 29 | "import": "./dist/src/csharp/index.js" |
| 30 | }, |
| 31 | "./typescript": { |
| 32 | "import": "./dist/src/typescript/index.js" |
| 33 | }, |
| 34 | "./python": { |
| 35 | "import": "./dist/src/python/index.js" |
| 36 | }, |
| 37 | "./testing": { |
| 38 | "import": "./dist/src/testing/index.js" |
| 39 | } |
| 40 | }, |
| 41 | "imports": { |
| 42 | "#test/*": "./test/*", |
| 43 | "#core/*": { |
| 44 | "development": "./src/core/*", |
| 45 | "default": "./dist/src/core/*" |
| 46 | }, |
| 47 | "#csharp/*": { |
| 48 | "development": "./src/csharp/*", |
| 49 | "default": "./dist/src/csharp/*" |
| 50 | }, |
| 51 | "#typescript/*": { |
| 52 | "development": "./src/typescript/*", |
| 53 | "default": "./dist/src/typescript/*" |
| 54 | }, |
| 55 | "#python/*": { |
| 56 | "development": "./src/python/*", |
| 57 | "default": "./dist/src/python/*" |
| 58 | } |
| 59 | }, |
| 60 | "keywords": [], |
| 61 | "author": "", |
| 62 | "license": "MIT", |
| 63 | "description": "", |
| 64 | "peerDependencies": { |
| 65 | "@alloy-js/core": "^0.22.0", |
| 66 | "@alloy-js/csharp": "^0.22.0", |
| 67 | "@alloy-js/python": "^0.3.0", |
| 68 | "@alloy-js/typescript": "^0.22.0", |
| 69 | "@typespec/compiler": "workspace:^" |
| 70 | }, |
| 71 | "devDependencies": { |
| 72 | "@alloy-js/cli": "^0.22.0", |
| 73 | "@alloy-js/core": "^0.22.0", |
| 74 | "@alloy-js/python": "^0.3.0", |
| 75 | "@alloy-js/rollup-plugin": "^0.1.0", |
| 76 | "@alloy-js/typescript": "^0.22.0", |
| 77 | "@typespec/compiler": "workspace:^", |
| 78 | "concurrently": "^9.1.2", |
| 79 | "pathe": "^2.0.3", |
| 80 | "prettier": "~3.8.0", |
| 81 | "tree-sitter-c-sharp": "^0.23.0", |
| 82 | "tree-sitter-java": "^0.23.2", |
| 83 | "tree-sitter-javascript": "^0.25.0", |
| 84 | "tree-sitter-python": "^0.25.0", |
| 85 | "tree-sitter-typescript": "^0.23.0", |
| 86 | "typescript": "~5.9.3", |
| 87 | "vitest": "^4.0.18", |
| 88 | "web-tree-sitter": "^0.26.3" |
| 89 | } |
| 90 | } |