-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 3.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@ydb-platform/monaco-ghost",
"version": "1.0.0",
"description": "Inline completion adapter for Monaco Editor",
"type": "module",
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./components": {
"types": "./dist/types/components/index.d.ts",
"import": "./dist/esm/components/index.js",
"require": "./dist/cjs/components/index.js"
},
"./hooks": {
"types": "./dist/types/hooks/index.d.ts",
"import": "./dist/esm/hooks/index.js",
"require": "./dist/cjs/hooks/index.js"
},
"./codeCompletion": {
"types": "./dist/types/codeCompletion/index.d.ts",
"import": "./dist/esm/codeCompletion/index.js",
"require": "./dist/cjs/codeCompletion/index.js"
}
},
"scripts": {
"clean": "rm -rf dist",
"type-check": "tsc --project tsconfig.check.json",
"build:types": "tsc --project tsconfig.json",
"build:cjs": "esbuild src/index.ts src/components/index.ts src/hooks/index.ts src/codeCompletion/index.ts --bundle --outdir=dist/cjs --format=cjs --platform=neutral --target=es2019 --external:monaco-editor --external:react --external:react-dom --external:react-monaco-editor",
"build:esm": "esbuild src/index.ts src/components/index.ts src/hooks/index.ts src/codeCompletion/index.ts --bundle --outdir=dist/esm --format=esm --platform=neutral --target=es2019 --external:monaco-editor --external:react --external:react-dom --external:react-monaco-editor",
"build": "npm run clean && npm run type-check && npm run build:types && npm run build:cjs && npm run build:esm",
"prepare": "husky install && npm run build",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"uuid": "^9.0.0"
},
"peerDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"monaco-editor": "^0.52.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-links": "^7.6.20",
"@storybook/addon-onboarding": "^1.0.11",
"@storybook/blocks": "^7.6.20",
"@storybook/react": "^7.6.20",
"@storybook/react-webpack5": "^7.6.20",
"@storybook/test": "^7.6.20",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.10.4",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"css-loader": "^7.1.2",
"esbuild": "^0.20.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.0.3",
"react": "*",
"react-dom": "*",
"react-monaco-editor": "^0.56.2",
"storybook": "^7.6.20",
"style-loader": "^4.0.0",
"ts-jest": "^29.1.2",
"typescript": "^4.9.0"
},
"keywords": [
"monaco-editor",
"inline-completion",
"ghost-text",
"code-completion",
"intellisense"
],
"author": "Raubzeug, astandrik, YDB Platform Team",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/ydb-platform/monaco-ghost.git"
},
"bugs": {
"url": "https://github.com/ydb-platform/monaco-ghost/issues"
},
"homepage": "https://github.com/ydb-platform/monaco-ghost#readme",
"sideEffects": false
}