-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 3.56 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 3.56 KB
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
133
{
"name": "docusaurus-extensions",
"description": "A collection of Docusaurus extensions",
"version": "1.0.0",
"author": "1Password <support@1password.com>",
"repository": "1password/docusaurus-extensions.git",
"license": "MIT",
"private": true,
"engines": {
"node": ">=16.14"
},
"workspaces": [
"packages/*",
"website"
],
"scripts": {
"build:all": "yarn workspaces foreach -pt run build",
"build:package": "yarn workspace @1password/${0} build",
"build:packages": "yarn workspaces foreach -p --exclude website run build",
"build:website": "yarn workspace website build",
"clean": "yarn workspaces foreach -pt run clean",
"dev": "yarn build:packages && yarn concurrently \"yarn workspace @1password/${0} watch\" \"yarn workspace website start\"",
"format:diff": "prettier --list-different .",
"format:write": "prettier --write .",
"lint:all": "yarn lint:scripts && yarn lint:styles",
"lint:scripts": "eslint --cache \"**/*.{js,jsx,ts,tsx}\"",
"lint:styles": "stylelint \"**/*.{scss,css}\"",
"postinstall": "husky install",
"syncpack": "syncpack format && syncpack fix-mismatches",
"test": "yarn build:package jest-docusaurus && jest --maxWorkers 1 --passWithNoTests",
"typecheck": "yarn workspaces foreach -pt run typecheck"
},
"devDependencies": {
"@1password/jest-docusaurus": "workspace:^",
"@docusaurus/eslint-plugin": "^3.2.1",
"@jest/types": "^29.6.3",
"@testing-library/jest-dom": "^6.4.2",
"@types/eslint": "^7.29.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.11.17",
"@types/prettier": "^2.7.1",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"concurrently": "^7.5.0",
"eslint": "^8.27.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^28.2.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^5.6.2",
"lint-staged": "^13.0.3",
"nx": "^15.6.3",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.2.0",
"stylelint": "^14.14.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^30.0.1",
"syncpack": "^8.3.9",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^5.2.2"
},
"lint-staged": {
"**/*": [
"prettier --write"
],
"**/package.json": [
"yarn syncpack"
],
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"**/*.{scss,css}": [
"stylelint --fix"
]
},
"packageManager": "yarn@3.2.2",
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"resolutions": {
"chalk": "^4.1.2"
},
"syncpack": {
"workspace": false,
"sortFirst": [
"name",
"description",
"version",
"author",
"repository",
"license",
"private",
"engines",
"main",
"types",
"files",
"workspaces",
"scripts"
],
"versionGroups": [
{
"dependencies": [
"react",
"react-dom",
"@1password/*"
],
"packages": [
"website"
]
},
{
"dependencies": [
"react",
"react-dom",
"@docusaurus/*"
],
"packages": [
"packages/*"
]
}
]
}
}