github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/packages/pyroscope-flamegraph/package.json (about)

     1  {
     2    "name": "@pyroscope/flamegraph",
     3    "version": "0.35.6",
     4    "main": "dist/index.node.js",
     5    "browser": "dist/index.js",
     6    "_types": "since we are importing stuff from webapp (ui components), tsc ends up generating a weird file tree",
     7    "types": "dist/packages/pyroscope-flamegraph/src/index.d.ts",
     8    "license": "Apache-2.0",
     9    "files": [
    10      "src/**/*",
    11      "dist/**/*",
    12      "package.json",
    13      "README.md",
    14      "CHANGELOG.md",
    15      "LICENSE"
    16    ],
    17    "scripts": {
    18      "test": "jest",
    19      "watch": "yarn build:lib --watch",
    20      "dev": "chokidar --initial \"src/**/*\" -c \"yarn run build:lib\"",
    21      "build": "yarn build:types && yarn build:lib",
    22      "build:lib": "NODE_ENV=production webpack --config ../../scripts/webpack/webpack.flamegraph.ts",
    23      "build:types": "tsc -p tsconfig.json --emitDeclarationOnly && downlevel-dts dist dist",
    24      "build:types:watch": "tsc -p tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput",
    25      "type-check": "tsc -p tsconfig.json --noEmit",
    26      "lint": "eslint ./ --cache --fix"
    27    },
    28    "peerDependencies": {
    29      "graphviz-react": "^1.2.5",
    30      "react": ">=16.14.0",
    31      "react-dom": ">=16.14.0",
    32      "true-myth": "^5.1.2"
    33    },
    34    "devDependencies": {
    35      "@pyroscope/models": "^0.4.7"
    36    }
    37  }