UNPKG

1.51 kBJSONView Raw
1{
2 "name": "prism-react-renderer",
3 "version": "2.0.4",
4 "description": "Renders highlighted Prism output using React",
5 "sideEffects": true,
6 "main": "dist/index.js",
7 "module": "dist/index.mjs",
8 "types": "dist/index.d.ts",
9 "license": "MIT",
10 "repository": "https://github.com/FormidableLabs/prism-react-renderer",
11 "files": [
12 "index.d.ts",
13 "dist"
14 ],
15 "peerDependencies": {
16 "react": ">=16.0.0"
17 },
18 "devDependencies": {
19 "@babel/core": "*",
20 "@rollup/plugin-babel": "^6.0.3",
21 "@rollup/plugin-buble": "^0.21.3",
22 "@rollup/plugin-commonjs": "^19.0.2",
23 "@rollup/plugin-json": "^6.0.0",
24 "@rollup/plugin-node-resolve": "^11.2.0",
25 "@rollup/plugin-typescript": "^11.1.0",
26 "@testing-library/react": "^14.0.0",
27 "@types/jest": "^29.5.0",
28 "@types/node": "^18.15.11",
29 "@vitejs/plugin-react": "^3.1.0",
30 "babel-plugin-codegen": "^4.1.5",
31 "happy-dom": "^9.7.1",
32 "prismjs": "*",
33 "react": "*",
34 "react-dom": "*",
35 "rollup": "^2.39.0",
36 "ts-node": "^10.9.1",
37 "tslib": "^2.5.0",
38 "tsup": "^6.7.0",
39 "typescript": "*",
40 "vite": "^4.2.0",
41 "vitest": "^0.30.1"
42 },
43 "dependencies": {
44 "@types/prismjs": "^1.26.0",
45 "clsx": "^1.2.1"
46 },
47 "publishConfig": {
48 "provenance": true
49 },
50 "scripts": {
51 "build": "tsup",
52 "build:watch": "tsup --watch",
53 "test": "vitest",
54 "typecheck": "tsc --noEmit",
55 "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
56 "format": "prettier --write 'src/**/*.js'"
57 }
58}
\No newline at end of file