-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
113 lines (113 loc) · 3.47 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
{
"name": "altos-text-editor",
"private": false,
"version": "0.3.2",
"type": "module",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/DareData/notion-style-editor"
},
"homepage": "https://daredata.github.io/notion-style-editor/",
"main": "./dist/altos-text-editor.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/altos-text-editor.js",
"default": "./dist/altos-text-editor.js"
},
"./dist/style.css": "./dist/style.css"
},
"types": "./dist/index.d.ts",
"scripts": {
"dev": "vite",
"build": "rm -rf dist && vite build",
"build:pages": "rm -rf docs && vite build --config vite.page.config.ts",
"preview": "vite preview",
"test": "vitest",
"lint": "yarn run lint:js",
"lint:fix": "yarn run lint:js:fix && yarn run lint:style:fix",
"lint:js": "eslint --ext .ts,.tsx ./src ./e2e",
"lint:js:fix": "npm run lint -- --fix",
"lint:style": "stylelint './src/**/*.tsx'",
"lint:style:fix": "stylelint './src/**/*.tsx' --fix",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"dependencies": {
"@hookform/resolvers": "^2.9.11",
"@milkdown/core": "7.3.0",
"@milkdown/ctx": "7.3.0",
"@milkdown/plugin-clipboard": "7.3.0",
"@milkdown/plugin-diagram": "7.3.0",
"@milkdown/plugin-emoji": "7.3.0",
"@milkdown/plugin-history": "7.3.0",
"@milkdown/plugin-listener": "7.3.0",
"@milkdown/plugin-math": "7.3.0",
"@milkdown/plugin-prism": "7.3.0",
"@milkdown/plugin-slash": "7.3.0",
"@milkdown/plugin-tooltip": "7.3.0",
"@milkdown/plugin-trailing": "7.3.0",
"@milkdown/plugin-upload": "7.3.0",
"@milkdown/preset-commonmark": "7.3.0",
"@milkdown/preset-gfm": "7.3.0",
"@milkdown/prose": "7.3.0",
"@milkdown/react": "7.3.0",
"@milkdown/transformer": "7.3.0",
"@prosemirror-adapter/react": "0.2.6",
"framer-motion": "^10.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropdown": "^1.11.0",
"react-hook-form": "^7.43.5",
"react-hot-toast": "^2.4.0",
"react-textarea-autosize": "^8.4.1",
"styled-components": "^5.3.9",
"yup": "^1.0.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/node": "^18.14.5",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@vitejs/plugin-react": "^3.1.0",
"babel-plugin-styled-components": "^2.0.7",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.1.2",
"postcss": "^8.4.21",
"postcss-styled-syntax": "^0.4.0",
"prettier": "^2.8.4",
"stylelint": "^15.3.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^31.0.0",
"stylelint-order": "^6.0.3",
"typescript": "^4.9.3",
"vite": "^4.1.0",
"vite-plugin-dts": "^2.0.2",
"vite-plugin-svgr": "^2.4.0",
"vitest": "^0.32.2"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"lint-staged": {
"*.ts?(x)": [
"yarn run lint:js:fix",
"yarn run lint:style:fix"
]
}
}