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": {
|
2020-11-19 20:34:53 +02:00
|
|
|
"addPackageCli": "lerna add --scope joplin",
|
|
|
|
"addPackageCliD": "lerna add --scope joplin -D",
|
|
|
|
"addPackageDesktop": "lerna add --scope @joplin/app-desktop",
|
|
|
|
"addPackageDesktopD": "lerna add --scope @joplin/app-desktop -D",
|
|
|
|
"addPackageMobile": "lerna add --scope @joplin/app-mobile",
|
|
|
|
"addPackageMobileD": "lerna add --scope @joplin/app-mobile -D",
|
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",
|
|
|
|
"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",
|
|
|
|
"postinstall": "lerna bootstrap --no-ci && npm run tsc",
|
|
|
|
"publishAll": "git pull && lerna version --no-git-tag-version && gulp completePublishAll",
|
2020-11-06 20:45:45 +02:00
|
|
|
"releaseAndroid": "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",
|
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",
|
|
|
|
"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",
|
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
|
|
|
}
|