UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

152 lines (151 loc) • 7.76 kB
{ "name": "@esri/calcite-components", "version": "1.0.0-next.237", "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", "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:copy-icons && stencil build && npm run util:add-custom-elements-extras", "build:watch": "npm run util:copy-icons && stencil build --watch && npm run util:add-custom-elements-extras:index-mjs", "build:watch-dev": "npm run util:copy-icons && stencil build --dev --watch && npm run util:add-custom-elements-extras:index-mjs", "deps:update": "updtr --exclude tailwindcss typescript @types/jest @types/puppeteer husky jest jest-cli puppeteer && git add package*.json && git commit -q -m \"build(deps): bump versions\"", "docs": "concurrently --kill-others --raw \"npm:util:build-docs && build-storybook --static-dir ./__docs-temp__ --output-dir ./docs\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"", "docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook --static-dir ./__docs-temp__\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"", "lint": "concurrently npm:lint:*", "lint:md": "prettier --write \"**/*.md\"", "lint:styles": "stylelint --fix \"src/**/*.scss\"", "lint:ts": "concurrently \"tslint --fix --project tsconfig-tslint.json\" \"eslint --fix --ext .ts,.tsx .\"", "posttest": "npm run test:prerender", "prepublishOnly": "ts-node ./support/prepublish.ts", "prettier": "concurrently npm:prettier:*", "prettier:styles": "prettier --write \"src/**/*.scss\"", "prettier:ts": "prettier --write \"src/**/*.ts?(x)\"", "prettier:html": "prettier --write \"src/**/*.html\"", "preview-changelog": "ts-node ./support/ensureNonPrereleaseChangelog.ts --standard-version-options=\"--skip.commit --skip.tag\" && cat CHANGELOG.md && git reset --hard --quiet", "preview-changelog:latest": "npx touch __CHANGELOG-PREVIEW-TEMP__ && ts-node ./support/ensureNonPrereleaseChangelog.ts --standard-version-options=\"--skip.commit --skip.tag --release-count 1 --infile __CHANGELOG-PREVIEW-TEMP__ --same-file\" && cat __CHANGELOG-PREVIEW-TEMP__ && rimraf __CHANGELOG-PREVIEW-TEMP__ && git reset --hard --quiet", "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs", "release:next": "npm run util:clean-tested-build && npm run util:deploy-next-from-existing-build", "release:prepare": "npm run util:clean-tested-build && ts-node ./support/ensureNonPrereleaseChangelog.ts && git add .", "release:publish": "npm run util:push-tags && npm publish && ts-node ./support/releaseToGitHub.ts", "start": "concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm:build --dev --watch --serve\" \"ts-node ./support/cleanOnProcessExit.ts --path ./src/demos/**/*.js \"", "test": "npm run util:run-tests", "test:prerender": "stencil build --no-docs --prerender", "test:storybook": "concurrently --raw \"npm:util:build-docs && screener-storybook --conf screener.config.js\"", "test:watch": "npm run util:run-tests -- --watchAll", "util:add-custom-elements-extras": "npm run util:add-custom-elements-extras:index-mjs && npm run util:add-custom-elements-extras:build-utils", "util:add-custom-elements-extras:index-mjs": "cpy dist/custom-elements/index.js dist/custom-elements/ --rename index.mjs", "util:add-custom-elements-extras:build-utils": "ts-node --project ./tsconfig-node-scripts.json ./support/output-targets/custom-elements/createBundles.ts && tsc --project ./support/output-targets/custom-elements/tsconfig-dist-utils.json && rimraf ./support/output-targets/custom-elements/bundles", "util:build-docs": "npm run util:copy-icons && stencil build --config stencil.storybook.config.ts", "util:clean-tested-build": "npm ci && npm test && npm run build", "util:copy-icons": "cpy ./node_modules/@esri/calcite-ui-icons/js/*.json ./src/components/calcite-icon/assets/calcite-icon/", "util:deploy-next-from-existing-build": "npm run util:prep-next-from-existing-build && npm run util:push-tags && npm run util:publish-next", "util:prep-next-from-existing-build": "ts-node ./support/prepareVersionUpdate.ts --next --standard-version-options=\"--skip.changelog\"", "util:publish-next": "npm publish --tag next", "util:push-tags": "git push --follow-tags", "util:run-tests": "npm run util:copy-icons && stencil test --no-docs --spec --e2e", "util:prep-autolint": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/Esri/calcite-components.git" }, "dependencies": { "@a11y/focus-trap": "1.0.5", "@popperjs/core": "2.9.2", "@stencil/core": "2.6.0", "@types/color": "3.0.1", "color": "3.1.3", "lodash-es": "4.17.21", "sortablejs": "1.13.0" }, "devDependencies": { "@esri/calcite-base": "^1.2.0", "@esri/calcite-colors": "6.0.0", "@esri/calcite-ui-icons": "3.16.3", "@esri/eslint-plugin-calcite-components": "0.1.1", "@stencil/eslint-plugin": "0.3.1", "@stencil/postcss": "2.0.0", "@stencil/sass": "1.4.1", "@stencil/state-tunnel": "^1.0.1", "@storybook/addon-a11y": "6.3.1", "@storybook/addon-backgrounds": "6.3.1", "@storybook/addon-docs": "6.3.1", "@storybook/addon-knobs": "6.3.0", "@storybook/cli": "6.3.1", "@storybook/html": "6.3.1", "@storybook/storybook-deployer": "2.8.10", "@types/autoprefixer": "10.2.0", "@types/dedent": "0.7.0", "@types/git-semver-tags": "4.1.0", "@types/jest": "26.0.15", "@types/jest-axe": "3.5.1", "@types/lodash-es": "4.17.4", "@types/pify": "5.0.0", "@types/puppeteer": "5.4.1", "@types/resize-observer-browser": "0.1.5", "@types/rimraf": "3.0.0", "@types/semver": "7.3.6", "@types/sortablejs": "1.10.6", "@types/yargs": "17.0.0", "@typescript-eslint/eslint-plugin": "4.28.1", "@typescript-eslint/parser": "4.28.1", "@whitespace/storybook-addon-html": "5.0.0", "autoprefixer": "10.2.6", "awesome-typescript-loader": "5.2.1", "axe-core": "4.2.3", "babel-loader": "8.2.2", "chalk": "4.1.1", "cheerio": "1.0.0-rc.10", "chokidar": "3.5.2", "concurrently": "6.2.0", "cpy-cli": "^3.1.1", "dedent": "0.7.0", "eslint": "7.29.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-jest": "24.3.6", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-react": "7.24.0", "gh-release": "6.0.0", "git-semver-tags": "4.1.1", "husky": "6.0.0", "jest": "26.6.3", "jest-axe": "5.0.1", "jest-cli": "26.6.3", "lint-staged": "11.0.0", "pify": "5.0.0", "posthtml": "0.16.4", "prettier": "2.3.2", "puppeteer": "5.4.1", "rimraf": "3.0.2", "screener-storybook": "0.21.5", "semver": "7.3.5", "standard-version": "9.3.0", "stencil-eslint-core": "0.1.0", "storybook": "6.3.1", "stylelint": "13.13.1", "stylelint-config-recommended-scss": "4.2.0", "stylelint-scss": "3.19.0", "tailwindcss": "1.9.6", "ts-jest": "27.0.3", "ts-node": "10.0.0", "tslint": "6.1.3", "tslint-config-prettier": "1.18.0", "tslint-stencil": "1.0.1", "typescript": "4.2.4", "updtr": "3.1.0", "workbox-build": "6.1.5", "yargs": "17.0.1" }, "license": "SEE LICENSE IN copyright.txt" }