UNPKG

@vidal-community/vidal-web-components

Version:

Vidal Web Components

107 lines (106 loc) 4.7 kB
{ "name": "@vidal-community/vidal-web-components", "version": "4.1.0", "description": "Vidal Web Components", "keywords": [ "vidal", "web-components", "lit-element", "typescript", "lit" ], "license": "BSD-3-Clause", "author": "Google LLC", "type": "module", "main": "index.js", "scripts": { "analyze": "cem analyze --litelement --globs \"components/**/*.ts\"", "analyze:watch": "cem analyze --litelement --globs \"components/**/*.ts\" --watch", "prebuild": "node -p \"'export const VWC_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > components/version.ts", "build": "npm run prebuild && npm run generate-translation-files && tsc", "build-and-publish-prerelease": "npm run update-version-prerelease && npm run build:npm && npm run release", "build-and-publish-release": "npm run build:npm && npm run release ", "build-storybook": "export NODE_OPTIONS=--openssl-legacy-provider ; build-storybook -s ./stories/assets", "build:bundled": "npm run build:npm && rollup --config rollup.config.js --input dist/index.js", "build:dev": "npm run prebuild && tsc --watch", "build:npm": "npm run build && cp package.json ./dist/package.json && cp ./components/index.js ./dist/index.js && rm ./dist/**/*_test* && cp README-FOR-CLIENT.md dist/README.md", "build:pack": "npm run build:npm && npm pack ./dist", "build:substitution:bundled": "npm run build:npm && rollup --config rollup.config.substitution.mjs --input dist/index.js", "build:watch": "npm run prebuild && npm run generate-translation-files && tsc --watch", "checksize": "rollup -c ; cat vidal-side-effect.bundled.js | gzip -9 | wc -c ; rm vidal-side-effect.bundled.js", "cypress:open": "cypress open", "cypress:run": "cypress run", "format": "prettier --write \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore", "format:check": "prettier --check \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore", "generate-translation-files": "lit-localize build", "lint": "npm run lint:lit-analyzer && npm run lint:eslint", "lint:eslint": "eslint 'components/**/*.ts'", "lint:lit-analyzer": "lit-analyzer 'components/**/*.ts'", "publish-major": "npm version major && npm run build-and-publish-release", "publish-minor": "npm version minor && npm run build-and-publish-release", "publish-patch": "npm version patch && npm run build-and-publish-release", "release": "cd dist && npm publish --access public", "serve": "wds --watch", "serve:prod": "MODE=prod npm run serve", "storybook": "start-storybook -p 6006", "test": "wtr --watch --coverage", "test:ci": "wtr --coverage", "test:local": "rm -d -r dist ; npm run build && npm run test", "update-version-prerelease": "npm version prerelease --no-git-tag-version" }, "dependencies": { "@lit/localize": "^0.11.1", "@web/test-runner-junit-reporter": "^0.6.0", "d3": "^7.0.0", "date-fns": "^2.28.0", "dom-parser": "^0.1.6", "lit": "^2.2.4", "sinon": "^15.0.0", "storybook": "^7.0.21", "vis-timeline": "^7.5.0" }, "devDependencies": { "@babel/core": "^7.15.8", "@badeball/cypress-cucumber-preprocessor": "^17.2.1", "@bahmutov/cypress-esbuild-preprocessor": "^2.2.0", "@custom-elements-manifest/analyzer": "^0.8.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@lit/localize-tools": "^0.6.3", "@open-wc/testing": "^3.1.5", "@rollup/plugin-image": "^3.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-replace": "^5.0.0", "@storybook/addon-actions": "^7.0.10", "@storybook/addon-essentials": "^6.3.12", "@storybook/addon-links": "^6.3.12", "@storybook/web-components": "^6.3.12", "@types/d3": "^7.0.0", "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.30.5", "@typescript-eslint/parser": "^5.30.5", "@web/dev-server": "^0.3.0", "@web/dev-server-legacy": "^2.0.0", "@web/test-runner": "^0.16.1", "@web/test-runner-playwright": "^0.10.0", "@webcomponents/webcomponentsjs": "^2.6.0", "cypress": "^12.13.0", "eslint": "^8.19.0", "gh-pages": "^5.0.0", "lit-analyzer": "^1.2.1", "mocha": "^10.0.0", "prettier": "^3.0.0", "prettier-plugin-packagejson": "^2.2.18", "rollup": "^2.73.0", "rollup-plugin-summary": "^2.0.0", "rollup-plugin-terser": "^7.0.2", "storybook-addon-run-script": "^0.1.4", "tailwind": "^4.0.0", "typescript": "^4.7.4", "wait-on": "^7.0.1" }, "volta": { "node": "18.16.1", "npm": "9.8.0" }, "customElements": "custom-elements.json" }