-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.49 KB
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
{
"name": "@handlewithcare/react-codemirror",
"version": "0.3.4",
"license": "MIT",
"type": "module",
"module": "dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"README.md",
"LICENSE",
"dist"
],
"scripts": {
"build:esm": "swc ./src --strip-leading-paths --ignore **/__tests__/** -d ./dist/",
"build:types": "tsc --noEmit false --emitDeclarationOnly",
"build": "concurrently -P 'npm:build:* {@}' --",
"check:format": "prettier --check .",
"check:lint": "eslint .",
"check:types": "tsc",
"check": "concurrently -P 'npm:check:* {@}' --",
"clean": "rimraf \"./dist/!(cjs/package.json)\"",
"demo": "yarn vite",
"demo:build": "yarn vite build --outDir docs --base=/react-prosemirror/",
"dev": "yarn build -- --watch",
"fix:format": "prettier --write .",
"fix:lint": "eslint --fix .",
"fix:toc": "markdown-toc --bullets='-' -i README.md",
"fix": "concurrently -P 'npm:fix:* {@}' --",
"prepack": "yarn build",
"test": "vitest",
"prepare": "husky"
},
"devDependencies": {
"@codemirror/lang-javascript": "^6.2.3",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/state": "^6.5.2",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.36.3",
"@eslint/compat": "^1.2.7",
"@eslint/js": "^9.21.0",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.11.5",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "22",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
"codemirror": "^6.0.1",
"concurrently": "^9.1.2",
"eslint": "^9.21.0",
"eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"markdown-toc": "^1.2.0",
"prettier": "^3.5.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.8.2",
"typescript-eslint": "^8.25.0",
"vite": "^6.2.0",
"vitest": "^3.0.7"
},
"packageManager": "yarn@4.6.0",
"peerDependencies": {
"@codemirror/state": "*",
"@codemirror/view": "*",
"react": ">=18 <=19",
"react-dom": ">=18 <=19"
}
}