microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/bundler/package.json
63lines · modecode
| 1 | { |
| 2 | "name": "@typespec/bundler", |
| 3 | "version": "0.5.1", |
| 4 | "author": "Microsoft Corporation", |
| 5 | "description": "Package to bundle a TypeSpec library.", |
| 6 | "homepage": "https://typespec.io", |
| 7 | "readme": "https://github.com/microsoft/typespec/blob/main/README.md", |
| 8 | "license": "MIT", |
| 9 | "repository": { |
| 10 | "type": "git", |
| 11 | "url": "git+https://github.com/microsoft/typespec.git" |
| 12 | }, |
| 13 | "bugs": { |
| 14 | "url": "https://github.com/microsoft/typespec/issues" |
| 15 | }, |
| 16 | "keywords": [ |
| 17 | "typespec" |
| 18 | ], |
| 19 | "type": "module", |
| 20 | "main": "dist/src/index.js", |
| 21 | "exports": { |
| 22 | ".": "./dist/src/index.js", |
| 23 | "./vite": "./dist/src/vite/index.js" |
| 24 | }, |
| 25 | "engines": { |
| 26 | "node": ">=20.0.0" |
| 27 | }, |
| 28 | "scripts": { |
| 29 | "bundle": "node ./dist/src/cli.js", |
| 30 | "clean": "rimraf ./dist ./temp", |
| 31 | "build": "tsc -p tsconfig.build.json", |
| 32 | "watch": "tsc -p tsconfig.build.json --watch", |
| 33 | "test": "vitest run", |
| 34 | "test:ui": "vitest --ui", |
| 35 | "test:ci": "vitest run --coverage --reporter=junit --reporter=default", |
| 36 | "lint": "eslint . --max-warnings=0", |
| 37 | "lint:fix": "eslint . --fix" |
| 38 | }, |
| 39 | "files": [ |
| 40 | "lib/*.tsp", |
| 41 | "dist/**", |
| 42 | "!dist/test/**" |
| 43 | ], |
| 44 | "dependencies": { |
| 45 | "@typespec/compiler": "workspace:^", |
| 46 | "esbuild": "^0.27.0", |
| 47 | "esbuild-plugins-node-modules-polyfill": "^1.7.0", |
| 48 | "node-stdlib-browser": "~1.3.1", |
| 49 | "picocolors": "~1.1.1", |
| 50 | "yargs": "~18.0.0" |
| 51 | }, |
| 52 | "devDependencies": { |
| 53 | "@types/node": "~25.3.0", |
| 54 | "@types/yargs": "~17.0.33", |
| 55 | "@vitest/coverage-v8": "^4.0.18", |
| 56 | "@vitest/ui": "^4.0.18", |
| 57 | "c8": "^11.0.0", |
| 58 | "rimraf": "~6.1.3", |
| 59 | "typescript": "~5.9.3", |
| 60 | "vite": "^7.2.7", |
| 61 | "vitest": "^4.0.18" |
| 62 | } |
| 63 | } |
| 64 | |