|
25 | 25 | "yarn": "^1.17.3"
|
26 | 26 | },
|
27 | 27 | "scripts": {
|
28 |
| - "clean": "del build", |
| 28 | + "clean": "del build/", |
29 | 29 | "docs:build": "gitbook install src && gitbook build src build/docs",
|
30 | 30 | "docs:dev": "yarn docs:build && gitbook serve src build/docs",
|
31 | 31 | "format": "npm-run-all format:pretty format:fix",
|
32 |
| - "format:fix": "eslint --fix --ext .js .", |
| 32 | + "format:fix": "eslint --fix .", |
33 | 33 | "format:pretty": "prettier --write \"**/*.{js,json,md,yml}\"",
|
34 | 34 | "lint": "npm-run-all lint:*",
|
35 |
| - "lint:js": "eslint --ext .js .", |
| 35 | + "lint:js": "eslint .", |
36 | 36 | "lint:md": "remark --no-stdout . \".github/**/*.md\"",
|
37 | 37 | "lint:pretty": "prettier --check \"**/*.{js,json,md,yml}\"",
|
| 38 | + "prepare:husky": "husky install", |
| 39 | + "prepare": "npm-run-all prepare:*", |
38 | 40 | "test": "yarn workspaces run test"
|
39 | 41 | },
|
40 | 42 | "devDependencies": {
|
41 |
| - "del-cli": "2.0.0", |
42 |
| - "eslint": "6.2.0", |
43 |
| - "eslint-config-prettier": "6.1.0", |
44 |
| - "eslint-plugin-import": "2.18.2", |
45 |
| - "eslint-plugin-prettier": "3.1.0", |
| 43 | + "del-cli": "^3.0.1", |
| 44 | + "eslint": "^7.23.0", |
| 45 | + "eslint-config-prettier": "^8.1.0", |
| 46 | + "eslint-plugin-import": "^2.22.1", |
| 47 | + "eslint-plugin-prettier": "^3.3.1", |
46 | 48 | "gitbook-cli": "2.3.2",
|
47 |
| - "husky": "3.0.4", |
48 |
| - "lint-staged": "9.2.3", |
49 |
| - "npm-run-all": "4.1.5", |
50 |
| - "prettier": "1.18.2", |
51 |
| - "remark-cli": "7.0.0", |
| 49 | + "husky": "^6.0.0", |
| 50 | + "lint-staged": "^10.5.4", |
| 51 | + "npm-run-all": "^4.1.5", |
| 52 | + "prettier": "^2.2.1", |
| 53 | + "remark-cli": "^9.0.0", |
52 | 54 | "remark-preset-lint-arcticicestudio": ">=0.3.0 <1.0.0"
|
53 | 55 | },
|
54 | 56 | "private": true,
|
|
0 commit comments