mirror of
https://github.com/tbluemel/rtf.js.git
synced 2026-12-01 16:56:07 +01:00
58 lines
2.4 KiB
JSON
58 lines
2.4 KiB
JSON
{
|
|
"name": "rtf.js",
|
|
"version": "2.0.0",
|
|
"description": "Render RTF documents in HTML. This also includes rendering WMF and EMF images which are often contained in RTF documents.",
|
|
"main": "rtf.js",
|
|
"scripts": {
|
|
"lint": "tslint --project tsconfig.json",
|
|
"fix": "tslint --project tsconfig.json --fix",
|
|
"clean": "rimraf build && rimraf dist",
|
|
"compile": "tsc",
|
|
"bundle": "rollup --config rollup.config.rtfjs.js && rollup --config rollup.config.wmfjs.js && rollup --config rollup.config.emfjs.js",
|
|
"build": "npm run clean && npm run compile && npm run bundle",
|
|
"generate-testcase": "node test/generate-testcase.js",
|
|
"regenerate-testcase": "node test/regenerate-testcase.js",
|
|
"test": "mocha test/test-rtfjs.js",
|
|
"coverage": "rimraf .nyc_output && cd dist && nyc instrument . . && cd .. && nyc mocha test/test-rtfjs.js && nyc report --report-dir=.nyc_output --reporter=json",
|
|
"coverage-html": "rimraf coverage && cd dist && remap-istanbul --input ../.nyc_output/coverage-final.json --output ../coverage --type html && cd ..",
|
|
"coverage-coveralls": "cd dist && remap-istanbul --input ../.nyc_output/coverage-final.json --type text-lcov | coveralls && cd ..",
|
|
"typewiz": "npm run clean && node typewiz-instrument build src/**/*.ts src/**/**/*.ts src/**/**/**/*.ts && npm run bundle && npm run test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tbluemel/rtf.js.git"
|
|
},
|
|
"keywords": [
|
|
"RTF"
|
|
],
|
|
"author": "Thomas Bluemel",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/tbluemel/rtf.js/issues"
|
|
},
|
|
"homepage": "https://github.com/tbluemel/rtf.js#readme",
|
|
"devDependencies": {
|
|
"@types/jquery": "^3.3.0",
|
|
"chai": "^4.1.2",
|
|
"chai-html": "^1.1.5",
|
|
"coveralls": "^3.0.0",
|
|
"fs-extra": "^5.0.0",
|
|
"glob": "^7.1.2",
|
|
"jsdom": "^11.6.2",
|
|
"mocha": "^5.0.1",
|
|
"nyc": "^11.6.0",
|
|
"remap-istanbul": "^0.11.0",
|
|
"rimraf": "^2.6.2",
|
|
"rollup": "^0.56.2",
|
|
"rollup-plugin-commonjs": "^8.3.0",
|
|
"rollup-plugin-node-resolve": "^3.0.3",
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
"tslint": "^5.9.1",
|
|
"typescript": "2.7.2",
|
|
"typewiz": "^0.6.0"
|
|
},
|
|
"dependencies": {
|
|
"codepage": "^1.12.0"
|
|
}
|
|
}
|