microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-contribution-md-errors

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/best-practices/package.json

56lines · modecode

1{
2 "name": "@typespec/best-practices",
3 "version": "0.47.0",
4 "private": true,
5 "author": "Microsoft Corporation",
6 "description": "TypeSpec linter rules to enforce best practices.",
7 "homepage": "https://typespec.io",
8 "readme": "https://github.com/microsoft/typespec/blob/main/README.md",
9 "license": "MIT",
10 "repository": {
11 "type": "git",
12 "url": "git+https://github.com/microsoft/typespec.git"
13 },
14 "bugs": {
15 "url": "https://github.com/microsoft/typespec/issues"
16 },
17 "keywords": [
18 "typespec"
19 ],
20 "type": "module",
21 "main": "dist/src/index.js",
22 "exports": {
23 ".": "./dist/src/index.js"
24 },
25 "engines": {
26 "node": ">=20.0.0"
27 },
28 "scripts": {
29 "clean": "rimraf ./dist ./temp",
30 "build": "tsc -p tsconfig.build.json",
31 "watch": "tsc -p tsconfig.build.json --watch",
32 "test": "vitest run",
33 "test:ui": "vitest --ui",
34 "test:ci": "vitest run --coverage --reporter=junit --reporter=default",
35 "lint": "eslint . --max-warnings=0",
36 "lint:fix": "eslint . --fix"
37 },
38 "files": [
39 "lib/*.tsp",
40 "dist/**",
41 "!dist/test/**"
42 ],
43 "peerDependencies": {
44 "@typespec/compiler": "workspace:^"
45 },
46 "devDependencies": {
47 "@types/node": "~25.3.0",
48 "@typespec/compiler": "workspace:^",
49 "@vitest/coverage-v8": "^4.0.18",
50 "@vitest/ui": "^4.0.18",
51 "c8": "^11.0.0",
52 "rimraf": "~6.1.3",
53 "typescript": "~5.9.3",
54 "vitest": "^4.0.18"
55 }
56}