-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
86 lines (86 loc) · 2.73 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
{
"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,
"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%, IE 11",
"jest": {
"collectCoverageFrom": [
"src/lib/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/"
]
},
"devDependencies": {
"@commitlint/cli": "18.4.1",
"@commitlint/config-conventional": "18.4.0",
"@rollup/plugin-typescript": "8.5.0",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/draft-js": "0.10.45",
"@types/enzyme": "3.10.12",
"@types/jest": "29.5.8",
"@types/react": "16.14.26",
"@types/react-dom": "16.9.16",
"coveralls": "3.1.1",
"danger": "11.3.0",
"draft-js": "0.11.7",
"draft-js-10": "npm:draft-js@0.10.5",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"enzyme-to-json": "3.6.2",
"immutable": "~3.7.6",
"normalize.css": "7.0.0",
"prettier": "2.8.4",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-scripts": "5.0.1",
"react-test-renderer": "16.14.0",
"rollup": "2.79.1",
"rollup-plugin-dts": "4.2.3",
"semantic-release": "20.1.3",
"snapshot-diff": "0.10.0",
"typescript": "4.9.5"
},
"peerDependencies": {
"draft-js": "^0.10.4 || ^0.11.0 || ^0.12.0"
},
"scripts": {
"start": "react-scripts start",
"build": "CI=true react-scripts build && rollup -c",
"test": "CI=true react-scripts test --env=jsdom --coverage",
"test:watch": "react-scripts test --env=jsdom",
"report:coverage": "open coverage/lcov-report/index.html",
"report:package": "npm pack --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee build/package.txt && rm *.tgz",
"lint": "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 -s -- --outputFile build/test-results.json --json",
"prepare": "./.githooks/deploy.sh",
"prepublishOnly": "npm run build -s"
}
}