forked from nozer/quill-delta-to-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.15 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
{
"name": "quill-delta-to-html",
"version": "0.12.0",
"description": "Converts Quill's delta ops to HTML",
"main": "./dist/commonjs/main.js",
"types": "./dist/commonjs/main.d.ts",
"dependencies": {
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
"@types/lodash.isequal": "^4.5.5",
"@types/mocha": "^2",
"@types/node": "^7.0",
"browserify": "^16.2",
"coveralls": "^3.0",
"husky": "^3.0.9",
"mocha": "^6",
"nyc": "^14.1",
"prettier": "^2.0.4",
"pretty-quick": "^2.0.1",
"ts-node": "^8",
"typescript": "^2"
},
"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 ",
"test": "./node_modules/nyc/bin/nyc.js ./node_modules/mocha/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 "
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/nozer/quill-delta-to-html.git"
},
"keywords": [
"quill",
"delta",
"html"
],
"author": "Nihat Özer <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/nozer/quill-delta-to-html/issues"
},
"homepage": "https://github.com/nozer/quill-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"
}
}
}