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

prism-react-renderer

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prism-react-renderer - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0-esm.0

demo/package.json

68

package.json
{
"name": "prism-react-renderer",
"version": "0.1.7",
"version": "0.2.0-esm.0",
"description": "Renders highlighted Prism output using React",

@@ -12,4 +12,3 @@ "main": "lib/index.js",

"index.d.ts",
"es",
"lib",
"dist",
"prism",

@@ -19,8 +18,6 @@ "themes"

"scripts": {
"build": "run-s build:lib build:es",
"build:lib": "cross-env BABEL_ENV=cjs babel --ignore '**/__tests__/*' --out-dir lib src",
"build:es": "cross-env BABEL_ENV=es babel --ignore '**/__tests__/*' --out-dir es src",
"build": "rollup -c rollup.config.js",
"test": "jest",
"flow": "flow check",
"format": "prettier --write src/**/*.js themes/**/*.js",
"format": "prettier --write src/**/*.js",
"prepublishOnly": "run-p flow build"

@@ -34,14 +31,6 @@ },

"lint-staged": {
"linters": {
"*.ts": [
"prettier --write",
"git add"
],
"{src,themes}/**/*.js": [
"jest --bail --findRelatedTests",
"flow focus-check",
"prettier --write",
"git add"
]
}
"src/**/*.js": [
"prettier --write",
"git add"
]
},

@@ -52,24 +41,29 @@ "peerDependencies": {

"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-plugin-macros": "^2.5.0",
"babel-jest": "^24.9.0",
"babel-plugin-macros": "^2.6.1",
"codegen.macro": "^3.0.0",
"cross-env": "^5.2.0",
"flow-bin": "^0.93.0",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lint-staged": "^8.1.4",
"flow-bin": "^0.108.0",
"globby": "^10.0.1",
"husky": "^3.0.5",
"jest": "^24.9.0",
"lint-staged": "^9.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"prismjs": "^1.16.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-testing-library": "^6.0.0"
"prettier": "^1.18.2",
"prismjs": "^1.17.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-testing-library": "^8.0.1",
"rollup": "^1.21.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0"
}
}
{
"name": "prism-react-renderer/prism",
"name": "@prism-react-renderer/prism",
"private": true,
"main": "../lib/vendor/prism/index.js",
"module": "../es/vendor/prism/index.js"
"license": "MIT",
"main": "../dist/prism.js",
"module": "../dist/prism.es.js"
}
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