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",
|
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-08-19 13:10:04 +02:00
|
|
|
"@seiyab/eslint-plugin-react-hooks": "^4.5.1-alpha.5",
|
2022-08-31 13:57:28 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
|
|
"@typescript-eslint/parser": "^5.33.1",
|
2022-05-05 17:34:52 +02:00
|
|
|
"cspell": "^5.20.0",
|
2022-08-31 13:57:28 +02:00
|
|
|
"eslint": "^8.22.0",
|
2022-08-19 12:38:50 +02:00
|
|
|
"eslint-interactive": "^10.0.0",
|
2022-08-31 13:57:28 +02:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-react": "^7.30.1",
|
2020-02-17 22:55:09 +02:00
|
|
|
"fs-extra": "^8.1.0",
|
|
|
|
"glob": "^7.1.6",
|
|
|
|
"gulp": "^4.0.2",
|
2019-07-30 09:35:42 +02:00
|
|
|
"husky": "^3.0.2",
|
2020-11-05 18:58:23 +02:00
|
|
|
"lerna": "^3.22.1",
|
2019-09-13 00:16:42 +02:00
|
|
|
"lint-staged": "^9.2.1",
|
2021-05-09 19:30:08 +02:00
|
|
|
"madge": "^4.0.2",
|
2020-10-09 19:35:46 +02:00
|
|
|
"typedoc": "^0.17.8",
|
2022-08-31 13:57:28 +02:00
|
|
|
"typescript": "4.7.4"
|
2021-07-10 12:16:13 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-08-25 17:59:38 +02:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
2021-07-10 12:16:13 +02:00
|
|
|
"http-server": "^0.12.3",
|
2021-12-20 17:08:43 +02:00
|
|
|
"node-gyp": "^8.4.1",
|
2021-07-10 12:16:13 +02:00
|
|
|
"nodemon": "^2.0.9"
|
2021-12-20 17:08:43 +02:00
|
|
|
},
|
2022-09-09 16:06:03 +02:00
|
|
|
"packageManager": "yarn@3.1.1",
|
|
|
|
"resolutions": {
|
|
|
|
"@types/react": "17.0.14",
|
|
|
|
"@types/react-dom": "17.0.14"
|
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|