UNPKG

next-prism

Version:

A lightweight, robust, and elegant syntax highlighting component for your next React apps.

106 lines (105 loc) 2.87 kB
{ "name": "next-prism", "version": "0.5.0", "description": "A lightweight, robust, and elegant syntax highlighting component for your next React apps.", "author": "Bunlong <bunlong.van@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Bunlong/next-prism.git" }, "bugs": { "url": "https://github.com/Bunlong/next-prism.git/issues" }, "keywords": [ "react", "reactjs", "prism", "highlight", "next-prism", "react-prism" ], "homepage": "https://github.com/Bunlong/next-prism", "main": "dist/next-prism.js", "style": "themes/prism.css", "module": "dist/next-prism.es.js", "jsnext:main": "dist/next-prism.es.js", "types": "dist/next-prism.d.ts", "@comment unpkg": "dist/next-prism.umd.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "@test": "jest --runInBand", "build": "rollup -c", "prettier": "prettier --write './src/*.ts' './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc", "lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives", "bundlesize": "npm run build && bundlesize", "dev": "rollup -c -w", "prepare": "npm run build", "predeploy": "cd docs && npm install && npm run build", "deploy": "gh-pages -d docs/build" }, "devDependencies": { "@babel/core": "^7.15.0", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/preset-env": "^7.15.0", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@types/prismjs": "^1.26.0", "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^4.29.3", "@typescript-eslint/parser": "^4.29.3", "bundlesize": "^0.18.1", "canvas": "^2.10.1", "eslint": "^7.32.0", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "jest": "^27.1.0", "mutationobserver-shim": "^0.3.7", "prettier": "^2.3.2", "react": "^18.1.0", "react-dom": "^18.1.0", "react-scripts": "^5.0.1", "react-test-renderer": "^18.1.0", "rollup": "^2.56.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.32.1", "ts-jest": "^27.0.5", "tslib": "^2.3.1", "typescript": "^4.7.2" }, "files": [ "dist", "themes/*.css", "plugins/**/*" ], "dependencies": { "prismjs": "^1.29.0" }, "bundlesize": [ { "path": "./dist/*.js", "maxSize": "21 kB" }, { "path": "./dist/**/*.js", "maxSize": "21 kB" }, { "path": "./dist/*.ts", "maxSize": "750 B" }, { "path": "./dist/**/*.ts", "maxSize": "770 B" } ], "peerDependencies": { "react": ">=17.0.0" } }