-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 3.88 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
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"version": "0.2.49",
"license": "MIT",
"name": "@asany/editor",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src",
"types"
],
"engines": {
"node": ">=16"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"postversion": "git push --follow-tags"
},
"peerDependencies": {
"@asany/icons": ">=0.2.12",
"react": ">=18.2.0"
},
"prettier": {
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"author": "李茂峰",
"repository": "https://github.com/limaofeng/asany-editor",
"module": "dist/editor.esm.js",
"size-limit": [
{
"path": "dist/editor.cjs.production.min.js",
"limit": "2 MB",
"ignore": [
"fonteditor-core"
]
},
{
"path": "dist/editor.esm.js",
"limit": "1 MB",
"ignore": [
"fonteditor-core"
]
}
],
"dependencies": {
"@asany/sortable": "^0.1.36",
"@daybrush/drag": "^0.19.3",
"@scena/react-guides": "^0.17.1",
"moveable-helper": "^0.4.0",
"overlayscrollbars": "^1.13.2",
"overlayscrollbars-react": "^0.3.0",
"react-moveable": "^0.33.0",
"react-selecto": "^1.17.0",
"react-transition-group": "^4.4.2",
"react-use": "^17.4.0",
"scenejs": "^1.6.0",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@apollo/client": "^3.6.9",
"@asany/icons": "^0.2.12",
"@asany/tree": "^0.1.28",
"@babel/core": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@size-limit/preset-small-lib": "^7.0.8",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.5.9",
"@storybook/react": "^6.5.9",
"@types/lodash-es": "^4.17.6",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-is": "^17.0.3",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.5",
"@types/styled-components": "^5.1.25",
"@typescript-eslint/typescript-estree": "^5.30.5",
"antd": "^4.21.6",
"autoprefixer": "^10.4.7",
"babel-loader": "^8.2.5",
"conventional-changelog-cli": "^2.2.2",
"cssnano": "^5.1.12",
"eslint-plugin-prettier": "^3.4.1",
"fake-indexeddb": "^3.1.8",
"graphql": "^16.0.1",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"less": "^4.1.2",
"less-loader": "^7.3.0",
"lodash-es": "^4.17.21",
"pinst": "^2.1.6",
"postcss": "^8.4.14",
"react": "^18.2.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-router-dom": "^6.3.0",
"rollup-plugin-postcss": "^4.0.2",
"size-limit": "^7.0.8",
"sunmao": "^0.2.35",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.1.1",
"**/@typescript-eslint/parser": "^4.1.1",
"**/@typescript-eslint/typescript-estree": "^5.30.5"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "./__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy"
},
"setupFiles": [
"<rootDir>/test/globals-test.ts"
]
}
}