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-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",
|
2021-12-20 17:08:43 +02:00
|
|
|
"watchWebsite": "nodemon --verbose --watch Assets/WebsiteAssets --watch packages/tools/website/build.js --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": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
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",
|
2022-11-22 12:29:34 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.44.0",
|
|
|
|
"@typescript-eslint/parser": "5.44.0",
|
2022-11-07 12:01:46 +02:00
|
|
|
"cspell": "5.21.2",
|
2022-11-20 12:11:34 +02:00
|
|
|
"eslint": "8.28.0",
|
2022-11-08 16:23:59 +02:00
|
|
|
"eslint-interactive": "10.2.0",
|
2022-11-05 16:47:55 +02:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2022-11-08 16:24:11 +02:00
|
|
|
"eslint-plugin-promise": "6.1.1",
|
2022-11-18 23:28:37 +02:00
|
|
|
"eslint-plugin-react": "7.31.11",
|
2022-11-11 18:05:54 +02:00
|
|
|
"fs-extra": "10.1.0",
|
2022-11-12 14:20:53 +02:00
|
|
|
"glob": "8.0.3",
|
2022-11-05 16:47:55 +02:00
|
|
|
"gulp": "4.0.2",
|
|
|
|
"husky": "3.1.0",
|
|
|
|
"lerna": "3.22.1",
|
2022-11-25 14:23:00 +02:00
|
|
|
"lint-staged": "13.0.4",
|
2022-11-12 14:19:09 +02:00
|
|
|
"madge": "5.0.1",
|
2022-11-05 16:47:55 +02:00
|
|
|
"typedoc": "0.17.8",
|
2022-11-17 18:23:13 +02:00
|
|
|
"typescript": "4.9.3"
|
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-11-12 12:25:07 +02:00
|
|
|
"node-gyp": "9.3.0",
|
2022-11-06 14:39:18 +02:00
|
|
|
"nodemon": "2.0.20"
|
2021-12-20 17:08:43 +02:00
|
|
|
},
|
2022-11-17 17:20:14 +02:00
|
|
|
"packageManager": "yarn@3.3.0",
|
2022-11-11 14:22:52 +02:00
|
|
|
"resolutions": {
|
|
|
|
"joplin-rn-alarm-notification@1.0.5": "patch:joplin-rn-alarm-notification@npm:1.0.5#.yarn/patches/joplin-rn-alarm-notification-npm-1.0.5-662e871c03"
|
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|