UNPKG

react-highlighter-ts

Version:

a TypeScript rewrite of the package react-highlighter

75 lines (74 loc) 2.25 kB
{ "name": "react-highlighter-ts", "version": "18.0.1", "description": "a TypeScript rewrite of the package react-highlighter", "keywords": [ "react", "highlight", "typescript" ], "main": "dist/lib/index.js", "files": [ "dist/lib" ], "types": "dist/lib/index.d.ts", "scripts": { "test": "jest", "test:watch": "jest --watch", "build": "rm -rf ./dist && tsc", "prepack": "npm run build", "prepublishOnly": "npm run test", "postpublish": "npm run deploy-storybook", "lint": "eslint 'lib/*.{ts,tsx}' stories --quiet", "lint:fix": "npm run lint --fix", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", "deploy-storybook": "storybook-to-ghpages" }, "repository": { "type": "git", "url": "git+https://github.com/chadlavi/react-highlighter-ts.git" }, "author": "Chad Lavimoniere", "license": "MIT", "bugs": { "url": "https://github.com/chadlavi/react-highlighter-ts/issues" }, "homepage": "https://chadlavi.github.io/react-highlighter-ts", "dependencies": { "react": "^18.2.0" }, "devDependencies": { "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.11", "@babel/preset-react": "^7.14.5", "@babel/preset-typescript": "^7.12.7", "@storybook/addon-actions": "^6.5.13", "@storybook/addon-essentials": "^6.5.13", "@storybook/addon-links": "^6.5.13", "@storybook/preset-create-react-app": "^4.1.2", "@storybook/react": "^6.5.13", "@storybook/storybook-deployer": "^2.8.16", "@types/enzyme": "^3.10.8", "@types/jest": "^26.0.20", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@typescript-eslint/eslint-plugin": "^4.14.2", "@typescript-eslint/parser": "^4.14.2", "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.25.3", "eslint-plugin-storybook": "^0.6.7", "jest": "^26.6.3", "prettier": "^2.2.1", "react-dom": "^18.2.0", "react-is": "^17.0.1", "typedoc": "^0.22.4", "typescript": "^4.4.3" } }