-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
90 lines (90 loc) · 2.79 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
{
"name": "draftjs-filters",
"version": "3.0.1",
"description": "Filter Draft.js content to preserve only the formatting you allow",
"author": "Thibaud Colas",
"license": "MIT",
"main": "dist/draftjs-filters.cjs.js",
"module": "dist/draftjs-filters.esm.js",
"types": "dist/draftjs-filters.d.ts",
"sideEffects": false,
"type": "module",
"keywords": [
"draft-js",
"draftjs-utils",
"editor",
"wysiwyg",
"rich text",
"rte"
],
"repository": {
"type": "git",
"url": "https://github.com/thibaudcolas/draftjs-filters.git"
},
"bugs": {
"url": "https://github.com/thibaudcolas/draftjs-filters/issues"
},
"homepage": "https://thibaudcolas.github.io/draftjs-filters/",
"files": [
"dist/*.js",
"dist/*.d.ts"
],
"browserslist": "> 1%",
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@eslint/js": "^9.7.0",
"@rollup/plugin-typescript": "11.1.6",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@testing-library/react": "12.1.5",
"@types/draft-js": "0.11.18",
"@types/eslint__js": "^8.42.3",
"@types/react": "16.14.26",
"@types/react-dom": "16.9.16",
"@vitejs/plugin-react-swc": "3.7.0",
"@vitest/coverage-v8": "2.0.4",
"draft-js": "0.11.7",
"draft-js-10": "npm:draft-js@0.10.5",
"eslint": "^9.7.0",
"immutable": "~3.7.6",
"jest-diff": "29.7.0",
"jsdom": "24.1.1",
"normalize.css": "8.0.1",
"prettier": "3.3.3",
"react": "16.14.0",
"react-dom": "16.14.0",
"rollup": "4.19.0",
"rollup-plugin-dts": "6.1.1",
"semantic-release": "24.0.0",
"tslib": "^2.6.3",
"typescript": "5.5.3",
"typescript-eslint": "^8.0.0-alpha.51",
"vite": "5.3.4",
"vitest": "2.0.4"
},
"peerDependencies": {
"draft-js": "^0.10.4 || ^0.11.0 || ^0.12.0"
},
"overrides": {
"isomorphic-fetch": {
"node-fetch": "^2.0.0"
}
},
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build && rollup -c",
"preview": "vite preview",
"test": "vitest run --coverage.enabled",
"test:watch": "vitest watch",
"report:coverage": "open coverage/lcov-report/index.html",
"report:package": "npm pack --dry-run --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee dist/package.txt",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0 && prettier --check '**/?(.)*.{md,css,scss,js,ts,tsx,json,yaml,yml,html}'",
"format": "prettier --write '**/?(.)*.{md,css,scss,js,ts,tsx,json,yaml,yml,html}'",
"test:ci": "npm run lint -s && npm run build -s && npm run test -- --coverage.thresholds.100",
"prepare": "./.githooks/deploy.sh",
"prepublishOnly": "npm run build -s"
}
}