|
1 | 1 | { |
2 | | - "name": "dt-react-monaco-editor", |
3 | | - "version": "1.0.4", |
4 | | - "description": "Monaco editor for React.", |
5 | | - "authors": "DTStack Corporation", |
6 | | - "keywords": [ |
7 | | - "react", |
8 | | - "monaco", |
9 | | - "editor" |
10 | | - ], |
11 | | - "repository": { |
12 | | - "type": "git", |
13 | | - "url": "https://github.com/DTStack/dt-react-monaco-editor.git" |
14 | | - }, |
15 | | - "main": "lib/index.js", |
16 | | - "module": "lib/index.js", |
17 | | - "types": "lib/index.d.ts", |
18 | | - "files": [ |
19 | | - "lib/*" |
20 | | - ], |
21 | | - "scripts": { |
22 | | - "prepare": "husky install", |
23 | | - "prepublishOnly": "npm run build", |
24 | | - "build": "rm -rf lib && tsc", |
25 | | - "watch": "rm -rf lib && tsc --watch", |
26 | | - "release": "npm run build && node ./scripts/release.js", |
27 | | - "check-types": "tsc --noEmit --skipLibCheck", |
28 | | - "lint": "prettier --check './src/**/*.{js,jsx,tsx,ts,less}'", |
29 | | - "lint-fix": "prettier --write './src/**/*.{js,jsx,tsx,ts,less}'" |
30 | | - }, |
31 | | - "publishConfig": { |
32 | | - "registry": "https://registry.npmjs.org/" |
33 | | - }, |
34 | | - "devDependencies": { |
35 | | - "@commitlint/cli": "^17.6.3", |
36 | | - "@commitlint/config-conventional": "^17.6.3", |
37 | | - "@commitlint/cz-commitlint": "^17.5.0", |
38 | | - "@types/react": "18.x", |
39 | | - "commitizen": "^4.3.0", |
40 | | - "husky": "^8.0.3", |
41 | | - "inquirer": "^8.2.2", |
42 | | - "lint-staged": "^10.0.7", |
43 | | - "monaco-editor": "0.31.1", |
44 | | - "prettier": "^2.2.0", |
45 | | - "react": "18.x", |
46 | | - "standard-version": "^7.0.1", |
47 | | - "tslib": "^2.5.0", |
48 | | - "typescript": "^5.0.4" |
49 | | - }, |
50 | | - "peerDependencies": { |
51 | | - "monaco-editor": "^0.31.0", |
52 | | - "react": ">=16.13.1" |
53 | | - }, |
54 | | - "license": "MIT", |
55 | | - "engines": { |
56 | | - "node": ">=18" |
57 | | - }, |
58 | | - "packageManager": "[email protected]" |
| 2 | + "name": "dt-react-monaco-editor", |
| 3 | + "version": "1.0.4", |
| 4 | + "description": "Monaco editor for React.", |
| 5 | + "authors": "DTStack Corporation", |
| 6 | + "keywords": [ |
| 7 | + "react", |
| 8 | + "monaco", |
| 9 | + "editor" |
| 10 | + ], |
| 11 | + "repository": { |
| 12 | + "type": "git", |
| 13 | + "url": "https://github.com/DTStack/dt-react-monaco-editor.git" |
| 14 | + }, |
| 15 | + "main": "lib/index.js", |
| 16 | + "module": "lib/index.js", |
| 17 | + "types": "lib/index.d.ts", |
| 18 | + "files": [ |
| 19 | + "lib/*" |
| 20 | + ], |
| 21 | + "scripts": { |
| 22 | + "prepare": "husky install", |
| 23 | + "prepublishOnly": "npm run build", |
| 24 | + "build": "rm -rf lib && tsc", |
| 25 | + "watch": "rm -rf lib && tsc --watch", |
| 26 | + "release": "npm run build && node ./scripts/release.js", |
| 27 | + "check-types": "tsc --noEmit --skipLibCheck", |
| 28 | + "lint": "prettier --check './src/**/*.{js,jsx,tsx,ts,less}'", |
| 29 | + "lint-fix": "prettier --write './src/**/*.{js,jsx,tsx,ts,less}'" |
| 30 | + }, |
| 31 | + "publishConfig": { |
| 32 | + "registry": "https://registry.npmjs.org/" |
| 33 | + }, |
| 34 | + "devDependencies": { |
| 35 | + "@commitlint/cli": "^17.6.3", |
| 36 | + "@commitlint/config-conventional": "^17.6.3", |
| 37 | + "@commitlint/cz-commitlint": "^17.5.0", |
| 38 | + "@types/react": "18.x", |
| 39 | + "commitizen": "^4.3.0", |
| 40 | + "husky": "^8.0.3", |
| 41 | + "inquirer": "^8.2.2", |
| 42 | + "lint-staged": "^10.0.7", |
| 43 | + "monaco-editor": "0.31.1", |
| 44 | + "prettier": "^2.2.0", |
| 45 | + "react": "18.x", |
| 46 | + "standard-version": "^7.0.1", |
| 47 | + "tslib": "^2.5.0", |
| 48 | + "typescript": "^5.0.4" |
| 49 | + }, |
| 50 | + "peerDependencies": { |
| 51 | + "monaco-editor": "^0.31.0", |
| 52 | + "react": ">=16.13.1" |
| 53 | + }, |
| 54 | + "license": "MIT", |
| 55 | + "engines": { |
| 56 | + "node": ">=18" |
| 57 | + }, |
| 58 | + "packageManager": "[email protected]", |
| 59 | + "config": { |
| 60 | + "commitizen": { |
| 61 | + "path": "./node_modules/@commitlint/cz-commitlint" |
| 62 | + } |
| 63 | + }, |
| 64 | + "lint-staged": { |
| 65 | + "*": [ |
| 66 | + "prettier --write --ignore-unknown" |
| 67 | + ] |
| 68 | + } |
59 | 69 | } |
0 commit comments