2019-07-29 12:55:39 +02:00
|
|
|
{
|
2020-11-05 18:58:23 +02:00
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/laurent22/joplin.git"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
2019-07-29 14:10:07 +02:00
|
|
|
"scripts": {
|
2021-01-04 17:03:17 +02:00
|
|
|
"bootstrap": "lerna bootstrap --no-ci",
|
2021-01-18 12:13:26 +02:00
|
|
|
"bootstrapServerOnly": "lerna bootstrap --no-ci --include-dependents --include-dependencies --scope @joplin/server",
|
2021-01-04 17:03:17 +02:00
|
|
|
"bootstrapIgnoreScripts": "lerna bootstrap --ignore-scripts --no-ci",
|
|
|
|
"build": "lerna run build && npm run tsc",
|
2020-11-05 18:58:23 +02:00
|
|
|
"buildApiDoc": "npm start --prefix=packages/app-cli -- apidoc ../../readme/api/references/rest_api.md",
|
2020-11-06 23:52:24 +02:00
|
|
|
"buildDoc": "./packages/tools/build-all.sh",
|
2020-11-06 23:41:12 +02:00
|
|
|
"buildPluginDoc": "typedoc --name 'Joplin Plugin API Documentation' --mode file -theme './Assets/PluginDocTheme/' --readme './Assets/PluginDocTheme/index.md' --excludeNotExported --excludeExternals --excludePrivate --excludeProtected --out docs/api/references/plugin_api packages/lib/services/plugins/api/",
|
2020-11-08 19:19:38 +02:00
|
|
|
"buildTranslations": "npm run tsc && node packages/tools/build-translation.js",
|
2020-12-05 13:54:58 +02:00
|
|
|
"buildTranslationsNoTsc": "node packages/tools/build-translation.js",
|
2020-11-05 18:58:23 +02:00
|
|
|
"buildWebsite": "npm run buildApiDoc && node ./packages/tools/build-website.js && npm run buildPluginDoc",
|
2021-01-27 19:42:58 +02:00
|
|
|
"circularDependencyCheck": "madge --warning --circular --extensions js ./",
|
|
|
|
"dependencyTree": "madge",
|
2021-01-04 17:03:17 +02:00
|
|
|
"clean": "lerna clean -y && lerna run clean",
|
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",
|
2020-11-06 23:41:12 +02:00
|
|
|
"linter-ci": "./node_modules/.bin/eslint --resolve-plugins-relative-to . --quiet --ext .js --ext .jsx --ext .ts --ext .tsx",
|
|
|
|
"linter-precommit": "./node_modules/.bin/eslint --resolve-plugins-relative-to . --fix --ext .js --ext .jsx --ext .ts --ext .tsx",
|
|
|
|
"linter": "./node_modules/.bin/eslint --resolve-plugins-relative-to . --fix --quiet --ext .js --ext .jsx --ext .ts --ext .tsx",
|
2020-12-28 13:48:47 +02:00
|
|
|
"postinstall": "npm run bootstrap --no-ci && npm run build",
|
2021-01-18 16:59:16 +02:00
|
|
|
"publishAll": "git pull && npm run build && lerna version --yes --no-private --no-git-tag-version && gulp completePublishAll",
|
2021-01-10 02:14:36 +02:00
|
|
|
"releaseAndroidClean": "node packages/tools/release-android.js",
|
|
|
|
"releaseAndroid": "export PATH=\"/usr/local/opt/openjdk@11/bin:$PATH\" && 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",
|
2020-11-18 12:36:19 +02:00
|
|
|
"releasePluginGenerator": "node packages/tools/release-plugin-generator.js",
|
2021-01-04 17:03:17 +02:00
|
|
|
"releaseServer": "node packages/tools/release-server.js",
|
2020-11-06 23:41:12 +02:00
|
|
|
"setupNewRelease": "node ./packages/tools/setupNewRelease",
|
2020-11-10 17:59:30 +02:00
|
|
|
"test-ci": "lerna run test-ci --stream",
|
2020-11-19 20:34:53 +02:00
|
|
|
"test": "lerna run test --stream",
|
|
|
|
"tsc": "lerna run tsc --stream --parallel",
|
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",
|
2020-12-01 16:08:41 +02:00
|
|
|
"watch": "lerna run watch --stream --parallel",
|
2021-01-04 17:01:45 +02:00
|
|
|
"i": "lerna add --no-bootstrap --scope"
|
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": {
|
2020-11-05 18:58:23 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.6.0",
|
|
|
|
"@typescript-eslint/parser": "^4.6.0",
|
2020-08-05 00:00:11 +02:00
|
|
|
"eslint": "^7.6.0",
|
2020-06-02 22:13:15 +02:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
2020-01-29 19:54:25 +02:00
|
|
|
"eslint-plugin-react": "^7.18.0",
|
2020-02-27 02:20:55 +02:00
|
|
|
"eslint-plugin-react-hooks": "^2.4.0",
|
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-01-27 19:42:58 +02:00
|
|
|
"madge": "^4.0.0",
|
2020-10-09 19:35:46 +02:00
|
|
|
"typedoc": "^0.17.8",
|
2020-11-05 18:58:23 +02:00
|
|
|
"typescript": "^4.0.5"
|
2019-09-13 00:16:42 +02:00
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|