|
| 1 | +{ |
| 2 | + "name": "@azure-rest/azure-apicenter-rest", |
| 3 | + "version": "1.0.0-beta.1", |
| 4 | + "description": "azure.ApiCenter Service", |
| 5 | + "engines": { |
| 6 | + "node": ">=18.0.0" |
| 7 | + }, |
| 8 | + "sideEffects": false, |
| 9 | + "autoPublish": false, |
| 10 | + "tshy": { |
| 11 | + "exports": { |
| 12 | + "./package.json": "./package.json", |
| 13 | + ".": "./src/index.ts" |
| 14 | + }, |
| 15 | + "dialects": [ |
| 16 | + "esm", |
| 17 | + "commonjs" |
| 18 | + ], |
| 19 | + "esmDialects": [ |
| 20 | + "browser", |
| 21 | + "react-native" |
| 22 | + ], |
| 23 | + "selfLink": false |
| 24 | + }, |
| 25 | + "type": "module", |
| 26 | + "keywords": [ |
| 27 | + "node", |
| 28 | + "azure", |
| 29 | + "cloud", |
| 30 | + "typescript", |
| 31 | + "browser", |
| 32 | + "isomorphic" |
| 33 | + ], |
| 34 | + "author": "Microsoft Corporation", |
| 35 | + "license": "MIT", |
| 36 | + "files": [ |
| 37 | + "dist", |
| 38 | + "README.md", |
| 39 | + "LICENSE", |
| 40 | + "review/*", |
| 41 | + "CHANGELOG.md" |
| 42 | + ], |
| 43 | + "sdk-type": "client", |
| 44 | + "repository": "github:Azure/azure-sdk-for-js", |
| 45 | + "bugs": { |
| 46 | + "url": "https://github.com/Azure/azure-sdk-for-js/issues" |
| 47 | + }, |
| 48 | + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/apicenter/azure-apicenter-rest/README.md", |
| 49 | + "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", |
| 50 | + "//metadata": { |
| 51 | + "constantPaths": [ |
| 52 | + { |
| 53 | + "path": "src/dataApiClient.ts", |
| 54 | + "prefix": "userAgentInfo" |
| 55 | + } |
| 56 | + ] |
| 57 | + }, |
| 58 | + "dependencies": { |
| 59 | + "@azure-rest/core-client": "^2.1.0", |
| 60 | + "@azure/core-auth": "^1.6.0", |
| 61 | + "@azure/core-rest-pipeline": "^1.5.0", |
| 62 | + "@azure/logger": "^1.0.0", |
| 63 | + "tslib": "^2.6.2", |
| 64 | + "@azure/core-lro": "^3.0.0", |
| 65 | + "@azure/abort-controller": "^2.1.2", |
| 66 | + "@azure/core-paging": "^1.5.0" |
| 67 | + }, |
| 68 | + "devDependencies": { |
| 69 | + "dotenv": "^16.0.0", |
| 70 | + "@microsoft/api-extractor": "^7.40.3", |
| 71 | + "@types/node": "^18.0.0", |
| 72 | + "eslint": "^8.55.0", |
| 73 | + "prettier": "^3.2.5", |
| 74 | + "rimraf": "^5.0.5", |
| 75 | + "mkdirp": "^3.0.1", |
| 76 | + "typescript": "~5.5.3", |
| 77 | + "tshy": "^1.11.1", |
| 78 | + "@azure/core-util": "^1.0.0", |
| 79 | + "@azure/identity": "^4.2.1", |
| 80 | + "@vitest/browser": "^1.3.1", |
| 81 | + "@vitest/coverage-istanbul": "^1.3.1", |
| 82 | + "playwright": "^1.41.2", |
| 83 | + "vitest": "^1.3.1", |
| 84 | + "@azure-tools/test-credential": "^2.0.0", |
| 85 | + "@azure-tools/test-recorder": "^4.0.0", |
| 86 | + "@azure/dev-tool": "^1.0.0", |
| 87 | + "@azure/eslint-plugin-azure-sdk": "^3.0.0" |
| 88 | + }, |
| 89 | + "scripts": { |
| 90 | + "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", |
| 91 | + "extract-api": "rimraf review && mkdirp ./review && dev-tool run extract-api", |
| 92 | + "pack": "npm pack 2>&1", |
| 93 | + "lint": "eslint package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts", |
| 94 | + "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts --fix --fix-type [problem,suggestion]", |
| 95 | + "unit-test": "npm run unit-test:node && npm run unit-test:browser", |
| 96 | + "unit-test:browser": "npm run build:test && dev-tool run test:vitest --browser", |
| 97 | + "unit-test:node": "dev-tool run test:vitest", |
| 98 | + "integration-test": "npm run integration-test:node && npm run integration-test:browser", |
| 99 | + "integration-test:browser": "echo skipped", |
| 100 | + "integration-test:node": "echo skipped", |
| 101 | + "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", |
| 102 | + "build:samples": "echo skipped", |
| 103 | + "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", |
| 104 | + "execute:samples": "echo skipped", |
| 105 | + "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", |
| 106 | + "generate:client": "echo skipped", |
| 107 | + "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", |
| 108 | + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", |
| 109 | + "build:test": "npm run clean && tshy && dev-tool run build-test", |
| 110 | + "build": "npm run clean && tshy && mkdirp ./review && dev-tool run extract-api", |
| 111 | + "test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node", |
| 112 | + "test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test" |
| 113 | + }, |
| 114 | + "exports": { |
| 115 | + "./package.json": "./package.json", |
| 116 | + ".": { |
| 117 | + "browser": { |
| 118 | + "source": "./src/index.ts", |
| 119 | + "types": "./dist/browser/index.d.ts", |
| 120 | + "default": "./dist/browser/index.js" |
| 121 | + }, |
| 122 | + "react-native": { |
| 123 | + "source": "./src/index.ts", |
| 124 | + "types": "./dist/react-native/index.d.ts", |
| 125 | + "default": "./dist/react-native/index.js" |
| 126 | + }, |
| 127 | + "import": { |
| 128 | + "source": "./src/index.ts", |
| 129 | + "types": "./dist/esm/index.d.ts", |
| 130 | + "default": "./dist/esm/index.js" |
| 131 | + }, |
| 132 | + "require": { |
| 133 | + "source": "./src/index.ts", |
| 134 | + "types": "./dist/commonjs/index.d.ts", |
| 135 | + "default": "./dist/commonjs/index.js" |
| 136 | + } |
| 137 | + } |
| 138 | + }, |
| 139 | + "main": "./dist/commonjs/index.js", |
| 140 | + "types": "./dist/commonjs/index.d.ts", |
| 141 | + "module": "./dist/esm/index.js" |
| 142 | +} |
0 commit comments