forked from nozer/quill-delta-to-html
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.47 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.47 KB
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
{
"name": "quill2-delta-to-html",
"version": "1.1.1",
"description": "Converts Quill's delta ops to HTML",
"main": "./dist/commonjs/main.js",
"types": "./dist/commonjs/main.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"peerDependencies": {
"quill": "^2.0.0"
},
"dependencies": {
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
"@types/lodash.isequal": "^4.5.8",
"@types/mocha": "^10.0.10",
"@types/node": "^25.4.0",
"browserify": "^17.0.1",
"coveralls": "^3.1.1",
"husky": "^9.1.7",
"mocha": "^11.7.5",
"nyc": "^18.0.0",
"prettier": "^3.8.1",
"pretty-quick": "^4.2.2",
"tinybench": "^6.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"scripts": {
"browserbundle": "./node_modules/browserify/bin/cmd.js ./dist/commonjs/QuillDeltaToHtmlConverter.js -o ./dist/browser/QuillDeltaToHtmlConverter.bundle.js -s QuillDeltaToHtmlConverter ",
"browser": "npm run browserbundle && echo '; window.QuillDeltaToHtmlConverter = window.QuillDeltaToHtmlConverter ? window.QuillDeltaToHtmlConverter.QuillDeltaToHtmlConverter : window.QuillDeltaToHtmlConverter; ' >> ./dist/browser/QuillDeltaToHtmlConverter.bundle.js ",
"build": "./node_modules/typescript/bin/tsc && npm run browser ",
"bench": "npm run build && node --expose-gc ./bench/large-doc.bench.mjs",
"test": "NODE_OPTIONS='--no-experimental-strip-types' ./node_modules/.bin/nyc ./node_modules/.bin/mocha --require ts-node/register -b \"./test/**/*.ts\" ",
"coverage": "./node_modules/nyc/bin/nyc.js report --reporter=text-lcov | coveralls ",
"coveragehtml": "./node_modules/nyc/bin/nyc.js report --reporter=html ",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/welkinwong/quill2-delta-to-html.git"
},
"keywords": [
"quill",
"delta",
"html"
],
"author": "Welkin Wong <welkin.wong@me.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/welkinwong/quill2-delta-to-html/issues"
},
"homepage": "https://github.com/welkinwong/quill2-delta-to-html#readme",
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"typings",
"src/main.ts",
"**/*.d.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"json",
"html"
],
"all": true
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}