forked from dendronhq/dendron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 5.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "root",
"private": true,
"workspaces": {
"packages": [
"packages/common-all",
"packages/common-server",
"packages/common-test-utils",
"packages/engine-server",
"packages/api-server",
"packages/engine-test-utils",
"packages/pods-core",
"packages/dendron-cli",
"packages/dendron-next-server",
"packages/nextjs-template",
"packages/plugin-core",
"packages/dendron-11ty",
"packages/common-frontend"
],
"nohoist": [
"**/@types/mocha"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"chalk": "^4.1.1",
"eslint": "^7.30.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"execa": "^5.0.0",
"husky": "^4.2.5",
"lerna": "^3.19.0",
"lint-staged": ">=10",
"lodash": "^4.17.15",
"npm-cli-login": "^0.1.1",
"prettier": "^2.0.4",
"standard-version": "^8.0.0",
"verdaccio": "^5.1.3",
"vsce": "^1.96.1"
},
"scripts": {
"setup": "yarn && yarn bootstrap:bootstrap && yarn bootstrap:build && yarn setup:cli",
"setup:cli": "./bootstrap/scripts/chmod-cli.js",
"setup:npmlogin": "npm-cli-login -u dendron -p temporarydendronpassword -e test@dendron.com -r http://localhost:4873",
"build:patch:local": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=local ./bootstrap/scripts/buildPatch.sh",
"build:patch:local:ci": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=local BUILD_ENV=ci ./bootstrap/scripts/buildPatch.sh",
"build:patch:remote": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=remote ./bootstrap/scripts/buildPatch.sh",
"build:minor:local": "cross-env UPGRADE_TYPE=minor PUBLISH_ENDPOINT=local ./bootstrap/scripts/buildPatch.sh",
"build:minor:remote": "cross-env UPGRADE_TYPE=minor PUBLISH_ENDPOINT=remote ./bootstrap/scripts/buildPatch.sh",
"gen:data": "node packages/dendron-cli/lib/bin/dendron-cli.js dev generate_json_schema_from_config",
"cleanup": "./bootstrap/scripts/cleanup.sh",
"release": "standard-version",
"format": "lerna exec --parallel --ignore @dendronhq/dendron-11ty -- yarn format",
"format:pkg": "prettier --write",
"lint": "eslint . --ext ts,tsx",
"lerna:typecheck": "lerna exec --parallel --ignore @dendronhq/dendron-next-server --ignore @dendronhq/nextjs-template --ignore @dendronhq/dendron-11ty -- tsc -p tsconfig.build.json --noEmit",
"bootstrap:bootstrap": "npx yarn --network-timeout 600000 && yarn gen:meta",
"bootstrap:build": "node bootstrap/scripts/buildAll.js",
"bootstrap:build:fast": "yarn bootstrap:build:common-all && yarn bootstrap:build:common-server && yarn bootstrap:build:common-test-utils && yarn bootstrap:build:engine-server && yarn bootstrap:build:api-server && yarn bootstrap:build:engine-test-utils && yarn bootstrap:build:dendron-cli && yarn bootstrap:build:plugin-core",
"bootstrap:build:": "npx lerna run build --scope",
"bootstrap:build:nextjs-template": "yarn bootstrap:build: @dendronhq/nextjs-template",
"bootstrap:build:dendron-next-server": "yarn bootstrap:build: @dendronhq/dendron-next-server",
"bootstrap:build:common-all": "yarn bootstrap:build: @dendronhq/common-all",
"bootstrap:build:common-frontend": "yarn bootstrap:build: @dendronhq/common-frontend",
"bootstrap:build:plugin-core": "yarn bootstrap:build: @dendronhq/plugin-core",
"bootstrap:build:common-server": "yarn bootstrap:build: @dendronhq/common-server",
"bootstrap:build:common-test-utils": "yarn bootstrap:build: @dendronhq/common-test-utils",
"bootstrap:build:engine-server": "yarn bootstrap:build: @dendronhq/engine-server",
"bootstrap:build:engine-test-utils": "yarn bootstrap:build: @dendronhq/engine-test-utils",
"bootstrap:build:api-server": "yarn bootstrap:build: @dendronhq/api-server",
"bootstrap:build:pods-core": "yarn bootstrap:build: @dendronhq/pods-core",
"bootstrap:build:dendron-cli": "yarn bootstrap:build: @dendronhq/dendron-cli",
"bootstrap:init": "yarn bootstrap:bootstrap && yarn bootstrap:build",
"publish:minor:local": "./scripts/publish-integ.sh minor",
"ci:init": "yarn bootstrap:bootstrap && yarn bootstrap:build",
"ci:test:cli": "npx lerna run test --ignore @dendronhq/plugin-core --parallel --stream -- -- --forceExit",
"ci:test:plugin": "npx lerna run test --scope @dendronhq/plugin-core --stream",
"watch": "npx lerna exec --scope $pkg -- tsc -p tsconfig.build.json --watch",
"hooks:pre-commit": "node ./hooks/pre-commit.js",
"hooks:pre-push": "node ./hooks/pre-push.js",
"gen:meta": "node ./bootstrap/scripts/genMeta.js",
"gen:links": "node ./bootstrap/scripts/linkAll.js",
"backend:updateDendronDeps": "node bootstrap/backend/updateDendronhqDeps.js"
},
"packages": [
"packages/*",
"vendor/*"
],
"useWorkspaces": false,
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn hooks:pre-commit",
"pre-push": "yarn hooks:pre-push"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --config prettier.config.js --loglevel debug --write",
"eslint"
]
},
"dependencies": {
"@dendronhq/conventional-changelog-dendron": "^5.0.11",
"@types/jest": "^23.3.6",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"execa": "^5.0.0",
"github-slugger": "^1.3.0",
"typescript": "^4.1.5"
}
}