-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
125 lines (125 loc) · 3.97 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
{
"name": "kedao",
"version": "1.1.4",
"description": "Rich Text Editor Based On Draft.js",
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"author": "banyudu",
"files": [
"lib"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "run-s -l clean build:js build:css",
"build:css": "gulp css",
"build:js": "ttsc",
"build:watch": "run-p -l watch:*",
"clean": "rimraf lib",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --cache",
"lint:js": "eslint . --ext .js,.jsx,.ts,.tsx --cache",
"lint:fix": "run-s -l lint:fix-*",
"lint:fix-js": "eslint --fix . --ext .js,.jsx,.ts,.tsx",
"lint:fix-style": "stylelint --fix src/**/*.{css,scss}",
"lint:style": "stylelint src/**/*.{css,scss}",
"preversion": "npm run lint && npm run build",
"postversion": "git push --follow-tags && npm publish",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"test": "run-s build test:unit",
"test:ci": "run-s test:build test:unit",
"test:build": "run-s test:build:self test:build:docs test:build:cra test:build:nextjs",
"test:build:self": "npm run build",
"test:build:docs": "cd docs && npm run build && cd ..",
"test:build:cra": "cd examples/with-cra && npm run build && cd ..",
"test:build:nextjs": "rm -rf *.tgz && npm pack && cd examples/with-nextjs && pnpm i ../../*.tgz --force && npm run build && cd ..",
"test:unit": "cd test && npm test && cd ..",
"test:coverage": "npm run build && cd test && npm run coverage && cd ..",
"version": "standard-version",
"watch:css": "gulp watch",
"watch:js": "ttsc -w"
},
"sideEffects": false,
"repository": "https://github.com/banyudu/kedao",
"keywords": [
"kedao",
"draft",
"draft-js",
"rich",
"text",
"editor",
"rich-text-editor",
"wysiwyg"
],
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@types/draft-js": "^0.11.8",
"@types/loadable__component": "^5.13.4",
"@types/node": "^17.0.13",
"@types/prismjs": "^1.26.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^17.0.11",
"@types/react-portal": "^4.0.4",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"eslint": "^8.8.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.0.0",
"eslint-plugin-react": "^7.28.0",
"gulp": "^4.0.2",
"gulp-sass": "^5.1.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.6",
"prettier": "^2.5.1",
"sass": "^1.52.3",
"standard-version": "^9.5.0",
"stylelint": "^14.3.0",
"stylelint-config-standard": "^24.0.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-scss": "^4.2.0",
"ts-morph": "^13.0.3",
"ts-node": "^10.4.0",
"ts-rename-import-plugin": "^1.1.6",
"ttypescript": "^1.5.13",
"typescript": "^4.5.5",
"yargs": "^17.3.1"
},
"dependencies": {
"@loadable/component": "^5.15.2",
"@react-hookz/web": "^15.0.1",
"draft-convert": "^2.1.8",
"draft-js": "^0.11.5",
"draft-js-multidecorators": "^1.0.0",
"draft-js-prism": "^1.0.6",
"immutable": "~4.0.0",
"jotai": "^1.7.4",
"merge-class-names": "^1.4.2",
"prism-js": "^1.0.0",
"prismjs": "^1.15.0",
"react-color": "^2.14.1",
"react-portal": "^4.2.2",
"react-recipes": "^1.4.0",
"rimraf": "^3.0.2",
"tabler-icons-react": "^1.55.0",
"uuid": "^8.3.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"lint-staged": {
"!(examples/**/*)*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"!(examples/**/*)*.{css,scss}": "stylelint --fix",
"!(examples/**/*)*.md": "prettier --write"
}
}