forked from dendronhq/dendron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 6.74 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "root",
"private": true,
"engines": {
"node": ">=0.14"
},
"workspaces": {
"packages": [
"packages/common-all",
"packages/common-assets",
"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",
"packages/dendron-plugin-views"
],
"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",
"prettier": "^2.0.4",
"standard-version": "^8.0.0",
"verdaccio": "^5.1.3",
"verdaccio-auth-memory": "^10.0.1",
"vsce": "^1.96.1"
},
"scripts": {
"setup": "yarn && yarn bootstrap:bootstrap && yarn bootstrap:build && yarn setup:cli",
"setup:cli": "./bootstrap/scripts/chmod-cli.js",
"build:prerelease:local": "cross-env UPGRADE_TYPE=prerelease PUBLISH_ENDPOINT=local ./bootstrap/scripts/buildPatch.sh",
"build:prerelease:remote": "cross-env UPGRADE_TYPE=prerelease PUBLISH_ENDPOINT=remote ./bootstrap/scripts/buildPatch.sh",
"build:prerelease:remote:ci": "cross-env UPGRADE_TYPE=prerelease PUBLISH_ENDPOINT=remote BUILD_ENV=ci ./bootstrap/scripts/buildPatch.sh",
"build:patch:local": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=local USE_IN_MEMORY_REGISTRY=1 EXT_TARGET=nightly ./bootstrap/scripts/buildPatch.sh",
"build:patch:local:ci": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=local BUILD_ENV=ci USE_IN_MEMORY_REGISTRY=1 EXT_TARGET=nightly ./bootstrap/scripts/buildPatch.sh",
"build:patch:remote": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=remote ./bootstrap/scripts/buildPatch.sh",
"build:patch:remote:ci": "cross-env UPGRADE_TYPE=patch PUBLISH_ENDPOINT=remote BUILD_ENV=ci ./bootstrap/scripts/buildPatch.sh",
"build:minor:local": "cross-env UPGRADE_TYPE=minor PUBLISH_ENDPOINT=local ./bootstrap/scripts/buildPatch.sh",
"build:minor:local:ci": "cross-env UPGRADE_TYPE=minor PUBLISH_ENDPOINT=local BUILD_ENV=ci ./bootstrap/scripts/buildPatch.sh",
"build:minor:remote": "cross-env UPGRADE_TYPE=minor PUBLISH_ENDPOINT=remote ./bootstrap/scripts/buildPatch.sh",
"build:minor:remote:ci": "cross-env UPGRADE_TYPE=minor PUBLISH_ENDPOINT=remote BUILD_ENV=ci ./bootstrap/scripts/buildPatch.sh",
"gen:data": "yarn dendron dev generate_json_schema_from_config",
"dendron": "node packages/dendron-cli/lib/bin/dendron-cli.js",
"cleanup": "./bootstrap/scripts/cleanup.sh",
"release": "standard-version",
"format": "lerna exec --parallel --ignore @dendronhq/dendron-11ty-legacy -- yarn format",
"format:pkg": "prettier --write",
"lint": "eslint . --ext ts,tsx",
"lerna:typecheck": "lerna exec --parallel --ignore @dendronhq/dendron-next-server --ignore @dendronhq/common-assets --ignore @dendronhq/nextjs-template --ignore @dendronhq/dendron-11ty-legacy --ignore @dendronhq/dendron-plugin-views -- 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",
"template:build": "yarn --cwd packages/nextjs-template run build",
"template:export": "yarn --cwd packages/nextjs-template run export",
"template:start": "yarn --cwd packages/nextjs-template run start",
"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",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"execa": "^5.0.0",
"github-slugger": "^1.3.0",
"typescript": "^4.1.5",
"verdaccio-memory": "^10.0.1"
}
}