forked from OpenNewsLabs/pocketsphinx-stt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·54 lines (53 loc) · 1.78 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
{
"name": "pocketsphinx-stt",
"version": "2.0.2",
"description": "pocketsphinx speech to text - offline",
"main": "index.js",
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "10.16.3"
}
}
]
],
"plugins": [
[
"@babel/plugin-proposal-object-rest-spread",
{
"useBuiltIns": true
}
]
]
},
"scripts": {
"test": "echo \"Error: no test specified\"",
"start": "node src/index.js",
"build": "babel src -d dist",
"package:pocketsphinx":"rm -f ./dist/pocketsphinx-stt/sphinxbase/ || true && cp -r ./src/pocketsphinx-stt/sphinxbase ./dist/pocketsphinx-stt/sphinxbase && rm -rf ./dist/pocketsphinx-stt/pocketsphinx || true && cp -r ./src/pocketsphinx-stt/pocketsphinx ./dist/pocketsphinx-stt/pocketsphinx",
"package:js":"npm run build && rm ./dist/package.json || true && cp package.json ./dist/package.json && rm ./dist/README.md || true && cp README.md ./dist/README.md || true",
"publish:public": "npm run package:js && npm run package:pocketsphinx && npm publish dist --access public",
"publish:dry:run": "npm publish --dry-run",
"lint:fix": "eslint ./packages/* --fix"
},
"author": "Pietro Passarelli <[email protected]> (http://pietropassarelli.com)",
"license": "MIT",
"homepage": "https://github.com/OpenNewsLabs/pocketsphinx-stt",
"repository": {
"type": "git",
"url": "git+https://github.com/OpenNewsLabs/pocketsphinx-stt.git"
},
"dependencies": {
"ffmpeg-static-electron": "^2.0.1",
"fluent-ffmpeg": "^2.1.2"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.6.0"
}
}