|
2 | 2 | "name": "dt-react-monaco-editor", |
3 | 3 | "version": "1.0.1", |
4 | 4 | "description": "Monaco editor for React.", |
5 | | - "authors": [ |
6 | | - "Jerome", |
7 | | - "Hayden" |
8 | | - ], |
| 5 | + "authors": "DTStack Corporation", |
9 | 6 | "keywords": [ |
10 | 7 | "react", |
11 | 8 | "monaco", |
|
23 | 20 | ], |
24 | 21 | "scripts": { |
25 | 22 | "prepare": "husky install", |
26 | | - "build": "rm -rf lib && tsc", |
| 23 | + "prepublishOnly": "npm run compile", |
| 24 | + "compile": "rm -rf lib && tsc", |
27 | 25 | "watch": "rm -rf lib && tsc --watch", |
28 | | - "release": "npm run build && node ./scripts/release.js", |
| 26 | + "release": "npm run compile && node ./scripts/release.js", |
29 | 27 | "check-types": "tsc --noEmit --skipLibCheck", |
30 | 28 | "lint": "prettier --check './src/**/*.{js,jsx,tsx,ts,less}'", |
31 | 29 | "lint-fix": "prettier --write './src/**/*.{js,jsx,tsx,ts,less}'" |
|
37 | 35 | "@commitlint/cli": "^17.6.3", |
38 | 36 | "@commitlint/config-conventional": "^17.6.3", |
39 | 37 | "@commitlint/cz-commitlint": "^17.5.0", |
40 | | - "@types/react": "^16.9.2", |
| 38 | + "@types/react": "18.x", |
41 | 39 | "commitizen": "^4.3.0", |
42 | | - "dt-python-parser": "0.8.0", |
43 | 40 | "husky": "^8.0.3", |
44 | 41 | "inquirer": "^8.2.2", |
45 | 42 | "lint-staged": "^10.0.7", |
46 | 43 | "monaco-editor": "0.31.1", |
47 | 44 | "prettier": "^2.2.0", |
48 | | - "react": "^17.0.2", |
| 45 | + "react": "18.x", |
49 | 46 | "standard-version": "^7.0.1", |
50 | 47 | "tslib": "^2.5.0", |
51 | 48 | "typescript": "^5.0.4" |
52 | 49 | }, |
53 | 50 | "peerDependencies": { |
54 | 51 | "monaco-editor": "^0.31.0", |
55 | | - "react": ">=16.13.1 <18.x" |
| 52 | + "react": ">=16.13.1" |
56 | 53 | }, |
57 | 54 | "license": "MIT" |
58 | 55 | } |
0 commit comments