2019-07-29 10:55:39 +00:00
|
|
|
{
|
2020-11-05 16:58:23 +00:00
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
2021-12-20 15:08:43 +00:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2020-11-05 16:58:23 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/laurent22/joplin.git"
|
|
|
|
},
|
2021-12-20 15:08:43 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
|
|
|
},
|
2019-07-29 12:10:07 +00:00
|
|
|
"scripts": {
|
2021-12-20 15:08:43 +00:00
|
|
|
"build": "yarn workspaces foreach --verbose --interlaced --parallel run build && yarn run tsc",
|
|
|
|
"buildApiDoc": "yarn workspace joplin start apidoc ../../readme/api/references/rest_api.md",
|
2021-09-04 12:43:25 +00:00
|
|
|
"buildCommandIndex": "gulp buildCommandIndex",
|
2021-12-19 07:53:19 +00: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 15:08:43 +00:00
|
|
|
"updateMarkdownDoc": "node ./packages/tools/updateMarkdownDoc",
|
|
|
|
"buildSettingJsonSchema": "yarn workspace joplin start -- settingschema ../../../joplin-website/docs/schema/settings.json",
|
|
|
|
"buildTranslations": "yarn run tsc && node packages/tools/build-translation.js",
|
2020-12-05 11:54:58 +00:00
|
|
|
"buildTranslationsNoTsc": "node packages/tools/build-translation.js",
|
2021-12-20 15:08:43 +00:00
|
|
|
"buildWebsite": "node ./packages/tools/website/build.js && yarn run buildPluginDoc && yarn run buildSettingJsonSchema",
|
2021-01-27 17:42:58 +00:00
|
|
|
"circularDependencyCheck": "madge --warning --circular --extensions js ./",
|
2021-12-20 15:08:43 +00:00
|
|
|
"clean": "npm run clean --workspaces --if-present && node packages/tools/clean && yarn cache clean",
|
2021-02-01 11:52:45 +00:00
|
|
|
"dependencyTree": "madge",
|
2020-11-09 13:12:11 +00:00
|
|
|
"generateDatabaseTypes": "node packages/tools/generate-database-types",
|
2020-10-09 20:26:50 +00:00
|
|
|
"linkChecker": "linkchecker https://joplinapp.org",
|
2021-11-22 17:17:28 +00: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",
|
2021-12-20 15:08:43 +00:00
|
|
|
"postinstall": "yarn run build",
|
|
|
|
"publishAll": "git pull && yarn run build && lerna version --yes --no-private --no-git-tag-version && gulp completePublishAll",
|
|
|
|
"releaseAndroid": "yarn run build && export PATH=\"/usr/local/opt/openjdk@11/bin:$PATH\" && node packages/tools/release-android.js",
|
2021-02-01 11:52:45 +00:00
|
|
|
"releaseAndroidClean": "node packages/tools/release-android.js",
|
2020-11-06 21:25:07 +00:00
|
|
|
"releaseCli": "node packages/tools/release-cli.js",
|
2020-11-06 21:41:12 +00:00
|
|
|
"releaseClipper": "node packages/tools/release-clipper.js",
|
|
|
|
"releaseDesktop": "node packages/tools/release-electron.js",
|
2021-02-01 11:52:45 +00:00
|
|
|
"releaseIOS": "node packages/tools/release-ios.js",
|
2020-11-18 10:36:19 +00:00
|
|
|
"releasePluginGenerator": "node packages/tools/release-plugin-generator.js",
|
2021-12-21 11:38:05 +00:00
|
|
|
"releasePluginRepoCli": "node packages/tools/release-plugin-repo-cli.js",
|
2021-01-04 15:03:17 +00:00
|
|
|
"releaseServer": "node packages/tools/release-server.js",
|
2021-09-23 16:13:54 +00:00
|
|
|
"tagServerLatest": "node packages/tools/tagServerLatest.js",
|
2021-06-11 16:24:59 +00:00
|
|
|
"buildServerDocker": "node packages/tools/buildServerDocker.js",
|
2020-11-06 21:41:12 +00:00
|
|
|
"setupNewRelease": "node ./packages/tools/setupNewRelease",
|
2021-12-21 10:00:32 +00: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 15:08:43 +00:00
|
|
|
"tsc": "yarn workspaces foreach --parallel --verbose --interlaced run tsc",
|
2020-11-06 21:41:12 +00:00
|
|
|
"updateIgnored": "gulp updateIgnoredTypeScriptBuild",
|
2020-11-19 18:34:53 +00:00
|
|
|
"updatePluginTypes": "./packages/generator-joplin/updateTypes.sh",
|
2021-12-21 11:38:05 +00:00
|
|
|
"watch": "yarn workspaces foreach --parallel --verbose --interlaced --jobs 999 run watch",
|
2021-12-20 15:08:43 +00: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 12:10:07 +00:00
|
|
|
},
|
2019-07-30 07:35:42 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2019-07-29 10:55:39 +00:00
|
|
|
"devDependencies": {
|
2020-11-05 16:58:23 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.6.0",
|
|
|
|
"@typescript-eslint/parser": "^4.6.0",
|
2020-08-04 22:00:11 +00:00
|
|
|
"eslint": "^7.6.0",
|
2020-06-02 20:13:15 +00:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
2020-01-29 17:54:25 +00:00
|
|
|
"eslint-plugin-react": "^7.18.0",
|
2020-02-27 00:20:55 +00:00
|
|
|
"eslint-plugin-react-hooks": "^2.4.0",
|
2020-02-17 20:55:09 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
|
|
|
"glob": "^7.1.6",
|
|
|
|
"gulp": "^4.0.2",
|
2019-07-30 07:35:42 +00:00
|
|
|
"husky": "^3.0.2",
|
2020-11-05 16:58:23 +00:00
|
|
|
"lerna": "^3.22.1",
|
2019-09-12 22:16:42 +00:00
|
|
|
"lint-staged": "^9.2.1",
|
2021-05-09 17:30:08 +00:00
|
|
|
"madge": "^4.0.2",
|
2020-10-09 17:35:46 +00:00
|
|
|
"typedoc": "^0.17.8",
|
2021-12-20 15:08:43 +00:00
|
|
|
"typescript": "4.0.5"
|
2021-07-10 10:16:13 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"http-server": "^0.12.3",
|
2021-12-20 15:08:43 +00:00
|
|
|
"node-gyp": "^8.4.1",
|
2021-07-10 10:16:13 +00:00
|
|
|
"nodemon": "^2.0.9"
|
2021-12-20 15:08:43 +00:00
|
|
|
},
|
|
|
|
"packageManager": "yarn@3.1.1"
|
2019-07-29 10:55:39 +00:00
|
|
|
}
|