-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.81 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 4.81 KB
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
{
"name": "botframework-directlinespeech-sdk",
"version": "0.0.0-0",
"description": "Direct Line Speech SDK",
"files": [
"./dist/**/*",
"./src/**/*",
"./*.js"
],
"main": "./dist/botframework-directlinespeech-sdk.js",
"exports": {
".": {
"import": {
"types": "./dist/botframework-directlinespeech-sdk.d.mts",
"default": "./dist/botframework-directlinespeech-sdk.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
}
},
"scripts": {
"build": "npm run build:tsup",
"build:tsup": "tsup --config ./tsup.config.ts",
"bump": "npm run bump:prod && npm run bump:dev && (npm audit fix || exit 0)",
"bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localDependencies // {} | keys) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | contains([$K]) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
"bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localDependencies // {} | keys) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | contains([$K]) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install --save-exact $PACKAGES_TO_BUMP || true",
"eslint": "npm run precommit",
"postversion": "cat package.json | jq '.version as $V | (.localDependencies // {} | with_entries(select(.value == \"production\") | { key: .key, value: $V })) as $L1 | (.localDependencies // {} | with_entries(select(.value == \"development\") | { key: .key, value: $V })) as $L2 | ((.dependencies // {}) + $L1 | to_entries | sort_by(.key) | from_entries) as $D1 | ((.devDependencies // {}) + $L2 | to_entries | sort_by(.key) | from_entries) as $D2 | . + { dependencies: $D1, devDependencies: $D2 }' > package-temp.json && mv package-temp.json package.json",
"precommit": "npm run precommit:eslint -- src",
"precommit:eslint": "eslint --report-unused-disable-directives --max-warnings 0",
"prettier": "prettier --check src/**/*.{js,ts}",
"preversion": "cat package.json | jq '(.localDependencies // {} | to_entries | map([if .value == \"production\" then \"dependencies\" else \"devDependencies\" end, .key])) as $P | delpaths($P)' > package-temp.json && mv package-temp.json package.json",
"start": "concurrently --kill-others --prefix-colors \"auto\" \"npm:start:*\"",
"start:serve": "serve",
"start:tsup": "npm run build:tsup -- --watch",
"test": "jest --watch"
},
"author": "Microsoft Corporation",
"license": "MIT",
"localDependencies": {},
"pinDependencies": {
"@babel/cli": [
"7.18.10",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/core": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/plugin-transform-runtime": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-env": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/runtime": [
"7.19.0",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"eslint": [
"8",
"@typescript-eslint/eslint-plugin does not support eslint@9 yet"
],
"microsoft-cognitiveservices-speech-sdk": [
"1.17.0",
"needs to bump manually"
],
"node-fetch": [
"2",
"node-fetch@3 dropped support of CommonJS"
]
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"babel-jest": "^29.7.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"dotenv": "^16.4.7",
"eslint": "^8.57.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-security": "^3.0.1",
"global-agent": "^3.0.0",
"has-resolved": "^1.1.0",
"jest": "^29.7.0",
"node-fetch": "^2.7.0",
"prettier": "^3.5.1",
"serve": "^14.2.4",
"simple-update-in": "^2.2.0",
"source-map-loader": "^5.0.0"
},
"dependencies": {
"abort-controller": "3.0.0",
"base64-arraybuffer": "1.0.2",
"core-js": "3.40.0",
"core-js-pure": "3.40.0",
"event-as-promise": "2.0.0",
"event-target-shim": "6.0.2",
"math-random": "2.0.1",
"microsoft-cognitiveservices-speech-sdk": "1.17.0",
"web-speech-cognitive-services": "8.1.1"
},
"engines": {
"node": ">= 10.14.2"
}
}