@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
88 lines (87 loc) • 4.86 kB
JSON
{
"name": "@esri/calcite-components",
"version": "1.5.0-next.5",
"description": "Web Components for Esri's Calcite Design System.",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"es2015": "dist/esm/index.js",
"es2017": "dist/esm/index.js",
"jsnext:main": "dist/esm/index.js",
"types": "dist/types/components.d.ts",
"type": "module",
"jsdelivr": "dist/calcite/calcite.js",
"unpkg": "dist/calcite/calcite.js",
"collection:main": "dist/collection/index.js",
"collection": "dist/collection/collection-manifest.json",
"files": [
"dist/",
"hydrate/"
],
"scripts": {
"build": "npm run util:prep-build-reqs && stencil build",
"postbuild": "npm run util:patch && git restore src/components/*/readme.md",
"build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch",
"build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch",
"build-storybook": "npm run util:build-docs && build-storybook --output-dir ./docs --quiet",
"clean": "npm run util:clean-js-files && rimraf node_modules dist www hydrate docs .turbo src/components.d.ts",
"deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest puppeteer @whitespace/storybook-addon-html && npm audit fix",
"docs": "concurrently --kill-others --raw \"npm run build-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
"docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
"lint": "concurrently npm:lint:*",
"lint:html": "prettier --write \"**/*.html\" >/dev/null",
"lint:json": "prettier --write \"**/*.json\" >/dev/null",
"lint:md": "markdownlint \"**/*.md\" --fix --ignore node_modules --disable MD024 MD013 MD041 MD033 && prettier --write \"**/*.md\" >/dev/null",
"lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null",
"lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
"posttest": "npm run test:prerender",
"release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
"start": "concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./src/demos/**/*.js \"",
"test": "stencil test --no-docs --no-build --spec --e2e",
"test:prerender": "stencil build --no-docs --prerender",
"test:watch": "npm run build && npm run test -- -- --watchAll",
"util:build-docs": "npm run util:prep-build-reqs && stencil build --docs --config stencil.storybook.config.ts",
"util:clean-tested-build": "npm ci && npm test && npm run build",
"util:copy-assets": "npm run util:copy-icons",
"util:copy-icons": "cpy \"../../node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
"util:generate-t9n-types": "ts-node --esm support/generateT9nTypes.ts",
"util:hydration-styles": "ts-node --esm support/hydrationStyles.ts",
"util:patch": "npm run util:patch-esm-resolution && npm run util:patch-tree-shaking",
"util:patch-esm-resolution": "ts-node --esm support/patchESMResolution.ts",
"util:patch-tree-shaking": "ts-node --esm support/patchTreeShaking.ts",
"util:prep-build-reqs": "npm run util:copy-assets && npm run util:generate-t9n-types",
"util:sync-t9n-en-bundles": "ts-node --esm support/syncEnT9nBundles.ts",
"util:test-types": "tsc --esModuleInterop dist/types/**/*.d.ts dist/components/*.d.ts && ! grep -rnw 'dist/types' -e '<reference types=' && npm run util:clean-js-files",
"util:clean-js-files": "find src .storybook support -name '*.js' | xargs rm -rf && find . -maxdepth 1 -name '*.js' | xargs rm -rf",
"util:is-working-tree-clean": "[ -z \"$(git status --porcelain=v1)\" ]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Esri/calcite-components.git"
},
"dependencies": {
"@floating-ui/dom": "1.4.1",
"@stencil/core": "2.22.3",
"@types/color": "3.0.3",
"color": "4.2.3",
"composed-offset-position": "0.0.4",
"dayjs": "1.11.8",
"focus-trap": "7.4.3",
"form-request-submit-polyfill": "2.0.0",
"lodash-es": "4.17.21",
"sortablejs": "1.15.0"
},
"devDependencies": {
"@esri/calcite-design-tokens": "1.0.0",
"@esri/calcite-ui-icons": "3.23.1",
"@stencil-community/eslint-plugin": "0.5.0",
"@stencil/postcss": "2.1.0",
"@stencil/react-output-target": "0.4.0",
"@stencil/sass": "3.0.4",
"@stencil/state-tunnel": "1.0.1"
},
"license": "SEE LICENSE.md",
"volta": {
"extends": "../../package.json"
},
"gitHead": "3ec84a636c09bb56793da831eaa5df9d3e9e94c5"
}