angular2-markdown
Advanced tools
Comparing version
{ | ||
"name": "angular2-markdown", | ||
"version": "1.0.0", | ||
"description": "Angualr2 directive to parse markdown content", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
"angular-cli": {}, | ||
"scripts": { | ||
"start": "tsc && concurrently \"tsc -w\" \"lite-server\" ", | ||
"lint": "tslint ./app/**/*.ts -t verbose", | ||
"lite": "lite-server", | ||
"postinstall": "typings install", | ||
"test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"", | ||
"tsc": "tsc", | ||
"tsc:w": "tsc -w", | ||
"typings": "typings", | ||
"webdriver:update": "webdriver-manager update" | ||
"start": "ng serve", | ||
"lint": "tslint \"src/**/*.ts\"", | ||
"test": "ng test", | ||
"pree2e": "webdriver-manager update", | ||
"e2e": "protractor" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"private": false, | ||
"dependencies": { | ||
"@types/prismjs": "^1.4.11-alpha", | ||
"@angular/common": "2.0.0", | ||
"@angular/compiler": "2.0.0", | ||
"@angular/core": "2.0.0", | ||
"@angular/forms": "2.0.0", | ||
"@angular/http": "2.0.0", | ||
"@angular/platform-browser": "2.0.0", | ||
"@angular/platform-browser-dynamic": "2.0.0", | ||
"@angular/router": "3.0.0", | ||
"core-js": "^2.4.1", | ||
"prism": "^1.0.0", | ||
"prismjs": "^1.5.1", | ||
"showdown": "^1.4.2" | ||
"rxjs": "5.0.0-beta.12", | ||
"showdown": "^1.4.3", | ||
"ts-helpers": "^1.1.1", | ||
"zone.js": "^0.6.23" | ||
}, | ||
"devDependencies": { | ||
"@angular/common": "2.0.0-rc.3", | ||
"@angular/compiler": "2.0.0-rc.3", | ||
"@angular/core": "2.0.0-rc.3", | ||
"@angular/forms": "0.1.1", | ||
"@angular/http": "2.0.0-rc.3", | ||
"@angular/platform-browser": "2.0.0-rc.3", | ||
"@angular/platform-browser-dynamic": "2.0.0-rc.3", | ||
"angular2-in-memory-web-api": "0.0.12", | ||
"core-js": "^2.4.0", | ||
"reflect-metadata": "^0.1.3", | ||
"rxjs": "5.0.0-beta.6", | ||
"systemjs": "0.19.27", | ||
"systemjs-plugin-css": "^0.1.23", | ||
"zone.js": "^0.6.12", | ||
"concurrently": "^2.0.0", | ||
"lite-server": "^2.2.0", | ||
"typescript": "^1.8.10", | ||
"typings": "^1.0.4", | ||
"canonical-path": "0.0.2", | ||
"http-server": "^0.9.0", | ||
"tslint": "^3.7.4", | ||
"lodash": "^4.11.1", | ||
"rimraf": "^2.5.2" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dimpu/angular2-markdown.git" | ||
"@types/jasmine": "^2.2.30", | ||
"@types/prismjs": "^1.4.18", | ||
"@types/showdown": "^1.4.31", | ||
"angular-cli": "1.0.0-beta.16", | ||
"codelyzer": "~0.0.26", | ||
"jasmine-core": "2.4.1", | ||
"jasmine-spec-reporter": "2.5.0", | ||
"karma": "1.2.0", | ||
"karma-chrome-launcher": "^2.0.0", | ||
"karma-cli": "^1.0.1", | ||
"karma-jasmine": "^1.0.2", | ||
"karma-remap-istanbul": "^0.2.1", | ||
"protractor": "4.0.9", | ||
"ts-node": "1.2.1", | ||
"tslint": "3.13.0", | ||
"typescript": "2.0.2" | ||
} | ||
} |
@@ -29,5 +29,2 @@ # Angular 2 Markdown | ||
templateUrl: 'app.component.html', | ||
directives: [Markdown] | ||
}) | ||
@@ -41,7 +38,13 @@ export class AppComponent { | ||
```html | ||
<markdown> | ||
<div Markdown> | ||
### your markdown code | ||
</markdown> | ||
</div> | ||
``` | ||
## exmaple | ||
You can found the working example inside the src/app/demo directory. | ||
{ | ||
"rulesDirectory": [ | ||
"node_modules/codelyzer" | ||
], | ||
"rules": { | ||
@@ -91,4 +94,20 @@ "class-name": true, | ||
"check-type" | ||
] | ||
], | ||
"directive-selector-prefix": [true, "app"], | ||
"component-selector-prefix": [true, "app"], | ||
"directive-selector-name": [true, "camelCase"], | ||
"component-selector-name": [true, "kebab-case"], | ||
"directive-selector-type": [true, "attribute"], | ||
"component-selector-type": [true, "element"], | ||
"use-input-property-decorator": true, | ||
"use-output-property-decorator": true, | ||
"use-host-property-decorator": true, | ||
"no-input-rename": true, | ||
"no-output-rename": true, | ||
"use-life-cycle-interface": true, | ||
"use-pipe-transform-interface": true, | ||
"component-class-suffix": true, | ||
"directive-class-suffix": true | ||
} | ||
} |
{ | ||
"globalDependencies": { | ||
"core-js": "registry:dt/core-js#0.0.0+20160602141332", | ||
"node": "registry:dt/node#6.0.0+20160621231320", | ||
"prism": "registry:dt/prism#1.4.4+20160321233308", | ||
@@ -6,0 +4,0 @@ "showdown": "registry:dt/showdown#1.4.1+20160608102004" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
16
-30.43%34
78.95%0
-100%49
6.52%0
-100%22218
-20.02%15
400%446
-4.5%1
Infinity%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
Updated