|
1 | 1 | {
|
2 | 2 | "name": "redocusaurus-monorepo",
|
3 | 3 | "version": "0.0.0",
|
4 |
| - "private": "true", |
5 | 4 | "description": "Redoc for DocusaurusV2",
|
6 | 5 | "scripts": {
|
7 |
| - "build": "lerna run build --ignore 'redocusaurus-website'", |
8 |
| - "build:website": "lerna run build --scope 'redocusaurus-website'", |
9 |
| - "clean": "lerna exec -- \"rm -rf dist* .tsbuild*.info\"", |
10 |
| - "dev": "lerna run --parallel dev --ignore redocusaurus-website", |
11 |
| - "dev:website": "lerna run --parallel dev --scope 'redocusaurus-website'", |
| 6 | + "build": "yarn workspaces foreach --exclude 'redocusaurus-website' -t run build", |
| 7 | + "build:website": "yarn workspace redocusaurus-website run build", |
| 8 | + "clean": "yarn workspaces foreach -A exec \"rm -rf dist* .tsbuild*.info\"", |
| 9 | + "dev": "yarn workspaces foreach --exclude redocusaurus-website -p run dev", |
| 10 | + "dev:website": "yarn workspace redocusaurus-website run dev", |
12 | 11 | "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
13 | 12 | "lint:fix": "yarn lint --fix",
|
14 | 13 | "release": "yarn build && changeset publish",
|
15 |
| - "start": "yarn build && lerna run start --stream --scope redocusaurus-website", |
16 |
| - "test": "echo \"Error: no test specified\" && exit 1" |
| 14 | + "start": "yarn build && yarn workspace redocusaurus-website run start", |
| 15 | + "test": "echo \"Error: no test specified\" && exit 1", |
| 16 | + "prepare": "husky install" |
17 | 17 | },
|
18 | 18 | "repository": {
|
19 | 19 | "type": "git",
|
|
37 | 37 | "react-dom": "^17.0.0"
|
38 | 38 | },
|
39 | 39 | "devDependencies": {
|
40 |
| - "@changesets/changelog-github": "^0.2.8", |
41 |
| - "@changesets/cli": "^2.16.0", |
42 |
| - "@types/node": "^14.14.21", |
43 |
| - "@types/react": "^17.0.0", |
44 |
| - "@typescript-eslint/eslint-plugin": "^4.16.1", |
45 |
| - "@typescript-eslint/parser": "^4.16.1", |
46 |
| - "concurrently": "^6.2.0", |
47 |
| - "eslint": "^7.23.0", |
48 |
| - "eslint-config-airbnb-typescript": "^12.3.1", |
49 |
| - "eslint-config-prettier": "^8.1.0", |
50 |
| - "eslint-plugin-import": "^2.22.1", |
51 |
| - "eslint-plugin-jsx-a11y": "^6.4.1", |
52 |
| - "eslint-plugin-prettier": "^3.3.1", |
53 |
| - "eslint-plugin-react": "^7.23.1", |
54 |
| - "eslint-plugin-react-hooks": "^4.2.0", |
55 |
| - "husky": "^4.2.5", |
| 40 | + "@changesets/changelog-github": "^0.4.1", |
| 41 | + "@changesets/cli": "^2.18.0", |
| 42 | + "@types/node": "^16.9.6", |
| 43 | + "@types/react": "^17.0.24", |
| 44 | + "@typescript-eslint/eslint-plugin": "^4.31.2", |
| 45 | + "@typescript-eslint/parser": "^4.31.2", |
| 46 | + "concurrently": "^6.4.0", |
| 47 | + "eslint": "^7.32.0", |
| 48 | + "eslint-config-airbnb-typescript": "^14.0.0", |
| 49 | + "eslint-config-prettier": "^8.3.0", |
| 50 | + "eslint-plugin-import": "^2.25.3", |
| 51 | + "eslint-plugin-jsx-a11y": "^6.5.1", |
| 52 | + "eslint-plugin-prettier": "^4.0.0", |
| 53 | + "eslint-plugin-react": "^7.27.0", |
| 54 | + "eslint-plugin-react-hooks": "^4.3.0", |
| 55 | + "husky": "^7.0.4", |
56 | 56 | "lerna": "^4.0.0",
|
57 |
| - "lint-staged": "^10.5.4", |
58 |
| - "prettier": "2.2.1", |
59 |
| - "typescript": "^4.1.3" |
| 57 | + "lint-staged": "^11.2.6", |
| 58 | + "prettier": "2.4.1", |
| 59 | + "typescript": "^4.4.3" |
60 | 60 | },
|
61 | 61 | "engines": {
|
62 | 62 | "node": ">=10.15.1"
|
|
69 | 69 | },
|
70 | 70 | "husky": {
|
71 | 71 | "hooks": {
|
72 |
| - "pre-commit": "npx lint-staged" |
| 72 | + "pre-commit": "yarn lint-staged" |
73 | 73 | }
|
74 | 74 | },
|
75 | 75 | "lint-staged": {
|
|
81 | 81 | "singleQuote": true,
|
82 | 82 | "printWidth": 80,
|
83 | 83 | "tabWidth": 2
|
84 |
| - } |
| 84 | + }, |
| 85 | + "packageManager": "yarn@3.1.0" |
85 | 86 | }
|
0 commit comments