mirror of https://github.com/laurent22/joplin.git
Tools: Improved TypeScript config
parent
03522b48a5
commit
da044960f9
2
BUILD.md
2
BUILD.md
|
@ -36,7 +36,7 @@ npm install && cd Tools && npm install
|
|||
# Building the Electron application
|
||||
|
||||
```
|
||||
rsync --delete -a ReactNativeClient/lib/ ElectronClient/app/lib/
|
||||
npm run copyLib
|
||||
npm run tsc
|
||||
cd ElectronClient/app
|
||||
npm install
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# TODO: When the apidoc command fails, it copy the failure in api.md, but shouldn't be doing that
|
||||
"$ROOT_DIR/../CliClient/run.sh" apidoc > "$ROOT_DIR/../readme/api.md" && node "$ROOT_DIR/update-readme-download.js" && node "$ROOT_DIR/build-release-stats.js" && node "$ROOT_DIR/build-welcome.js" && node "$ROOT_DIR/build-website.js" && git add -A && git commit -m "Update website" && git pull && git push
|
|
@ -6,7 +6,8 @@
|
|||
"linter": "./node_modules/.bin/eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx",
|
||||
"linter-ci": "./node_modules/.bin/eslint --ext .js --ext .jsx --ext .ts --ext .tsx",
|
||||
"tsc": "tsc",
|
||||
"tsc-watch": "tsc --watch"
|
||||
"tsc-watch": "tsc --watch",
|
||||
"copyLib": "rsync --delete -a ReactNativeClient/lib/ ElectronClient/app/lib/"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
|
|
@ -16,12 +16,9 @@
|
|||
"jsx": "react",
|
||||
},
|
||||
"include": [
|
||||
"ReactNativeClient/**/*.ts",
|
||||
"ReactNativeClient/**/*.tsx",
|
||||
"ElectronClient/**/*.ts",
|
||||
"ElectronClient/**/*.tsx",
|
||||
"CliClient/**/*.ts",
|
||||
"CliClient/**/*.tsx",
|
||||
"ReactNativeClient/**/*",
|
||||
"ElectronClient/**/*",
|
||||
"CliClient/**/*",
|
||||
],
|
||||
"exclude": [
|
||||
"**/node_modules",
|
||||
|
|
Loading…
Reference in New Issue