package.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "name": "@esri/calcite-components",
  3. "version": "1.0.0-beta.82",
  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. "unpkg": "dist/calcite/calcite.js",
  12. "collection:main": "dist/collection/index.js",
  13. "collection": "dist/collection/collection-manifest.json",
  14. "files": [
  15. "dist/",
  16. "hydrate/"
  17. ],
  18. "scripts": {
  19. "build": "npm run util:copy-icons && stencil build",
  20. "build:watch": "npm run util:copy-icons && stencil build --watch",
  21. "build:watch-dev": "npm run util:copy-icons && stencil build --dev --watch",
  22. "build-storybook": "npm run util:copy-icons && stencil build --config stencil.config.ts && build-storybook --static-dir ./www --output-dir ./docs",
  23. "deps:update": "updtr --exclude chalk typescript @types/jest jest jest-cli ts-jest puppeteer && npm audit fix",
  24. "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__\"",
  25. "docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook --static-dir ./__docs-temp__\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
  26. "lint": "concurrently npm:lint:*",
  27. "lint:html": "prettier --write \"**/*.html\"",
  28. "lint:js": "eslint --ext .js --fix . && prettier --write \"**/*.js\"",
  29. "lint:json": "prettier --write \"**/*.json\"",
  30. "lint:md": "prettier --write \"**/*.md\"",
  31. "lint:yml": "prettier --write \"**/*.yml\"",
  32. "lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\"",
  33. "lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\"",
  34. "posttest": "npm run test:prerender",
  35. "prepare": "husky install",
  36. "prepublishOnly": "ts-node ./support/prepublish.ts",
  37. "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
  38. "release:next": "npm ci && npm test && npm run util:deploy-next",
  39. "release:prepare": "npm ci && npm test && ts-node --project ./tsconfig-node-scripts.json support/prepReleaseCommit.ts && npm run build && git add .",
  40. "release:publish": "npm run util:push-tags && npm publish && ts-node ./support/releaseToGitHub.ts",
  41. "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 \"",
  42. "test": "npm run util:run-tests",
  43. "test:prerender": "stencil build --no-docs --prerender",
  44. "test:storybook": "concurrently --raw \"npm:util:build-docs && screener-storybook --conf screener.config.js\"",
  45. "test:watch": "npm run util:run-tests -- --watchAll",
  46. "util:build-docs": "npm run util:copy-icons && stencil build --config stencil.storybook.config.ts",
  47. "util:clean-tested-build": "npm ci && npm test && npm run build",
  48. "util:copy-icons": "cpy \"./node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
  49. "util:deploy-next": "npm run util:prep-next && npm run util:push-tags && npm run util:publish-next",
  50. "util:deploy-next-from-ci": "ts-node --project ./tsconfig-node-scripts.json support/deployNextFromCI.ts",
  51. "util:prep-next": "ts-node --project ./tsconfig-node-scripts.json support/prepReleaseCommit.ts --next && npm run build",
  52. "util:publish-next": "npm publish --tag next",
  53. "util:check-squash-mergeable-branch": "ts-node --project ./tsconfig-node-scripts.json support/checkSquashMergeableBranch.ts",
  54. "util:push-tags": "git push --atomic --follow-tags origin master",
  55. "util:run-tests": "npm run util:copy-icons && stencil test --no-docs --spec --e2e"
  56. },
  57. "repository": {
  58. "type": "git",
  59. "url": "git+https://github.com/Esri/calcite-components.git"
  60. },
  61. "dependencies": {
  62. "@a11y/focus-trap": "1.0.5",
  63. "@popperjs/core": "2.11.5",
  64. "@stencil/core": "2.15.1",
  65. "@types/color": "3.0.3",
  66. "color": "4.2.3",
  67. "form-request-submit-polyfill": "2.0.0",
  68. "lodash-es": "4.17.21",
  69. "sortablejs": "1.15.0"
  70. },
  71. "devDependencies": {
  72. "@babel/preset-react": "7.16.7",
  73. "@esri/calcite-base": "^1.2.0",
  74. "@esri/calcite-colors": "6.0.1",
  75. "@esri/calcite-ui-icons": "3.19.1",
  76. "@esri/eslint-plugin-calcite-components": "0.1.4",
  77. "@stencil/eslint-plugin": "0.4.0",
  78. "@stencil/postcss": "2.1.0",
  79. "@stencil/sass": "1.5.2",
  80. "@stencil/state-tunnel": "^1.0.1",
  81. "@storybook/addon-a11y": "6.4.22",
  82. "@storybook/addon-docs": "6.4.22",
  83. "@storybook/addon-knobs": "6.4.0",
  84. "@storybook/html": "6.4.22",
  85. "@storybook/storybook-deployer": "2.8.11",
  86. "@types/dedent": "0.7.0",
  87. "@types/git-semver-tags": "4.1.1",
  88. "@types/jest": "26.0.21",
  89. "@types/jest-axe": "3.5.3",
  90. "@types/lodash-es": "4.17.6",
  91. "@types/pify": "5.0.1",
  92. "@types/rimraf": "3.0.2",
  93. "@types/semver": "7.3.9",
  94. "@types/shell-quote": "1.7.1",
  95. "@types/sortablejs": "1.10.7",
  96. "@types/standard-version": "7.0.1",
  97. "@types/yargs": "17.0.10",
  98. "@typescript-eslint/eslint-plugin": "5.22.0",
  99. "@typescript-eslint/parser": "5.22.0",
  100. "@whitespace/storybook-addon-html": "5.0.0",
  101. "autoprefixer": "10.4.7",
  102. "axe-core": "4.4.1",
  103. "babel-loader": "8.2.5",
  104. "chalk": "4.1.2",
  105. "cheerio": "1.0.0-rc.10",
  106. "chokidar": "3.5.3",
  107. "concurrently": "7.1.0",
  108. "conventional-changelog-cli": "2.2.2",
  109. "cpy-cli": "^4.0.0",
  110. "dedent": "0.7.0",
  111. "eslint": "8.14.0",
  112. "eslint-config-prettier": "8.5.0",
  113. "eslint-plugin-jest": "26.1.5",
  114. "eslint-plugin-prettier": "4.0.0",
  115. "eslint-plugin-react": "7.29.4",
  116. "eslint-plugin-unicorn": "42.0.0",
  117. "gh-release": "6.0.4",
  118. "git-semver-tags": "4.1.1",
  119. "husky": "7.0.4",
  120. "jest": "26.6.3",
  121. "jest-axe": "6.0.0",
  122. "jest-cli": "26.6.3",
  123. "lint-staged": "12.4.1",
  124. "pify": "5.0.0",
  125. "postcss": "8.4.13",
  126. "prettier": "2.6.2",
  127. "puppeteer": "10.0.0",
  128. "rimraf": "3.0.2",
  129. "screener-storybook": "0.23.0",
  130. "semver": "7.3.7",
  131. "shell-quote": "1.7.3",
  132. "standard-version": "9.3.2",
  133. "stencil-eslint-core": "0.3.1",
  134. "storybook": "6.4.22",
  135. "storybook-addon-themes": "6.1.0",
  136. "storybook-rtl-addon": "0.3.3",
  137. "stylelint": "14.8.1",
  138. "stylelint-config-recommended-scss": "6.0.0",
  139. "tailwindcss": "3.0.24",
  140. "ts-jest": "27.1.2",
  141. "ts-node": "10.7.0",
  142. "typescript": "4.5.4",
  143. "updtr": "4.0.0",
  144. "workbox-build": "6.5.3",
  145. "yargs": "17.4.1"
  146. },
  147. "license": "SEE LICENSE IN copyright.txt",
  148. "volta": {
  149. "node": "16.13.2",
  150. "npm": "8.3.1"
  151. }
  152. }