@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
116 lines (115 loc) • 5.88 kB
JSON
{
"name": "@esri/calcite-components",
"version": "3.2.1",
"description": "Web Components for Esri's Calcite Design System.",
"homepage": "https://developers.arcgis.com/calcite-design-system/",
"repository": {
"type": "git",
"url": "git+https://github.com/Esri/calcite-design-system.git",
"directory": "packages/calcite-components"
},
"license": "SEE LICENSE.md",
"type": "module",
"exports": {
".": "./dist/index.js",
"./loader": "./dist/loader.js",
"./package.json": "./package.json",
"./components/*/customElement": "./dist/components/*/customElement.js",
"./components/*": "./dist/components/*/index.js",
"./types/*": "./dist/types/*.d.ts",
"./hydrate": "./hydrate/index.js",
"./calcite/calcite.css": "./dist/calcite/calcite.css",
"./docs/*": "./dist/docs/*",
"./dist/calcite/calcite.css": "./dist/calcite/calcite.css",
"./dist/loader": "./dist/loader.js",
"./dist/components": "./dist/index.js",
"./dist/components/*": "./dist/components/*/index.js"
},
"main": "dist/index.js",
"jsdelivr": "dist/calcite/calcite.js",
"unpkg": "dist/calcite/calcite.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"hydrate/",
"THIRD-PARTY-LICENSES.md"
],
"scripts": {
"build": "npm run util:prep-build-reqs && vite build",
"postbuild": "npm run util:generate-t9n-docs-json && npm run util:generate-supported-browsers-json && npm run util:copy-legacy-vscode-data",
"build-storybook": "npm run util:prep-build-reqs && NODE_OPTIONS=--openssl-legacy-provider storybook build --output-dir ./docs --quiet",
"build:dev": "vite build --mode development",
"build:watch": "npm run util:prep-build-reqs && vite --mode production",
"build:watch-dev": "npm run util:prep-build-reqs && vite --mode development",
"clean": "npm run util:clean-js-files && rimraf node_modules dist hydrate docs .turbo",
"lint": "concurrently npm:lint:*",
"lint:html": "prettier --write \"**/*.html\" >/dev/null",
"lint:json": "prettier --write \"**/*.json\" >/dev/null",
"lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"",
"lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null",
"lint:ts": "eslint --fix . && prettier --write \"**/*.{ts,tsx,cjs,mjs}\" >/dev/null",
"prepublish": "./support/cleanupDistFiles.sh",
"screenshot-tests": "npm run build-storybook",
"screenshot-tests:preview": "npm run util:prep-build-reqs && NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_SCREENSHOT_LOCAL_BUILD=true storybook dev",
"screenshot-tests:publish": "npm run screenshot-tests && storybook-to-ghpages --existing-output-dir=docs",
"start": "npm run util:clean-js-files && concurrently --kill-others --raw \"trap 'npm run util:clean-js-files' INT TERM EXIT >/dev/null 2>&1 || true && tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"",
"test": "concurrently --passthrough-arguments \"npm:test:stable -- {@}\" \"npm:test:experimental -- {@}\" --",
"test:stable": "vitest run",
"test:experimental": "npm run util:ensure-playwright-workaround && EXPERIMENTAL_TESTS=true vitest run --browser.headless",
"test:watch": "concurrently --passthrough-arguments \"npm run test:watch:stable -- {@}\" \"npm run test:watch:experimental -- {@}\" --",
"test:watch:stable": "vitest watch",
"test:watch:experimental": "npm run util:ensure-playwright-workaround && EXPERIMENTAL_TESTS=true vitest watch --browser.headless",
"util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**/*.js",
"util:ensure-playwright-workaround": "npx playwright install",
"util:clean-tested-build": "npm ci && npm test && npm run build",
"util:copy-legacy-vscode-data": "cpy \"./dist/docs/vscode.html-custom-data.json\" \"./dist/extras/\" --rename=vscode-data.json --flat",
"util:copy-assets": "npm run util:copy-icons",
"util:copy-icons": "cpy \"../../node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/\" --flat",
"util:generate-t9n-docs-json": "tsx support/generateT9nDocsJSON.ts",
"util:generate-supported-browsers-json": "tsx support/generateSupportedBrowsersJSON.ts",
"util:hydration-styles": "tsx support/hydrationStyles.ts",
"util:is-working-tree-clean": "[ -z \"$(git status --porcelain=v1)\" ]",
"util:prep-build-reqs": "npm run util:copy-assets",
"util:test-types": "! grep -rnw 'dist/types' -e '<reference types='",
"util:update-3rd-party-licenses": "tsx ../../support/createThirdPartyLicenses.ts"
},
"dependencies": {
"@arcgis/components-utils": "^4.33.0-next.121",
"@arcgis/lumina": "^4.33.0-next.121",
"@esri/calcite-ui-icons": "4.2.0",
"@floating-ui/dom": "^1.6.12",
"@floating-ui/utils": "^0.2.8",
"@types/sortablejs": "^1.15.8",
"color": "^5.0.0",
"composed-offset-position": "^0.0.6",
"dayjs": "^1.11.13",
"focus-trap": "^7.6.2",
"interactjs": "^1.10.27",
"lodash-es": "^4.17.21",
"sortablejs": "^1.15.6",
"timezone-groups": "^0.10.4",
"type-fest": "^4.30.1"
},
"devDependencies": {
"@arcgis/lumina-compiler": "^4.33.0-next.121",
"@esri/calcite-design-tokens": "3.1.0",
"@esri/calcite-tailwind-preset": "1.0.0",
"@esri/eslint-plugin-calcite-components": "2.0.2",
"@vitest/browser": "3.1.3",
"playwright": "1.52.0",
"vitest": "3.1.3"
},
"volta": {
"extends": "../../package.json"
},
"css.customData": [
"dist/docs/vscode.css-custom-data.json"
],
"customElements": "dist/docs/api.json",
"html.customData": [
"dist/docs/vscode.html-custom-data.json"
],
"web-types": "dist/docs/web-types.json",
"gitHead": "618973fecf357e1f5a8e51f833efdde5099751eb"
}