1 | {
|
2 | "name": "@jls-digital/storybook-addon-code",
|
3 | "version": "1.0.4",
|
4 | "description": "This storybook addon provides the ability to display a panel on stories with any code you want. It's mostly a wrapper for [storybook's syntax highlighter](https://github.com/storybookjs/storybook/tree/main/code/ui/components/src/components/syntaxhighlighter), which is a wrapper for [prism.js](https://www.npmjs.com/package/prismjs).",
|
5 | "exports": {
|
6 | ".": {
|
7 | "node": "./dist/register.js",
|
8 | "require": "./dist/register.js",
|
9 | "import": "./dist/register.js"
|
10 | },
|
11 | "./manager": "./dist/register.js",
|
12 | "./package.json": "./package.json"
|
13 | },
|
14 | "main": "dist/register.js",
|
15 | "module": "dist/register.js",
|
16 | "type": "module",
|
17 | "files": [],
|
18 | "scripts": {
|
19 | "build": "tsup",
|
20 | "build:watch": "npm run build -- --watch",
|
21 | "lint": "eslint src/* --ignore-path .gitignore",
|
22 | "lint-fix": "eslint src/ --ignore-path .gitignore --fix",
|
23 | "format": "prettier src/ --check --ignore-path .gitignore",
|
24 | "format-fix": "npm run format --write"
|
25 | },
|
26 | "repository": {
|
27 | "type": "git",
|
28 | "url": "git+https://github.com/jls-digital/storybook-addon-code.git"
|
29 | },
|
30 | "keywords": [
|
31 | "storybook",
|
32 | "addon",
|
33 | "code",
|
34 | "source"
|
35 | ],
|
36 | "author": "jls digital ag",
|
37 | "license": "MIT",
|
38 | "publishConfig": {
|
39 | "access": "public"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@types/react": "^18.2.67",
|
43 | "eslint": "^8.57.0",
|
44 | "eslint-config-airbnb-base": "^15.0.0",
|
45 | "eslint-config-airbnb-typescript": "^18.0.0",
|
46 | "eslint-config-prettier": "^9.1.0",
|
47 | "eslint-plugin-prettier": "^5.1.3",
|
48 | "prettier": "^3.2.5",
|
49 | "tsup": "^8.0.2"
|
50 | },
|
51 | "peerDependencies": {
|
52 | "@storybook/addons": "^7.6.17",
|
53 | "@storybook/api": "^7.6.17",
|
54 | "@storybook/components": "^8.0.2",
|
55 | "@storybook/manager": "^8.0.2",
|
56 | "@storybook/preview": "^8.0.2",
|
57 | "react": "^18.2.0"
|
58 | }
|
59 | }
|