-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
79 lines (79 loc) · 2.68 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
{
"name": "turborepo-basic-shared",
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"tutorials/*",
"templates/*",
"dao-programs/programs/*"
],
"scripts": {
"postinstall": "cp -f ./.env.local ./packages/cli/ && cp -f ./.env.local ./apps/web/",
"builderdao": "builderdao",
"build": "turbo run prebuild:content build link --scope=@builderdao/*",
"build:cli": "turbo run build link --scope=@builderdao/cli --include-dependencies --no-deps",
"build:localnet": "turbo run build:localnet",
"dev": "turbo run dev --parallel --ignore=@builderdao-learn/*",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,mdx}\"",
"test": "turbo run test --parallel",
"test:anchor": "cd dao-programs && ./deploy && anchor test",
"test:programs": "turbo run test:program --parallel --scope=@builderdao/program-tutorial",
"clean": "turbo run clean --parallel",
"prepare": "husky install",
"content:setstate:publish": "turbo run builderdao --scope=@builderdao-learn/* --concurrency=3 -- proposal publish",
"content:prepublish": "turbo run content:prepublish --scope=@builderdao-learn/* --concurrency=4",
"content:index": "turbo run content:index --scope='@builderdao-learn/*' --concurrency=4",
"content:publish": "turbo run content:publish --scope='@builderdao-learn/*' --concurrency=3 --force --continue -- --force --skip-images",
"content:deploy": "turbo run content:prepublish content:index --scope='@builderdao-learn/*' --concurrency=1",
"content:fulltext": "turbo run builderdao --scope=@builderdao-learn/* --concurrency=8 --force -- algolia fulltext",
"release": "turbo run build && yarn changeset publish"
},
"devDependencies": {
"husky": "^7.0.4",
"lint-staged": "^12.3.5",
"prettier": "^2.5.1",
"turbo": "^1.2.1"
},
"lint-staged": {
"apps/**/*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"dao-programs/**/*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"packages/ui/**/*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"packages/migration/**/*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"packages/md-utils/**/*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"tutorials/**/content/**/*.{md,mdx}": [
"prettier --write"
],
"apps/docs/pages/**/*.{md,mdx}": [
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"engines": {
"npm": ">=7.0.0",
"node": ">=14.0.0"
},
"packageManager": "[email protected]",
"dependencies": {
"@changesets/cli": "^2.22.0"
}
}