-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
94 lines (94 loc) · 2.63 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
{
"name": "@webkom/lego-editor",
"version": "2.6.1",
"description": "A React editor written in TS with slate.js for lego-webapp",
"type": "module",
"main": "./dist/lego-editor.umd.cjs",
"module": "./dist/lego-editor.js",
"style": "dist/style.css",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/lego-editor.js",
"require": "./dist/lego-editor.umd.cjs"
},
"./dist/style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
}
},
"types": "dist/index.d.ts",
"scripts": {
"prepublish": "yarn ts && yarn build",
"build": "vite build && yarn build:types",
"build:types": "tsc -d --emitDeclarationOnly",
"dev": "vite",
"preview": "vite preview",
"test": "vitest run",
"coverage": "vitest run --coverage",
"lint": "yarn run lint:js && yarn run lint:prettier",
"lint:js": "eslint '{src,example}/**/*.{js,ts,tsx}'",
"lint:prettier": "prettier '{src,example}/**' --check",
"prettier": "prettier '{src,example}/**' --write",
"ts": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webkom/lego-editor.git"
},
"author": "Abakus webkom",
"license": "MIT",
"bugs": {
"url": "https://github.com/webkom/lego-editor/issues"
},
"homepage": "https://github.com/webkom/lego-editor#readme",
"dependencies": {
"@webkom/lego-bricks": "^1.3.5",
"classnames": "^2.2.6",
"escape-html": "^1.0.3",
"lodash": "^4.17.15",
"lucide-react": "^0.446.0",
"react-dropzone": "^14.2.2",
"react-image-crop": "^11.0.5",
"react-modal": "^3.11.2",
"slate": "^0.94.0",
"slate-history": "^0.93.0",
"slate-hyperscript": "^0.81.3",
"slate-react": "^0.94.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/babel__core": "^7.1.19",
"@types/escape-html": "^1.0.0",
"@types/is-hotkey": "^0.1.1",
"@types/lodash": "^4.14.137",
"@types/node": "^20.1.0",
"@types/react": "^18.0.15",
"@types/react-modal": "^3.10.6",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@vitejs/plugin-react": "^4.0.0",
"c8": "^7.12.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.30.1",
"jsdom": "^22.0.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vite": "^4.3.5",
"vitest": "^0.34.1"
},
"prettier": {
"singleQuote": true
}
}