-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 4.42 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
120
121
122
123
124
125
126
{
"name": "prosemirror-react-starter",
"version": "0.0.1",
"description": "quickstart boilerplate for prosemirror using typescript/webpack/babel.",
"keywords": [
"prosemirror",
"react"
],
"homepage": "https://examples-hub.github.io/prosemirror-react-starter",
"license": "MIT",
"author": "jinyaoo <[email protected]>",
"main": "src/index.ts",
"scripts": {
"// storybook": "echo 'UNFINISHED start-storybook -p 8999 -c .storybook'",
"build": "cross-env REACT_APP_ENV=react NODE_ENV=production webpack --config ./webpack/webpack.config.prod.js",
"build2": "npm run build:types && npm run build:js",
"build:dev": "cross-env REACT_APP_ENV=react NODE_ENV=production webpack --config ./webpack/webpack.config.prod.js",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"build:ts": "babel src --out-dir lib --watch",
"build:types": "tsc --emitDeclarationOnly",
"clean": "rm -rf ./build/",
"demo": "cross-env REACT_APP_ENV=reacthot webpack serve --hot --config ./webpack/webpack.config.demo.js",
"dev": "",
"formatter": "prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
"formatter:check": "npm run formatter -- --check",
"help": "echo 'exec npm start to view the demo'",
"lint": "eslint src --ext .ts,.tsx --fix -o eslint-log.log",
"start": "npm run demo",
"test": "cross-env REACT_APP_ENV=react jest --config ./jest.config.js",
"type-check": "tsc --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "npm run formatter"
}
},
"browserslist": [
"defaults",
"not IE 11",
"not IE_Mob 11"
],
"dependencies": {
"prosemirror-collab": "^1.3.0",
"prosemirror-commands": "^1.3.0",
"prosemirror-dropcursor": "^1.6.0",
"prosemirror-example-setup": "^1.2.1",
"prosemirror-gapcursor": "^1.3.1",
"prosemirror-history": "^1.3.0",
"prosemirror-inputrules": "^1.2.0",
"prosemirror-keymap": "^1.2.0",
"prosemirror-markdown": "^1.9.4",
"prosemirror-menu": "^1.2.1",
"prosemirror-model": "^1.18.1",
"prosemirror-schema-basic": "^1.2.0",
"prosemirror-schema-list": "^1.2.1",
"prosemirror-state": "^1.4.1",
"prosemirror-tables": "^1.2.5",
"prosemirror-test-builder": "^1.1.0",
"prosemirror-transform": "^1.7.0",
"prosemirror-view": "^1.27.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.13",
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.18.9",
"@emotion/css": "^11.7.1",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.7.1",
"@faker-js/faker": "^7.4.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.8",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"babel-jest": "^28.1.3",
"babel-loader": "^8.2.5",
"clean-webpack-plugin": "^4.0.0",
"core-js": "^3.25.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"eslint": "^8.22.0",
"eslint-config-alloy": "^4.6.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"global-jsdom": "^8.5.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-transform-stub": "^2.0.0",
"jsdom": "^20.0.0",
"mini-css-extract-plugin": "^2.6.1",
"node-polyfill-webpack-plugin": "^2.0.1",
"npm-force-resolutions": "^0.0.10",
"prettier": "^2.7.1",
"prosemirror-dev-toolkit": "^1.0.2",
"prosemirror-dev-tools": "^3.1.0",
"react-refresh": "^0.14.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"sass": "^1.54.9",
"sass-loader": "^13.0.2",
"source-map-loader": "^4.0.0",
"source-map-support": "^0.5.21",
"style-loader": "^3.3.1",
"ts-jest": "^28.0.8",
"typescript": "^4.8.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.0",
"webpack-merge": "^5.8.0",
"yargs": "^17.5.1"
}
}