UNPKG

ng2-markdown-to-html

Version:

Angular 2+ library that uses marked to parse markdown to html combined with Prism.js for synthax highlights

107 lines (106 loc) 3.6 kB
{ "name": "ng2-markdown-to-html", "description": "Angular 2+ library that uses marked to parse markdown to html combined with Prism.js for synthax highlights", "homepage": "https://github.com/jfcere/ng2-markdown-to-html", "version": "1.3.2", "license": "MIT", "author": { "name": "Jean-Francois Cere", "email": "jfcere@sherweb.com" }, "repository": { "type": "git", "url": "https://github.com/jfcere/ng2-markdown-to-html" }, "keywords": [ "angular", "angular2", "angular-2", "markdown", "markdown-to-html", "marked", "ng2", "parser", "prism", "prism.js" ], "main": "./dist/lib/index.js", "typings": "./dist/lib/index.d.ts", "scripts": { "build": "ng build", "e2e": "ng e2e", "lint": "tslint \"src/**/*.ts\"", "ng": "ng", "start": "npm run clean:dist && ng serve", "test": "ng test", "coveralls": "cat \"./coverage/lcov.info\" | \"./node_modules/coveralls/bin/coveralls.js\"", "build:gh-pages": "ng build --prod --base-href \"https://jfcere.github.io/ng2-markdown-to-html/\"", "publish:gh-pages": "angular-cli-ghpages --message \"Publish gh-pages\"", "prebuild:lib": "npm run clean:dist && npm run clean:inline-template && npm run clean:artifact", "build:lib": "npm run inline-template && npm run transpile && npm run package && npm run minify", "postbuild:lib": "npm run clean:inline-template && npm run clean:artifact", "clean:artifact": "rimraf src/**/*.ngfactory.ts src/**/*.ngsummary.json src/**/*.ngstyle.ts", "clean:dist": "rimraf dist", "clean:inline-template": "rimraf **/inline-template", "clean:package": "rimraf package *.tar *.tgz", "inline-template": "gulp inline-template", "transpile": "ngc -p src/tsconfig.lib.json", "package": "rollup -c", "minify": "uglifyjs dist/bundles/ng2-markdown-to-html.umd.js --screw-ie8 --compress --mangle --comments --output dist/bundles/ng2-markdown-to-html.umd.min.js" }, "private": false, "dependencies": { "@types/marked": "0.3.0", "@types/prismjs": "^1.6.0", "marked": "^0.3.6", "prismjs": "^1.6.0" }, "devDependencies": { "@angular/cli": "1.0.0-rc.1", "@angular/common": "^2.4.0", "@angular/compiler": "^2.4.0", "@angular/compiler-cli": "^2.4.0", "@angular/core": "^2.4.0", "@angular/forms": "^2.4.0", "@angular/http": "^2.4.0", "@angular/platform-browser": "^2.4.0", "@angular/platform-browser-dynamic": "^2.4.0", "@angular/router": "^3.4.0", "@types/jasmine": "2.5.38", "@types/node": "~6.0.60", "angular-cli-ghpages": "^0.5.0", "clean-css": "^4.0.10", "codelyzer": "~2.0.0", "core-js": "^2.4.1", "coveralls": "^2.13.1", "gulp": "^3.9.1", "gulp-inline-ng2-template": "^4.0.0", "html-minifier": "^3.4.2", "jasmine-core": "~2.5.2", "jasmine-spec-reporter": "~3.2.0", "karma": "~1.4.1", "karma-chrome-launcher": "~2.0.0", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^0.2.0", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "karma-junit-reporter": "^1.2.0", "node-sass": "^4.5.1", "protractor": "~5.1.0", "rimraf": "^2.6.1", "rollup": "^0.49.3", "rxjs": "^5.1.0", "ts-node": "~2.0.0", "tslint": "~4.4.2", "typescript": "^2.0.0", "uglify-js": "^3.0.15", "zone.js": "^0.7.6" }, "peerDependencies": { "@angular/core": "^2.4.0 || ^4.0.0", "@angular/http": "^2.4.0 || ^4.0.0", "core-js": "^2.4.1", "rxjs": "^5.1.0", "zone.js": "^0.7.6 || ^0.8.4" } }