-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
102 lines (102 loc) · 3.18 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
{
"name": "ebyroid",
"version": "0.2.0",
"description": "Node native addon for VOICEROID+ and VOICEROID2",
"author": "Kinas <[email protected]> (https://github.com/nanokina)",
"repository": {
"type": "git",
"url": "https://github.com/nanokina/ebyroid.git"
},
"bugs": {
"url": "https://github.com/nanokina/ebyroid/issues"
},
"homepage": "https://github.com/nanokina/ebyroid#readme",
"keywords": [
"VOICEROID",
"VOICEROID+",
"VOICEROID2",
"Discord",
"Dispeak",
"TTS",
"Text To Speech"
],
"main": "index.js",
"files": [
"CMakeLists.txt",
"lib",
"src",
"bin"
],
"bin": {
"ebyroid": "./bin/main.js"
},
"type": "commonjs",
"engines": {
"node": ">=12.13.1"
},
"os": [
"win32"
],
"arch": [
"ia32"
],
"license": "MIT",
"dependencies": {
"cmake-js": "^6.0.0",
"debug": "^4.1.1",
"iconv-lite": "^0.5.1",
"inquirer": "^7.0.6",
"npm-run-all": "^4.1.5",
"semver": "^7.1.3",
"yargs": "^15.3.0"
},
"scripts": {
"install": "run-p build:release",
"prestart": "@powershell -Command if(-not(Test-Path ebyroid.conf.json)) { node ./bin/main.js configure }",
"start": "@powershell -Command node ./bin/main.js start",
"test:run": "@powershell -Command $env:DEBUG='*';node ./test/test_run",
"build:debug": "run-s build:clean build:prepare build:debug:compile build:debug:copy",
"build:debug:copy": "@powershell -Command Copy-Item ./build/debug/ebyroid.node -Destination dll",
"build:debug:compile": "cmake-js -D compile",
"build:release": "run-s build:clean build:prepare build:release:compile build:release:copy",
"build:release:copy": "@powershell -Command Copy-Item ./build/release/ebyroid.node -Destination dll",
"build:release:compile": "cmake-js compile",
"build:clean": "run-s build:clean:*",
"build:clean:node": "@powershell -Command if(Test-Path ./dll/ebyroid.node) { Remove-Item ./dll/ebyroid.node }",
"build:clean:folder": "@powershell -Command if(Test-Path build) { Remove-Item -Recurse build }",
"build:prepare": "@powershell -Command if(-not(Test-Path dll)) { New-Item -Path . -Name dll -ItemType directory }",
"pack:debug": "run-s build:debug pack:clean pack:pkg pack:copy",
"pack:release": "run-s build:release pack:clean pack:pkg pack:copy",
"pack:copy": "@powershell -Command Copy-Item ./dll/ebyroid.node -Destination pack",
"pack:clean": "@powershell -Command if (Test-Path pack) { Remove-Item -Recurse pack }",
"pack:pkg": "pkg --options max-http-header-size=65536 --targets node12-win-x86 --out-path pack ."
},
"cmake-js": {
"runtime": "node",
"runtimeVersion": "12.13.1",
"arch": "ia32"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"pkg": "^4.4.4",
"prettier": "^1.19.1",
"wavefile": "^11.0.0"
}
}