html-to-pdf-converter
Version:
HTML to PDF converter with support for HEADERS, FOOTERS and page numbers
105 lines (104 loc) • 2.91 kB
JSON
{
"name": "html-to-pdf-converter",
"version": "0.3.0",
"description": "HTML to PDF converter with support for HEADERS, FOOTERS and page numbers",
"repository": {
"type": "git",
"url": "git+https://github.com/moshensky/html-to-pdf-converter.git"
},
"keywords": [
"html",
"pdf",
"converter",
"puppeteer",
"HummusJS",
"header",
"footer",
"pages"
],
"main": "./commonjs/index.js",
"types": "./types/index.d.ts",
"author": "Nikita Moshensky",
"license": "MIT",
"bugs": {
"url": "https://github.com/moshensky/html-to-pdf-converter/issues"
},
"homepage": "https://github.com/moshensky/html-to-pdf-converter#readme",
"scripts": {
"debug": "node --nolazy --inspect-brk=9229 ./commonjs/playground.js",
"debugX": "ts-node --nolazy --inspect-brk=9229 ./src/index.ts",
"lint": "tslint -t codeFrame -p ./tsconfig.json -c ./tslint.json",
"lint:fix": "npm run lint -- --fix",
"lint:check": "tslint-config-prettier-check ./tslint.json",
"clean": "rimraf ./commonjs ./es ./types ./coverage",
"build": "npm run lint && npm run clean && tsc -p ./tsconfig.json",
"tsc": "tsc -p ./tsconfig.json",
"tsc:watch": "npm run tsc -- --watch",
"test": "jest --coverage --no-cache",
"test:watch": "jest --watch",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
"format:configs": "prettier --write ./tsconfig.json ./.prettierrc.json ./config/tslint.json ./config/**/*.json ./config/**/*.js"
},
"dependencies": {
"@types/puppeteer": "^0.13.9",
"@types/ramda": "^0.25.6",
"hummus": "^1.0.83",
"puppeteer": "^1.0.0",
"ramda": "^0.25.0"
},
"devDependencies": {
"@types/glob": "^5.0.34",
"@types/gm": "^1.17.33",
"@types/jest": "^22.0.1",
"@types/node": "^8.0.53",
"@types/typescript": "^2.0.0",
"coveralls": "^3.0.0",
"gm": "^1.23.1",
"jest": "^22.0.6",
"node-glob": "^1.2.0",
"prettier": "^1.8.2",
"rimraf": "^2.6.2",
"ts-jest": "^22.0.1",
"ts-node": "^4.1.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
"tslint-config-standard": "^7.0.0",
"tslint-eslint-rules": "^4.1.1",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^2.6.1"
},
"jest": {
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"statements": 83,
"branches": 52,
"functions": 81,
"lines": 84
}
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"mapCoverage": true
}
}