apollo-elements/apollo-elements

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "root",
  "private": true,
  "type": "module",
  "logo": {
    "file": "./logo.png"
  },
  "engines": {
    "node": "16.x",
    "npm": ">= 7"
  },
  "scripts": {
    "analyze": "npm run --workspaces --if-present analyze",
    "build": "run-s build:*",
    "build:codegen": "graphql-codegen",
    "build:analyze": "npm run analyze",
    "build:compile": "tsc -b .",
    "build:packages": "npm run --workspaces --if-present build",
    "clean": "git clean -fX -e node_modules",
    "clean:packages": "rimraf 'packages/!(create|docs)/**/!(*.config).{js,js.map,d.ts,tgz,tsbuildinfo}'",
    "clean:create-app": "rimraf 'packages/create/*.{js,js.map,d.ts,tgz}'",
    "clean:node-modules": "rimraf 'packages/**/node_modules'",
    "clean:docs": "rimraf _site-dev _site docs/_data/customElementsManifests",
    "clean:test": "rimraf test/*.{js,d.ts,js.map}",
    "release": "sh scripts/release.sh",
    "release:prerelease": "sh scripts/prerelease.sh",
    "postrelease": "npm run clean",
    "docs": "run-s build:codegen docs:**",
    "docs:analyze": "npm run analyze",
    "docs:rocket": "ELEVENTY_ENV=production rocket build",
    "docs:failsafe": "cpx 'docs/_merged_assets/**/*' ./_site/_merged_assets",
    "docs:failsafe:decks": "cpx 'docs/decks/**/*.{png,jpg,webp,svg}' _site/decks/",
    "lint": "run-s lint:*",
    "lint:clean": "rimraf packages/gluon/declaration.d.ts",
    "lint:eslint": "eslint .",
    "lint:types": "tsc -p tsconfig.noEmit.json --tsBuildInfoFile null",
    "postinstall": "run-s postinstall:**",
    "postinstall:patch": "patch-package",
    "postinstall:hack:killplayground": "rm -rf node_modules/rocket-preset-playground-elements/node_modules/playground-elements",
    "postinstall:stampino:bundle": "npx esbuild node_modules/stampino/stampino.js --outfile=packages/components/stampino.bundled.js --minify --external:lit-html --bundle --format=esm",
    "postinstall:stampino:copy": "cp node_modules/stampino/stampino.d.ts packages/components/stampino.bundled.d.ts",
    "start": "run-p start:*",
    "start:clean": "npm run clean",
    "start:codegen": "graphql-codegen --watch",
    "start:bundle": "run-s postinstall:stampino:*",
    "start:tsc": "tsc -b . -w",
    "start:docs": "run-s docs:analyze start:docs:rocket",
    "start:docs:rocket": "rocket start",
    "test": "wtr",
    "watch:test": "wtr --watch",
    "watch:eslint": "esw",
    "watch:codegen": "graphql-codegen --watch",
    "watch:types": "tsc -b . --watch"
  },
  "lint-staged": {
    "*.ts": [
      "eslint --fix",
      "git add"
    ]
  },
  "workspaces": [
    "./packages/*",
    "./plugins/*",
    "./test",
    "./docs"
  ],
  "devDependencies": {
    "@11ty/eleventy-plugin-inclusive-language": "^1.0.3",
    "@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
    "@airbnb/node-memwatch": "^2.0.0",
    "@apollo/client": "^3.5.9",
    "@babel/cli": "^7.17.6",
    "@babel/core": "^7.17.8",
    "@babel/plugin-proposal-class-static-block": "^7.17.6",
    "@borgar/textbox": "^1.3.0",
    "@changesets/cli": "^2.22.0",
    "@commitlint/cli": "^16.2.3",
    "@commitlint/config-conventional": "^16.2.1",
    "@custom-elements-json/helpers": "^0.0.1",
    "@custom-elements-manifest/analyzer": "^0.5.7",
    "@custom-elements-manifest/to-markdown": "^0.1.0",
    "@gluon/keybinding": "^1.1.0",
    "@graphql-codegen/cli": "^2.16.3",
    "@graphql-codegen/typed-document-node": "^2.2.8",
    "@graphql-codegen/typescript": "^2.4.8",
    "@graphql-codegen/typescript-operations": "^2.3.5",
    "@graphql-tools/mock": "^8.6.3",
    "@luckycatfactory/esbuild-graphql-loader": "^3.7.0",
    "@microsoft/fast-components": "^2.25.3",
    "@open-wc/testing": "^3.1.2",
    "@polymer/polymer": "^3.4.1",
    "@power-elements/codesandbox-button": "^0.1.0",
    "@power-elements/json-viewer": "^2.1.1",
    "@pwrs/eslint-config": "^0.0.25",
    "@rocket/blog": "^0.4.0",
    "@rocket/cli": "^0.10.1",
    "@rocket/eleventy-rocket-nav": "^0.3.0",
    "@rocket/launch": "^0.6.0",
    "@rocket/navigation": "^0.2.1",
    "@rocket/search": "^0.5.1",
    "@rollup/plugin-commonjs": "^21.0.3",
    "@rollup/plugin-graphql": "^1.1.0",
    "@rollup/plugin-node-resolve": "^13.1.3",
    "@rollup/plugin-typescript": "^8.3.1",
    "@types/chai": "^4.3.0",
    "@types/cpx": "^1.5.2",
    "@types/graphql": "^14.5.0",
    "@types/inquirer": "^8.2.0",
    "@types/mkdirp": "^1.0.2",
    "@types/mocha": "^9.1.0",
    "@types/ncp": "^2.0.5",
    "@types/node": "^17.0.23",
    "@types/ramda": "^0.28.4",
    "@types/tape": "^4.13.2",
    "@types/yargs": "^17.0.10",
    "@typescript-eslint/eslint-plugin": "^5.16.0",
    "@typescript-eslint/parser": "^5.16.0",
    "@web/dev-server": "^0.1.30",
    "@web/dev-server-esbuild": "^0.2.16",
    "@web/dev-server-import-maps": "^0.0.6",
    "@web/dev-server-rollup": "^0.3.15",
    "@web/rollup-plugin-copy": "^0.3.0",
    "@web/test-runner": "^0.13.27",
    "@web/test-runner-commands": "^0.6.1",
    "@web/test-runner-playwright": "^0.10.0",
    "commitizen": "^4.2.4",
    "commitlint-plugin-workspace-scopes": "^1.1.0",
    "cpx": "^1.5.0",
    "eleventy-plugin-add-web-component-definitions": "^2.1.1",
    "eleventy-plugin-footnotes": "^0.10.0",
    "eleventy-plugin-helmet": "^0.2.2",
    "esbuild": "^0.14.28",
    "esbuild-plugin-lit-css": "^1.2.4",
    "eslint": "^8.12.0",
    "eslint-plugin-easy-loops": "^1.0.1",
    "event-iterator": "^2.0.0",
    "execa": "^6.1.0",
    "graphql": "^16.3.0",
    "graphql-subscriptions": "^2.0.0",
    "graphql-tag": "^2.12.6",
    "hast-util-to-html": "^8.0.3",
    "hastscript": "^7.0.2",
    "husky": "^7.0.4",
    "hybrids": "^7.0.5",
    "lint-staged": "^12.3.7",
    "lit": "^2.2.1",
    "lit-html": "^2.2.1",
    "mocha": "^9.2.2",
    "node-fetch": "^3.2.10",
    "npm-run-all": "^4.1.5",
    "patch-package": "^6.4.7",
    "postcss-preset-env": "^7.4.3",
    "puppeteer": "^13.5.1",
    "ramda": "^0.28.0",
    "remark-directive": "^2.0.1",
    "rimraf": "^3.0.2",
    "rocket-preset-code-tabs": "^0.2.10",
    "rocket-preset-custom-elements-manifest": "^0.1.11",
    "rocket-preset-markdown-directives": "0.1.3",
    "rocket-preset-playground-elements": "^0.2.2",
    "rocket-preset-slide-decks": "0.1.3",
    "rocket-preset-webcomponents-dev": "0.1.6",
    "rollup": "^2.70.1",
    "rollup-plugin-esbuild": "^4.8.2",
    "rollup-plugin-lit-css": "^3.2.1",
    "rollup-plugin-postcss": "^4.0.2",
    "sanitize-html": "^2.7.0",
    "tap-difflet": "^0.7.2",
    "tap-spec": "^5.0.0",
    "tape-es": "^1.2.17",
    "ts-sinon": "^2.0.2",
    "typescript": "^4.6.3"
  },
  "dependencies": {
    "playground-elements": "^0.15.2",
    "tslib": "^2.3.1"
  }
}