-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
74 lines (74 loc) · 2.23 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
{
"name": "@guardian/prosemirror-invisibles",
"version": "3.1.1",
"description": "A plugin to show invisibles in prosemirror",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"license": "MIT",
"author": {
"name": "Richard Beddington",
"email": "[email protected]"
},
"scripts": {
"watch": "run-p watch:*",
"watch:serve": "vite",
"watch:typecheck": "tsc --noEmit --watch",
"build": "vite build && tsc --declaration --emitDeclarationOnly --outDir dist/",
"test": "jest",
"pages": "npm run build-pages && http-server ./pages/dist",
"prepublishOnly": "yarn build",
"format": "prettier --write './src/**/*.ts'",
"build-pages": "vite build -c vite.config.pages.ts",
"publish-pages": "git subtree push --prefix pages/dist origin gh-pages"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@types/jest": "^29.2.3",
"@types/prosemirror-dev-tools": "^3.0.2",
"@typescript-eslint/eslint-plugin": "8.3.0",
"@typescript-eslint/parser": "8.3.0",
"@vitejs/plugin-react": "1.3.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.2.1",
"http-server": "^14.1.1",
"identity-obj-proxy": "^3.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"postcss": "^8.4.16",
"prettier": "3.3.3",
"prosemirror-dev-tools": "^3.1.0",
"prosemirror-example-setup": "1.2.1",
"prosemirror-history": "1.3.0",
"prosemirror-keymap": "1.2.0",
"prosemirror-menu": "1.2.1",
"prosemirror-schema-basic": "1.2.0",
"prosemirror-test-builder": "^1.1.0",
"react": "17",
"react-dom": "17",
"ts-jest": "^29.0.3",
"typescript": "4.8.3",
"vite": "5.4.2",
"vite-tsconfig-paths": "^3.5.0"
},
"jest": {
"modulePaths": [
"<rootDir>/src/ts"
],
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"testMatch": [
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"preset": "ts-jest",
"testEnvironment": "jest-environment-jsdom"
},
"peerDependencies": {
"prosemirror-model": "^1.18.2",
"prosemirror-state": "^1.4.2",
"prosemirror-view": "^1.29.1"
}
}