package.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "name": "@esri/calcite-components",
  3. "version": "1.0.0-beta.97",
  4. "description": "Web Components for Esri's Calcite Design System.",
  5. "main": "dist/index.cjs.js",
  6. "module": "dist/index.js",
  7. "es2015": "dist/esm/index.js",
  8. "es2017": "dist/esm/index.js",
  9. "jsnext:main": "dist/esm/index.js",
  10. "types": "dist/types/components.d.ts",
  11. "type": "module",
  12. "unpkg": "dist/calcite/calcite.js",
  13. "collection:main": "dist/collection/index.js",
  14. "collection": "dist/collection/collection-manifest.json",
  15. "files": [
  16. "dist/",
  17. "hydrate/"
  18. ],
  19. "scripts": {
  20. "build": "npm run util:prep-build-reqs && stencil build && npm run util:patch",
  21. "build:watch": "npm run util:prep-build-reqs && stencil build --watch",
  22. "build:watch-dev": "npm run util:prep-build-reqs && stencil build --dev --watch",
  23. "build-storybook": "npm run util:build-docs && build-storybook --output-dir ./docs",
  24. "deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest puppeteer && npm audit fix",
  25. "docs": "concurrently --kill-others --raw \"npm run build-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
  26. "docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
  27. "lint": "concurrently npm:lint:*",
  28. "lint:html": "prettier --write \"**/*.html\"",
  29. "lint:js": "eslint --ext .js --fix . && prettier --write \"**/*.js\"",
  30. "lint:json": "prettier --write \"**/*.json\"",
  31. "lint:md": "prettier --write \"**/*.md\"",
  32. "lint:yml": "prettier --write \"**/*.yml\"",
  33. "lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\"",
  34. "lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\"",
  35. "posttest": "npm run test:prerender",
  36. "prepare": "husky install",
  37. "prepublishOnly": "ts-node --esm ./support/prepublish.ts",
  38. "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
  39. "release:next": "npm ci && npm test && npm run util:deploy-next",
  40. "release:prepare": "npm ci && npm test && ts-node --esm support/prepReleaseCommit.ts && npm run build",
  41. "release:publish": "npm run util:test-types && npm run util:push-tags && npm publish && ts-node --esm ./support/releaseToGitHub.ts",
  42. "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 \"",
  43. "test": "npm run build && npm run test:existing-build",
  44. "test:existing-build": "stencil test --no-docs --no-build --spec --e2e",
  45. "test:prerender": "stencil build --no-docs --prerender",
  46. "test:storybook": "concurrently --raw \"npm:util:build-docs && screener-storybook --conf .storybook/screener.config.js\"",
  47. "test:watch": "npm run test -- -- --watchAll",
  48. "util:build-docs": "npm run util:copy-icons && stencil build --config stencil.storybook.config.ts",
  49. "util:clean-tested-build": "npm ci && npm test && npm run build",
  50. "util:copy-icons": "cpy \"./node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
  51. "util:deploy-next": "npm run util:prep-next && npm run util:publish-next",
  52. "util:deploy-next-from-ci": "ts-node --esm support/deployNextFromCI.ts",
  53. "util:generate-t9n-types": "ts-node --esm support/generateT9nTypes.ts",
  54. "util:hydration-styles": "ts-node --esm support/hydrationStyles.ts",
  55. "util:is-next-deployable": "ts-node --esm support/isNextDeployable.ts",
  56. "util:patch": "npm run util:patch-esm-resolution && npm run util:patch-tree-shaking",
  57. "util:patch-esm-resolution": "ts-node --esm support/patchESMResolution.ts",
  58. "util:patch-tree-shaking": "ts-node --esm support/patchTreeShaking.ts",
  59. "util:prep-build-reqs": "npm run util:copy-icons && npm run util:generate-t9n-types",
  60. "util:prep-next": "ts-node --esm support/prepReleaseCommit.ts --next && npm run build",
  61. "util:publish-next": "npm run util:test-types && npm run util:push-tags && npm publish --tag next",
  62. "util:check-squash-mergeable-branch": "ts-node --esm support/checkSquashMergeableBranch.ts",
  63. "util:push-tags": "git push --atomic --follow-tags origin master",
  64. "util:sync-t9n-en-bundles": "ts-node --esm support/syncEnT9nBundles.ts",
  65. "util:test-types": "tsc --esModuleInterop dist/types/**/*.d.ts dist/components/*.d.ts && ! grep -rnw 'dist/types' -e '<reference types='"
  66. },
  67. "repository": {
  68. "type": "git",
  69. "url": "git+https://github.com/Esri/calcite-components.git"
  70. },
  71. "dependencies": {
  72. "@a11y/focus-trap": "1.0.5",
  73. "@floating-ui/dom": "1.0.3",
  74. "@stencil/core": "2.18.1",
  75. "@types/color": "3.0.3",
  76. "color": "4.2.3",
  77. "form-request-submit-polyfill": "2.0.0",
  78. "lodash-es": "4.17.21",
  79. "sortablejs": "1.15.0"
  80. },
  81. "devDependencies": {
  82. "@babel/preset-react": "7.18.6",
  83. "@esri/calcite-base": "^1.2.0",
  84. "@esri/calcite-colors": "6.0.1",
  85. "@esri/calcite-ui-icons": "3.20.5",
  86. "@esri/eslint-plugin-calcite-components": "0.2.2",
  87. "@stencil/eslint-plugin": "0.4.0",
  88. "@stencil/postcss": "2.1.0",
  89. "@stencil/sass": "2.0.0",
  90. "@stencil/state-tunnel": "^1.0.1",
  91. "@storybook/addon-a11y": "6.5.12",
  92. "@storybook/addon-docs": "6.5.12",
  93. "@storybook/addon-knobs": "6.4.0",
  94. "@storybook/html": "6.5.12",
  95. "@storybook/storybook-deployer": "2.8.12",
  96. "@types/dedent": "0.7.0",
  97. "@types/git-semver-tags": "4.1.1",
  98. "@types/jest": "27.0.3",
  99. "@types/jest-axe": "3.5.5",
  100. "@types/lodash-es": "4.17.6",
  101. "@types/rimraf": "3.0.2",
  102. "@types/semver": "7.3.12",
  103. "@types/shell-quote": "1.7.1",
  104. "@types/sortablejs": "1.15.0",
  105. "@types/standard-version": "7.0.1",
  106. "@types/yargs": "17.0.13",
  107. "@typescript-eslint/eslint-plugin": "5.40.1",
  108. "@typescript-eslint/parser": "5.40.1",
  109. "@whitespace/storybook-addon-html": "5.0.0",
  110. "autoprefixer": "10.4.12",
  111. "axe-core": "4.4.3",
  112. "babel-loader": "8.2.5",
  113. "chalk": "4.1.2",
  114. "cheerio": "1.0.0-rc.10",
  115. "chokidar": "3.5.3",
  116. "concurrently": "7.4.0",
  117. "conventional-changelog-cli": "2.2.2",
  118. "cpy-cli": "^4.0.0",
  119. "dedent": "0.7.0",
  120. "eslint": "8.25.0",
  121. "eslint-config-prettier": "8.5.0",
  122. "eslint-plugin-jest": "27.1.2",
  123. "eslint-plugin-jsdoc": "39.3.13",
  124. "eslint-plugin-prettier": "4.2.1",
  125. "eslint-plugin-react": "7.31.10",
  126. "eslint-plugin-unicorn": "44.0.2",
  127. "gh-release": "6.0.4",
  128. "git-semver-tags": "4.1.1",
  129. "husky": "8.0.1",
  130. "jest": "27.4.5",
  131. "jest-axe": "6.0.0",
  132. "jest-cli": "27.4.5",
  133. "lint-staged": "13.0.3",
  134. "postcss": "8.4.17",
  135. "prettier": "2.7.1",
  136. "puppeteer": "10.0.0",
  137. "quicktype-core": "6.1.0",
  138. "rimraf": "3.0.2",
  139. "screener-storybook": "0.23.0",
  140. "semver": "7.3.8",
  141. "shell-quote": "1.7.4",
  142. "standard-version": "9.5.0",
  143. "stencil-eslint-core": "0.3.1",
  144. "storybook": "6.5.12",
  145. "storybook-addon-themes": "6.1.0",
  146. "storybook-rtl-addon": "0.3.3",
  147. "stylelint": "14.14.0",
  148. "stylelint-config-recommended-scss": "7.0.0",
  149. "stylelint-use-logical-spec": "4.1.0",
  150. "tailwindcss": "3.1.8",
  151. "ts-jest": "27.1.5",
  152. "ts-node": "10.9.1",
  153. "type-fest": "3.1.0",
  154. "typescript": "4.7.4",
  155. "updtr": "4.0.0",
  156. "workbox-build": "6.5.4",
  157. "yargs": "17.6.0"
  158. },
  159. "license": "SEE LICENSE IN copyright.txt",
  160. "volta": {
  161. "node": "16.13.2",
  162. "npm": "8.3.1"
  163. }
  164. }