|
23 | 23 | "build": "sl-scripts bundle --sourcemap", |
24 | 24 | "build.docs": "build-storybook -c .storybook -o docs-auto", |
25 | 25 | "commit": "git-cz", |
26 | | - "lint": "tslint -c tslint.json -p tsconfig.json 'src/**/*.{ts,tsx}'", |
| 26 | + "lint": "eslint 'src/**/*.{ts,tsx}'", |
27 | 27 | "lint.fix": "yarn lint --fix", |
28 | 28 | "release": "sl-scripts release", |
29 | 29 | "release.docs": "sl-scripts release:docs", |
|
35 | 35 | "test.watch": "yarn test --watch" |
36 | 36 | }, |
37 | 37 | "peerDependencies": { |
38 | | - "@stoplight/markdown-viewer": "^3", |
| 38 | + "@stoplight/markdown-viewer": "^4", |
39 | 39 | "@stoplight/ui-kit": "^3", |
40 | 40 | "mobx": "^5", |
41 | 41 | "react": ">=16.8", |
42 | 42 | "react-dom": ">=16.8" |
43 | 43 | }, |
44 | 44 | "dependencies": { |
45 | | - "@stoplight/json": "^3.5.1", |
| 45 | + "@stoplight/json": "^3.10.0", |
46 | 46 | "@stoplight/json-schema-merge-allof": "^0.7.2", |
47 | 47 | "@stoplight/react-error-boundary": "^1.0.0", |
48 | 48 | "@stoplight/tree-list": "^5.0.3", |
49 | 49 | "classnames": "^2.2.6", |
50 | 50 | "lodash": "^4.17.15", |
51 | | - "mobx-react-lite": "^1.4.1", |
52 | | - "pluralize": "^8.0.0" |
| 51 | + "mobx-react-lite": "^1.4.1" |
53 | 52 | }, |
54 | 53 | "devDependencies": { |
55 | | - "@emotion/core": "^10.0.16", |
56 | | - "@emotion/styled": "^10.0.15", |
57 | 54 | "@rollup/plugin-commonjs": "^11.1.0", |
58 | 55 | "@rollup/plugin-typescript": "^3.1.1", |
59 | 56 | "@sambego/storybook-state": "^1.3.6", |
60 | | - "@stoplight/markdown-viewer": "^3.5.5", |
| 57 | + "@stoplight/eslint-config": "^1.2.0", |
| 58 | + "@stoplight/markdown-viewer": "^4.3.2", |
61 | 59 | "@stoplight/scripts": "^8.2.0", |
62 | | - "@stoplight/storybook-config": "^2.0.5", |
63 | | - "@stoplight/types": "11.0.0", |
64 | | - "@stoplight/ui-kit": "3.0.0-beta.2", |
65 | | - "@types/classnames": "^2.2.9", |
66 | | - "@types/enzyme": "3.10.3", |
67 | | - "@types/jest": "^24.0.18", |
68 | | - "@types/json-schema": "^7.0.3", |
69 | | - "@types/lodash": "^4.14.149", |
| 60 | + "@stoplight/storybook-config": "^2.0.6", |
| 61 | + "@stoplight/types": "^11.9.0", |
| 62 | + "@stoplight/ui-kit": "3.0.0-beta.39", |
| 63 | + "@types/classnames": "^2.2.11", |
| 64 | + "@types/enzyme": "^3.10.8", |
| 65 | + "@types/jest": "^26.0.18", |
| 66 | + "@types/json-schema": "^7.0.6", |
| 67 | + "@types/lodash": "^4.14.165", |
70 | 68 | "@types/node": "^12.7.2", |
71 | | - "@types/pluralize": "^0.0.29", |
72 | 69 | "@types/react": "16.9.2", |
73 | 70 | "@types/react-dom": "16.9.0", |
74 | 71 | "@types/treeify": "^1.0.0", |
75 | | - "babel-jest": "^24.9.0", |
76 | | - "babel-loader": "^8.0.6", |
77 | | - "copyfiles": "^2.1.1", |
78 | | - "emotion-theming": "^10.0.14", |
79 | | - "enzyme": "3.10.0", |
80 | | - "enzyme-adapter-react-16": "1.14.0", |
81 | | - "enzyme-to-json": "3.4.0", |
82 | | - "jest": "^24.9.0", |
83 | | - "jest-enzyme": "7.1.0", |
| 72 | + "@typescript-eslint/eslint-plugin": "^4.9.1", |
| 73 | + "@typescript-eslint/parser": "^4.9.1", |
| 74 | + "babel-jest": "^26.6.3", |
| 75 | + "babel-loader": "^8.2.2", |
| 76 | + "copyfiles": "^2.4.1", |
| 77 | + "enzyme": "^3.11.0", |
| 78 | + "enzyme-adapter-react-16": "^1.15.5", |
| 79 | + "enzyme-to-json": "^3.6.1", |
| 80 | + "eslint": "^7.15.0", |
| 81 | + "eslint-plugin-import": "^2.20.2", |
| 82 | + "eslint-plugin-jest": "^24.1.3", |
| 83 | + "eslint-plugin-prettier": "^3.1.3", |
| 84 | + "eslint-plugin-react": "^7.21.5", |
| 85 | + "eslint-plugin-react-hooks": "^4.2.0", |
| 86 | + "eslint-plugin-simple-import-sort": "^5.0.2", |
| 87 | + "jest": "^26.6.2", |
| 88 | + "jest-enzyme": "7.1.2", |
84 | 89 | "mobx": "^5.13.0", |
85 | | - "prettier": "^1.19.1", |
86 | | - "react": "16.9.0", |
87 | | - "react-dom": "16.9.0", |
| 90 | + "prettier": "^2.2.1", |
| 91 | + "react": "^16.14.0", |
| 92 | + "react-dom": "^16.14.0", |
88 | 93 | "rollup-plugin-terser": "^5.3.0", |
89 | 94 | "treeify": "^1.1.0", |
90 | | - "ts-jest": "^24.0.2", |
91 | | - "tslint": "^5.19.0", |
92 | | - "tslint-config-stoplight": "^1.4.0", |
93 | | - "typescript": "^4.0.3" |
| 95 | + "ts-jest": "^26.4.4", |
| 96 | + "typescript": "^4.0.5" |
94 | 97 | }, |
95 | 98 | "lint-staged": { |
96 | 99 | "*.{ts,tsx}$": [ |
|
116 | 119 | "release": { |
117 | 120 | "extends": "@stoplight/scripts/release" |
118 | 121 | }, |
119 | | - "typings": "src/index.d.ts", |
120 | | - "prettier": { |
121 | | - "printWidth": 120, |
122 | | - "trailingComma": "es5", |
123 | | - "singleQuote": true |
124 | | - } |
| 122 | + "typings": "src/index.d.ts" |
125 | 123 | } |
0 commit comments