forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 5.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "@azure/digital-twins-core",
"version": "2.0.0",
"description": "An isomorphic client library for Azure Digital Twins",
"sdk-type": "client",
"author": "Microsoft Corporation",
"license": "MIT",
"main": "dist/index.js",
"module": "dist-esm/src/index.js",
"types": "types/digital-twins-core.d.ts",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:browser": "tsc -p . && dev-tool run bundle",
"build:node": "tsc -p . && dev-tool run bundle && npm run extract-api",
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
"build:test:browser": "tsc -p . && dev-tool run bundle",
"build:test:node": "tsc -p . && dev-tool run bundle",
"build:test": "tsc -p . && dev-tool run bundle",
"build:samples": "echo Obsolete.",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-esm dist-browser test-dist test-browser types *.tgz *.log",
"execute:js-samples": "node ../../../common/scripts/run-samples.js samples/javascript/",
"execute:samples": "dev-tool samples run samples-dev",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "dev-tool run test:browser",
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js",
"pack": "npm pack 2>&1",
"test:node": "npm run clean && npm run build:test:node && npm run unit-test:node",
"test:browser": "npm run clean && npm run build:test:browser && npm run unit-test:browser",
"test": "npm run clean && npm run build:test && npm run unit-test",
"unit-test:browser": "dev-tool run test:browser",
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"files": [
"dist/",
"dist-esm/src/",
"types/digital-twins-core.d.ts",
"README.md",
"LICENSE"
],
"keywords": [
"azure",
"iot",
"digital-twins-core",
"cloud",
"twins",
"node",
"typescript",
"browser",
"isomorphic"
],
"repository": "github:Azure/azure-sdk-for-js",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core/",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.7.1",
"@azure/core-rest-pipeline": "^1.8.1",
"@azure/core-paging": "^1.1.1",
"@azure/core-tracing": "^1.0.0",
"@azure/core-util": "^1.0.0",
"@azure/logger": "^1.0.0",
"tslib": "^2.2.0",
"uuid": "^8.3.0"
},
"devDependencies": {
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/identity": "^3.3.0",
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-recorder": "^3.0.0",
"@microsoft/api-extractor": "^7.31.1",
"@types/chai": "^4.1.6",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"@types/sinon": "^10.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^16.0.0",
"eslint": "^8.0.0",
"inherits": "^2.0.3",
"karma": "^6.2.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
"karma-env-preprocessor": "^0.1.1",
"karma-firefox-launcher": "^1.1.0",
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.0.0",
"c8": "^8.0.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.0",
"sinon": "^15.0.0",
"typescript": "~5.2.0",
"util": "^0.12.1",
"uuid": "^8.3.0",
"@types/uuid": "^8.0.0",
"ts-node": "^10.0.0",
"esm": "^3.2.18"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/generated/azureDigitalTwinsAPIContext.ts",
"prefix": "packageVersion"
},
{
"path": "src/constants.ts",
"prefix": "SDK_VERSION"
},
{
"path": "swagger/README.md",
"prefix": "package-version"
}
]
},
"//sampleConfiguration": {
"productName": "Azure Digital Twins",
"productSlugs": [
"azure",
"azure-digital-twins"
],
"extraFiles": {
"./samples-dev/dtdl": [
"javascript/dtdl",
"typescript/src/dtdl"
]
},
"requiredResources": {
"Azure Digital Twins instance": "https://docs.microsoft.com/azure/digital-twins/how-to-set-up-instance-portal"
},
"skipFolder": true
}
}