2019-07-29 12:55:39 +02:00
|
|
|
{
|
2020-11-05 18:58:23 +02:00
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
2021-12-20 17:08:43 +02:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2020-11-05 18:58:23 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/laurent22/joplin.git"
|
|
|
|
},
|
2021-12-20 17:08:43 +02:00
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
|
|
|
},
|
2019-07-29 14:10:07 +02:00
|
|
|
"scripts": {
|
2022-08-31 13:56:58 +02:00
|
|
|
"buildParallel": "yarn workspaces foreach --verbose --interlaced --parallel --jobs 2 --topological run build && yarn run tsc",
|
2022-08-28 13:18:51 +02:00
|
|
|
"buildSequential": "yarn workspaces foreach --verbose --interlaced --topological run build && yarn run tsc",
|
2021-12-20 17:08:43 +02:00
|
|
|
"buildApiDoc": "yarn workspace joplin start apidoc ../../readme/api/references/rest_api.md",
|
2021-09-04 14:43:25 +02:00
|
|
|
"buildCommandIndex": "gulp buildCommandIndex",
|
2021-12-19 09:53:19 +02:00
|
|
|
"buildPluginDoc": "typedoc --name 'Joplin Plugin API Documentation' --mode file -theme './Assets/PluginDocTheme/' --readme './Assets/PluginDocTheme/index.md' --excludeNotExported --excludeExternals --excludePrivate --excludeProtected --out ../joplin-website/docs/api/references/plugin_api packages/lib/services/plugins/api/",
|
2021-12-20 17:08:43 +02:00
|
|
|
"updateMarkdownDoc": "node ./packages/tools/updateMarkdownDoc",
|
2022-04-07 17:00:00 +02:00
|
|
|
"updateNews": "node ./packages/tools/website/updateNews",
|
2021-12-21 20:53:36 +02:00
|
|
|
"buildSettingJsonSchema": "yarn workspace joplin start settingschema ../../../joplin-website/docs/schema/settings.json",
|
2021-12-21 19:10:59 +02:00
|
|
|
"buildTranslations": "node packages/tools/build-translation.js",
|
2022-11-22 20:16:57 +02:00
|
|
|
"buildWebsiteTranslations": "node packages/tools/website/buildTranslations.js",
|
2021-12-20 17:08:43 +02:00
|
|
|
"buildWebsite": "node ./packages/tools/website/build.js && yarn run buildPluginDoc && yarn run buildSettingJsonSchema",
|
2022-04-19 19:57:15 +02:00
|
|
|
"checkLibPaths": "node ./packages/tools/checkLibPaths.js",
|
2021-01-27 19:42:58 +02:00
|
|
|
"circularDependencyCheck": "madge --warning --circular --extensions js ./",
|
2021-12-20 17:08:43 +02:00
|
|
|
"clean": "npm run clean --workspaces --if-present && node packages/tools/clean && yarn cache clean",
|
2021-02-01 13:52:45 +02:00
|
|
|
"dependencyTree": "madge",
|
2020-11-09 15:12:11 +02:00
|
|
|
"generateDatabaseTypes": "node packages/tools/generate-database-types",
|
2020-10-09 22:26:50 +02:00
|
|
|
"linkChecker": "linkchecker https://joplinapp.org",
|
2021-11-22 19:17:28 +02:00
|
|
|
"linter-ci": "eslint --resolve-plugins-relative-to . --quiet --ext .js --ext .jsx --ext .ts --ext .tsx",
|
|
|
|
"linter-precommit": "eslint --resolve-plugins-relative-to . --fix --ext .js --ext .jsx --ext .ts --ext .tsx",
|
|
|
|
"linter": "eslint --resolve-plugins-relative-to . --fix --quiet --ext .js --ext .jsx --ext .ts --ext .tsx",
|
2022-08-19 12:38:50 +02:00
|
|
|
"linter-interactive": "eslint-interactive --resolve-plugins-relative-to . --fix --quiet --ext .js --ext .jsx --ext .ts --ext .tsx",
|
2022-12-27 19:39:30 +02:00
|
|
|
"packageJsonLint": "npmPkgJsonLint --configFile .npmpackagejsonlintrc.json --quiet .",
|
2022-01-01 16:06:57 +02:00
|
|
|
"postinstall": "gulp build",
|
|
|
|
"publishAll": "git pull && yarn run buildParallel && lerna version --yes --no-private --no-git-tag-version && gulp completePublishAll",
|
2022-02-11 20:24:59 +02:00
|
|
|
"releaseAndroid": "PATH=\"/usr/local/opt/openjdk@11/bin:$PATH\" node packages/tools/release-android.js",
|
2021-02-01 13:52:45 +02:00
|
|
|
"releaseAndroidClean": "node packages/tools/release-android.js",
|
2020-11-06 23:25:07 +02:00
|
|
|
"releaseCli": "node packages/tools/release-cli.js",
|
2020-11-06 23:41:12 +02:00
|
|
|
"releaseClipper": "node packages/tools/release-clipper.js",
|
|
|
|
"releaseDesktop": "node packages/tools/release-electron.js",
|
2021-02-01 13:52:45 +02:00
|
|
|
"releaseIOS": "node packages/tools/release-ios.js",
|
2020-11-18 12:36:19 +02:00
|
|
|
"releasePluginGenerator": "node packages/tools/release-plugin-generator.js",
|
2021-12-21 13:38:05 +02:00
|
|
|
"releasePluginRepoCli": "node packages/tools/release-plugin-repo-cli.js",
|
2021-01-04 17:03:17 +02:00
|
|
|
"releaseServer": "node packages/tools/release-server.js",
|
2022-05-05 17:34:52 +02:00
|
|
|
"cspell": "cspell",
|
|
|
|
"spellcheck": "node packages/tools/spellcheck.js",
|
2021-09-23 18:13:54 +02:00
|
|
|
"tagServerLatest": "node packages/tools/tagServerLatest.js",
|
2021-06-11 18:24:59 +02:00
|
|
|
"buildServerDocker": "node packages/tools/buildServerDocker.js",
|
2020-11-06 23:41:12 +02:00
|
|
|
"setupNewRelease": "node ./packages/tools/setupNewRelease",
|
2021-12-21 12:00:32 +02:00
|
|
|
"test-ci": "yarn workspaces foreach --parallel --verbose --interlaced --jobs 2 run test-ci",
|
|
|
|
"test": "yarn workspaces foreach --parallel --verbose --interlaced --jobs 2 run test",
|
2021-12-20 17:08:43 +02:00
|
|
|
"tsc": "yarn workspaces foreach --parallel --verbose --interlaced run tsc",
|
2020-11-06 23:41:12 +02:00
|
|
|
"updateIgnored": "gulp updateIgnoredTypeScriptBuild",
|
2020-11-19 20:34:53 +02:00
|
|
|
"updatePluginTypes": "./packages/generator-joplin/updateTypes.sh",
|
2021-12-21 13:38:05 +02:00
|
|
|
"watch": "yarn workspaces foreach --parallel --verbose --interlaced --jobs 999 run watch",
|
2022-11-28 18:16:32 +02:00
|
|
|
"watchWebsite": "nodemon --verbose --watch Assets/WebsiteAssets --watch packages/tools/website --watch packages/tools/website/utils --ext md,ts,js,mustache,css,tsx,gif,png,svg --exec \"node packages/tools/website/build.js && http-server --port 8077 ../joplin-website/docs -a localhost\""
|
2019-07-29 14:10:07 +02:00
|
|
|
},
|
2019-07-30 09:35:42 +02:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2022-12-27 19:39:30 +02:00
|
|
|
"pre-commit": "lint-staged && yarn run packageJsonLint"
|
2019-07-30 09:35:42 +02:00
|
|
|
}
|
|
|
|
},
|
2019-07-29 12:55:39 +02:00
|
|
|
"devDependencies": {
|
2022-11-17 15:32:38 +02:00
|
|
|
"@seiyab/eslint-plugin-react-hooks": "4.5.1-beta.0",
|
2023-02-04 09:58:54 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.48.2",
|
|
|
|
"@typescript-eslint/parser": "5.48.2",
|
2022-11-07 12:01:46 +02:00
|
|
|
"cspell": "5.21.2",
|
2022-12-31 16:18:12 +02:00
|
|
|
"eslint": "8.31.0",
|
2022-12-09 13:58:30 +02:00
|
|
|
"eslint-interactive": "10.3.0",
|
2023-02-05 13:06:20 +02:00
|
|
|
"eslint-plugin-import": "2.27.4",
|
2023-03-08 21:08:05 +02:00
|
|
|
"eslint-plugin-jest": "27.2.1",
|
2022-11-08 16:24:11 +02:00
|
|
|
"eslint-plugin-promise": "6.1.1",
|
2023-02-05 13:41:13 +02:00
|
|
|
"eslint-plugin-react": "7.32.0",
|
2023-03-30 22:11:29 +02:00
|
|
|
"fs-extra": "11.1.1",
|
2023-02-04 18:12:16 +02:00
|
|
|
"glob": "8.1.0",
|
2022-11-05 16:47:55 +02:00
|
|
|
"gulp": "4.0.2",
|
|
|
|
"husky": "3.1.0",
|
|
|
|
"lerna": "3.22.1",
|
2023-03-30 18:38:06 +02:00
|
|
|
"lint-staged": "13.2.0",
|
2023-02-28 17:06:57 +02:00
|
|
|
"madge": "6.0.0",
|
2022-12-27 19:39:30 +02:00
|
|
|
"npm-package-json-lint": "6.4.0",
|
2022-11-05 16:47:55 +02:00
|
|
|
"typedoc": "0.17.8",
|
2022-12-08 19:42:26 +02:00
|
|
|
"typescript": "4.9.4"
|
2021-07-10 12:16:13 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-05 15:09:41 +02:00
|
|
|
"@types/fs-extra": "9.0.13",
|
2022-11-12 14:20:32 +02:00
|
|
|
"http-server": "14.1.1",
|
2022-12-20 06:40:22 +02:00
|
|
|
"node-gyp": "9.3.1",
|
2023-03-13 00:39:35 +02:00
|
|
|
"nodemon": "2.0.21"
|
2021-12-20 17:08:43 +02:00
|
|
|
},
|
2023-02-19 15:08:53 +02:00
|
|
|
"packageManager": "yarn@3.3.1",
|
|
|
|
"resolutions": {
|
|
|
|
"react-native-camera@4.2.1": "patch:react-native-camera@npm%3A4.2.1#./.yarn/patches/react-native-camera-npm-4.2.1-24b2600a7e.patch"
|
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|