-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.86 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
{
"name": "lyove-editor",
"version": "0.0.1",
"description": "A HTML standards-compliant and dependency-free rich text editor",
"keywords": [
"contenteditable",
"editor",
"html-editor",
"rte",
"rich-text",
"rich-text-editor",
"wysiwyg",
"wysiwyg-editor"
],
"author": "Lyove",
"license": "MIT",
"bugs": "https://github.com/lyove/editor/issues",
"repository": {
"type": "git",
"url": "https://github.com/lyove/editor.git"
},
"scripts": {
"dev": "vite --host --open",
"build": "tsc && vite build",
"clean": "rm -rf dist",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"eslint": "eslint . --ext .js,.cjs,.ts,.jsx,.tsx, --quiet --fix --ignore-path ./.gitignore",
"prettier": "prettier . --loglevel warn --write \"./**/*.{js,jsx,ts,tsx,css,html,md,json}\" ",
"stylelint": "stylelint ./**/*.{css,less,scss,sass} --fix",
"prepare": "git init && husky install"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/jsdom": "^20.0.0",
"@types/node": "^18.7.16",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"husky": "^8.0.3",
"less": "^4.1.3",
"lint-staged": "^13.1.0",
"prettier": "^2.7.1",
"stylelint": "^14.11.0",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"vite": "^4.3.0"
},
"lint-staged": {
"./**/*.{js,cjs,ts,jsx,tsx}": [
"eslint --fix"
],
"./**/*.{css,less,scss,sass}": [
"stylelint --fix"
],
"./**/*.{js,cjs,ts,css,scss,sass,html,json,md}": [
"prettier . --write"
]
}
}