forked from draft-js-plugins/draft-js-plugins
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
115 lines (115 loc) · 3.29 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
{
"name": "draft-js-plugins",
"description": "A Plugin Architecture on top of Draft.JS",
"version": "0.0.0",
"author": {
"name": "Nik Graf",
"email": "[email protected]",
"url": "http://www.nikgraf.com"
},
"dependencies": {
"draft-js": "^0.11.0",
"eslint-plugin-import": "^2.28.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "7.23.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.22.6",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "7.23.0",
"@changesets/cli": "^2.26.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^14.1.0",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^6.5.16",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^27.5.0",
"@types/react-dom": "^18.0.3",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^8.2.5",
"babel-plugin-transform-rename-import": "^2.3.0",
"css-loader": "6.8.1",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-jsx-a11y": "4.0.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^27.5.1",
"linaria": "2.1",
"lint-staged": "^13.2.2",
"matched": "^5.0.1",
"multer": "^1.4.4",
"prettier": "^3.0.3",
"prismjs": "^1.29.0",
"rimraf": "^5.0.5",
"rollup": "^2.79.1",
"style-loader": "3.3.3",
"ts-jest": "27.1.4",
"ts-node": "10.9.1",
"typescript": "4.9.5",
"webpack": "^5.88.2"
},
"keywords": [
"components",
"draft",
"editor",
"react",
"react-component",
"ux",
"widget",
"wysiwyg"
],
"license": "MIT",
"lint-staged": {
"*.(js|ts|tsx)": [
"prettier --write",
"git add",
"eslint"
],
"*.(ts|tsx)": [
"bash -c tsc --noEmit"
]
},
"main": "lib/index.js",
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/draft-js-plugins/draft-js-plugins.git"
},
"scripts": {
"alex": "alex README.md",
"build-storybook": "build-storybook",
"lint": "yarn lint:eslint && yarn tsc",
"lint:eslint": "eslint --ext .js,.ts,.tsx ./",
"lint:eslint:fix": "eslint --fix ./",
"storybook": "start-storybook -p 6006",
"test": "yarn build:dts && yarn test:jest",
"test:jest": "jest",
"test:watch": "yarn test -- --watch",
"build": "yarn build:dts && yarn workspaces run build",
"build:dts": "yarn workspace @draft-js-plugins/editor run build && yarn workspace @draft-js-plugins/utils run build && yarn workspace @draft-js-plugins/buttons run build",
"prerelease": "yarn build",
"release": "changeset publish",
"postinstall": "husky install"
},
"workspaces": [
"packages/*"
]
}