UNPKG

@gdwc/components

Version:

A library of generic web components that are accessible, framework agnostic, possible to style, and easy to use with data provided by Drupal

79 lines (78 loc) 2.42 kB
{ "name": "@gdwc/components", "version": "4.3.1", "description": "A library of generic web components that are accessible, framework agnostic, possible to style, and easy to use with data provided by Drupal", "main": "./dist/components.umd.cjs", "module": "./dist/components.js", "type": "module", "scripts": { "start": "npm run storybook", "build": "vite build", "storybook": "start-storybook -p 6006", "build-storybook": "BASE_URL=/gdwc/ build-storybook -o public", "lint": "npm run lint:eslint && npm run lint:prettier", "format": "npm run format:eslint && npm run format:prettier", "lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore", "format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore", "lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore", "format:prettier": "prettier \"**/*.js\" --write --ignore-path .gitignore", "prepare": "husky install", "create-component": "hygen component new" }, "eslintConfig": { "extends": [ "@open-wc/eslint-config", "prettier" ] }, "prettier": { "singleQuote": true, "arrowParens": "avoid", "proseWrap": "always" }, "repository": { "type": "git", "url": "https://git.drupalcode.org/project/gdwc.git" }, "homepage": "https://www.drupal.org/project/gdwc", "bugs": { "url": "https://www.drupal.org/project/issues/gdwc" }, "keywords": [ "drupal", "web components" ], "license": "GPL-2.0-or-later", "dependencies": { "@drupal/decoupled-menu-parser": "^1.0.0", "@gdwc/drupal-state": "^4.1.0", "@shoelace-style/shoelace": "^2.0.0-beta.83", "lit": "^2.2.7", "object-path": "^0.11.8", "open-props": "^1.4.3" }, "devDependencies": { "@babel/core": "^7.13.13", "@open-wc/eslint-config": "^7.0.0", "@storybook/addon-actions": "^6.5.9", "@storybook/addon-essentials": "^6.5.9", "@storybook/addon-links": "^6.5.9", "@storybook/builder-vite": "^0.2.0", "@storybook/web-components": "^6.5.9", "babel-loader": "^8.2.5", "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "husky": "^8.0.1", "hygen": "^6.2.7", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "vite": "^3.0.0" }, "lint-staged": { "*.js": [ "eslint --fix", "prettier --write" ], "*.{md,mdx}": "prettier --write" } }