Skip to content

Commit

Permalink
changes how dependencies are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrek6641 committed Jun 30, 2023
1 parent 320e92e commit ff41612
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
6 changes: 4 additions & 2 deletions typescript/audio2text-event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"name": "text2audio-events",
"version": "1.0.0",
"description": "Sequence that uses AssemblyAi to transcript Audio sent by input channel",
"main": "index.js",
"main": "audio2text-event/src/index.js",
"scripts": {
"prebuild": "cd ../audio2text && npm install",
"build": "tsc -p tsconfig.json",
"postbuild": "cp -r package.json dist/ && (cd dist && npm i --omit=dev)"
},
Expand All @@ -26,6 +27,7 @@
},
"devDependencies": {
"@scramjet/types": "0.34.3",
"@types/node": "^20.2.5"
"@types/node": "^20.2.5",
"typescript": "^5.1.6"
}
}
10 changes: 6 additions & 4 deletions typescript/audio2text-input/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "assembly",
"name": "audio2text-input",
"version": "1.0.0",
"description": "Sequence that uses AssemblyAi to transcript Audio sent by input channel",
"main": "index.js",
"main": "audio2text-input/src/index.js",
"scripts": {
"prebuild": "cd ../audio2text && npm install",
"build": "tsc -p tsconfig.json",
"postbuild": "cp -r package.json dist/ && (cd dist && npm i --omit=dev)"
},
Expand All @@ -20,12 +21,13 @@
"license": "ISC",
"dependencies": {
"@scramjet/obj-logger": "^0.34.3",
"@scramjet/utility": "^0.33.5",
"@scramjet/utility": "^0.34.3",
"axios": "^1.3.6",
"date-and-time": "^2.4.3"
},
"devDependencies": {
"@scramjet/types": "0.33.5",
"@types/node": "^20.2.5"
"@types/node": "^20.2.5",
"typescript": "^5.1.6"
}
}
7 changes: 3 additions & 4 deletions typescript/audio2text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@
"dependencies": {
"@scramjet/obj-logger": "^0.34.3",
"@scramjet/utility": "^0.33.5",
"axios": "^1.3.6",
"date-and-time": "^2.4.3",
"typescript": "^5.0.4"
"axios": "^1.3.6"
},
"devDependencies": {
"@scramjet/types": "0.33.5",
"@types/node": "^20.2.3"
"@types/node": "^20.2.3",
"typescript": "^5.1.6"
}
}

0 comments on commit ff41612

Please sign in to comment.