-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
94 lines (94 loc) · 2.87 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": "@nytimes/react-prosemirror",
"version": "1.0.3",
"license": "Apache-2.0",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./src": "./src/index.ts"
},
"files": [
"README.md",
"LICENSE.txt",
"dist"
],
"scripts": {
"build:cjs": "swc ./src --ignore **/__tests__/** -d ./dist/cjs/ --no-swcrc --config-file .swcrc-cjs",
"build:esm": "swc ./src --ignore **/__tests__/** -d ./dist/esm/",
"build:types": "tsc --noEmit false --emitDeclarationOnly",
"build": "concurrently -P 'npm:build:* {@}' --",
"check:format": "prettier --check .",
"check:lint": "eslint --cache .",
"check:types": "tsc",
"check": "concurrently -P 'npm:check:* {@}' --",
"clean": "rimraf \"./dist/!(cjs/package.json)\"",
"demo": "yarn vite",
"dev": "yarn build -- --watch",
"fix:format": "prettier --write .",
"fix:lint": "eslint --cache --fix .",
"fix:toc": "markdown-toc --bullets='-' -i README.md",
"fix": "concurrently -P 'npm:fix:* {@}' --",
"prepack": "yarn build",
"test": "jest"
},
"devDependencies": {
"@swc/cli": "^0.1.61",
"@swc/core": "^1.3.32",
"@swc/jest": "^0.2.24",
"@testing-library/dom": "^9.0.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^27.0.0",
"@types/node": "^20.11.16",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"@vitejs/plugin-react": "^3.1.0",
"@yarnpkg/sdks": "^3.0.0-rc.38",
"concurrently": "^7.6.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.4.1",
"lint-staged": "^13.1.0",
"markdown-toc": "^1.2.0",
"prettier": "^3.2.5",
"prosemirror-commands": "^1.5.0",
"prosemirror-keymap": "^1.2.1",
"prosemirror-model": "^1.18.3",
"prosemirror-schema-list": "^1.2.2",
"prosemirror-state": "^1.4.2",
"prosemirror-transform": "^1.8.0",
"prosemirror-view": "^1.29.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.9.5",
"vite": "^4.5.3"
},
"peerDependencies": {
"prosemirror-model": "^1.0.0",
"prosemirror-state": "^1.0.0",
"prosemirror-view": "^1.0.0",
"react": ">=16.8",
"react-dom": ">=16.8"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.9"
}
}