Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobiledoc-vdom-renderer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobiledoc-vdom-renderer - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

dist/commonjs/getElementDefault/index.js

26

package.json
{
"name": "mobiledoc-vdom-renderer",
"version": "0.1.0",
"version": "0.1.1",
"description": "Render Mobiledoc as VDOM, for React or React-like `createElement` calls",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">=7"
},
"files": [
"dist/"
],
"module": "dist/module/index.js",
"types": "dist/module/index.d.ts",
"main": "dist/commonjs/index.js",
"scripts": {
"lint": "tsc --pretty --noEmit; npm run lint:ts; npm run lint:js",
"lint:ts": "tslint --config tslint.json --project tsconfig.json --exclude '**/*.js' --format stylish || true",
"lint:js": "eslint . --ext .ts .js --ignore-path .gitignore || true",
"typecheck": "tsc --pretty --noEmit",
"lint:ts": "tslint --config tslint.json --project tsconfig.json --exclude '**/*.js' --format stylish",
"lint:js": "eslint . --ext .ts .js --ignore-path .gitignore",
"lint": "npm run typecheck; tsc --pretty --noEmit; npm run lint:ts; npm run lint:js",
"format": "eslint . --ext .ts .js --ignore-path .gitignore --fix && prettier '**/*.md' --write",
"test:js": "nyc --require ts-node/register ava",
"test": "npm run lint && npm run test:js",
"test": "npm run typecheck && tsc --pretty --noEmit && npm run lint:ts && npm run lint:js && npm run test:js",
"snapshot": "ava --update-snapshots",

@@ -19,3 +26,3 @@ "watch:lint": "chokidar '**/*.{ts,js}' --ignore node_modules/ --verbose --command 'tsc --pretty --noEmit; tslint --config tslint.json --project tsconfig.json --exclude \"**/*.js\" {path}; eslint {path}'",

"start": "concurrently 'npm run watch:lint' 'npm run watch:test' --raw",
"build": "tsc --project tsconfig.module.json && renamer --find .js --replace .mjs 'dist/**/*.js' && tsc",
"build": "tsc --project tsconfig.module.json && tsc",
"prepublishOnly": "npm test && rm -rf dist && npm run build",

@@ -62,3 +69,2 @@ "postpublish": "rm -rf dist"

"react-dom": "^16.3.0",
"renamer": "^0.6.1",
"ts-node": "^5.0.1",

@@ -65,0 +71,0 @@ "tslint": "^5.9.1",

@@ -99,9 +99,5 @@ # mobiledoc-vdom-renderer

```typescript
import { Mobiledoc } from 'mobiledoc-vdom-renderer'
import { Mobiledoc, MobiledocTypes } from 'mobiledoc-vdom-renderer'
```
```typescript
import Mobiledoc, * as MobiledocTypes from 'mobiledoc-vdom-renderer/types/mobiledoc'
```
This package includes [complete Typescript definitions describing the Mobiledoc format](./types/Mobiledoc/index.ts), which may be imported directly for use with any mobiledoc-related code.

@@ -108,0 +104,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc