-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] Speech Synthesis model & Translation test script (#6)
- Loading branch information
Showing
12 changed files
with
5,607 additions
and
1,989 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
#!/bin/sh | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
#!/bin/sh | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug Jest", | ||
"type": "node", | ||
"request": "launch", | ||
"runtimeArgs": [ | ||
"--inspect-brk", | ||
"${workspaceRoot}/node_modules/jest/bin/jest.js", | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal", | ||
"internalConsoleOptions": "neverOpen" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "mobx-i18n", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"license": "LGPL-3.0", | ||
"author": "[email protected]", | ||
"description": "Responsive Translation utility based on TypeScript & MobX", | ||
|
@@ -27,25 +27,32 @@ | |
"module": "dist/index.esm.js", | ||
"main": "dist/index.js", | ||
"dependencies": { | ||
"@swc/helpers": "^0.5.3", | ||
"regenerator-runtime": "^0.14.1" | ||
"@swc/helpers": "^0.5.13", | ||
"regenerator-runtime": "^0.14.1", | ||
"web-utility": "^4.4.0" | ||
}, | ||
"peerDependencies": { | ||
"mobx": ">=6.11" | ||
}, | ||
"devDependencies": { | ||
"@parcel/config-default": "~2.11.0", | ||
"@parcel/packager-ts": "~2.11.0", | ||
"@parcel/transformer-typescript-tsc": "~2.11.0", | ||
"@parcel/transformer-typescript-types": "~2.11.0", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^15.2.0", | ||
"mobx": "^6.12.0", | ||
"parcel": "~2.11.0", | ||
"prettier": "^3.2.4", | ||
"typedoc": "^0.25.7", | ||
"typedoc-plugin-mdn-links": "^3.1.12", | ||
"typescript": "~5.3.3" | ||
"@parcel/config-default": "~2.12.0", | ||
"@parcel/packager-ts": "~2.12.0", | ||
"@parcel/transformer-typescript-tsc": "~2.12.0", | ||
"@parcel/transformer-typescript-types": "~2.12.0", | ||
"@types/jest": "^29.5.13", | ||
"@types/node": "^20.16.10", | ||
"husky": "^9.1.6", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lint-staged": "^15.2.10", | ||
"mobx": "^6.13.3", | ||
"parcel": "~2.12.0", | ||
"prettier": "^3.3.3", | ||
"ts-jest": "^29.2.5", | ||
"ts-node": "^10.9.2", | ||
"typedoc": "^0.26.8", | ||
"typedoc-plugin-mdn-links": "^3.3.2", | ||
"typescript": "~5.6.2" | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
|
@@ -56,15 +63,19 @@ | |
"lint-staged": { | ||
"*.{md,json,yml,ts}": "prettier --write" | ||
}, | ||
"jest": { | ||
"preset": "ts-jest", | ||
"testEnvironment": "jsdom" | ||
}, | ||
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11", | ||
"targets": { | ||
"main": { | ||
"optimize": true | ||
} | ||
}, | ||
"scripts": { | ||
"prepare": "husky install", | ||
"test": "lint-staged", | ||
"prepare": "husky", | ||
"test": "lint-staged && jest", | ||
"build": "rm -rf dist/ docs/ && parcel build && typedoc source/", | ||
"prepublishOnly": "npm test && npm run build" | ||
} | ||
|
Oops, something went wrong.