61 lines
2.3 KiB
JSON
61 lines
2.3 KiB
JSON
|
{
|
||
|
"name": "rtf.js",
|
||
|
"version": "3.0.9",
|
||
|
"description": "Render RTF documents in HTML. This also includes rendering WMF and EMF images which are often contained in RTF documents.",
|
||
|
"main": "index.js",
|
||
|
"types": "./dist/src",
|
||
|
"scripts": {
|
||
|
"lint": "eslint ./src",
|
||
|
"fix": "eslint ./src --fix",
|
||
|
"clean": "rimraf dist",
|
||
|
"build": "npm run clean && webpack --config webpack/development.config.js --progress && webpack --config webpack/production.config.js --progress",
|
||
|
"watch": "npm run clean && webpack serve --config webpack/development.config.js --progress",
|
||
|
"generate-testcase": "node test/generate-testcase.js",
|
||
|
"regenerate-testcase": "node test/regenerate-testcase.js",
|
||
|
"test": "mocha test/test.js",
|
||
|
"coverage": "npm run clean && webpack --config webpack/coverage.config.js --progress && nyc mocha test/test.js",
|
||
|
"coverage-html": "rimraf coverage && nyc report --reporter html",
|
||
|
"coverage-coveralls": "nyc report --reporter text-lcov | coveralls",
|
||
|
"typewiz": "npm run clean && webpack --config webpack/typewiz.config.js --progress && npm run test",
|
||
|
"prepublishOnly": "npm run build"
|
||
|
},
|
||
|
"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": {
|
||
|
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
|
||
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
||
|
"@typescript-eslint/parser": "^5.19.0",
|
||
|
"chai": "^4.3.6",
|
||
|
"chai-html": "^2.0.1",
|
||
|
"copy-webpack-plugin": "^10.2.4",
|
||
|
"coveralls": "^3.1.1",
|
||
|
"eslint": "^8.13.0",
|
||
|
"jsdom": "^19.0.0",
|
||
|
"mocha": "^9.2.2",
|
||
|
"nyc": "^15.1.0",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"ts-loader": "^9.2.8",
|
||
|
"typescript": "^4.6.3",
|
||
|
"typewiz-core": "^1.2.4",
|
||
|
"typewiz-webpack": "^1.2.4",
|
||
|
"webpack": "^5.72.0",
|
||
|
"webpack-cli": "^4.9.2",
|
||
|
"webpack-dev-server": "^4.8.1",
|
||
|
"webpack-merge": "^5.8.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"codepage": "^1.15.0"
|
||
|
}
|
||
|
}
|