UNPKG

tripledoc

Version:

Library to read, create and update documents on a Solid Pod

84 lines (83 loc) 2.11 kB
{ "name": "truncate-html", "version": "1.0.3", "description": "Truncate HTML and Keep Tags", "main": "dist/truncate.cjs.js", "module": "dist/truncate.es.js", "typings": "dist/truncate.d.ts", "scripts": { "dev": "ts-node ./test/demo.ts", "prebuild": "npm run lint && npm run test && npm run clean:builddir", "build": "rollup -c rollup.config.ts", "clean:builddir": "rimraf dist/*", "prepublish": "npm run build", "postpublish": "./post-publish2npm.sh", "test": "jest --coverage", "test:server": "jest --coverage --watch", "lint": "tslint --project ./tsconfig.json --config tslint.json" }, "repository": { "type": "git", "url": "git+https://evecalm@github.com/evecalm/truncate-html.git" }, "keywords": [ "truncate html", "html", "truncate" ], "author": { "name": "Saiya", "url": "https://github.com/evecalm" }, "contributors": [ { "name": "Caleb Eno", "url": "https://github.com/calebeno" }, { "name": "Aaditya Thakkar", "url": "https://github.com/aaditya-thakkar" } ], "license": "MIT", "dependencies": { "@types/cheerio": "^0.22.8", "cheerio": "0.22.0" }, "bugs": { "url": "https://github.com/evecalm/truncate-html/issues" }, "homepage": "https://github.com/evecalm/truncate-html#readme", "devDependencies": { "@types/jest": "^23.3.1", "@types/node": "^10.5.5", "buble": "0.18.0", "jest": "22.1.4", "rimraf": "2.6.2", "rollup": "0.55.3", "rollup-plugin-buble": "0.18.0", "rollup-plugin-typescript2": "^0.16.1", "ts-jest": "^23.0.1", "ts-node": "^7.0.1", "tslint": "^5.11.0", "tslint-config-prettier": "^1.14.0", "tslint-config-standard": "^7.1.0", "typescript": "^3.0.1" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "verbose": true, "testURL": "http://localhost/", "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }