package.json 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. {
  2. "name": "@humansignal/source",
  3. "version": "0.0.0",
  4. "license": "MIT",
  5. "scripts": {
  6. "ui:serve": "nx storybook storybook",
  7. "ui:test:component": "nx test-component ui",
  8. "lint": "biome check --apply .",
  9. "lint-scss": "yarn stylelint '**/*.scss' --fix",
  10. "ls:dev": "nx run labelstudio:serve:development",
  11. "ls:watch": "nx run labelstudio:build:development --watch",
  12. "ls:build": "nx run labelstudio:build:production",
  13. "ls:unit": "nx run labelstudio:unit",
  14. "ls:e2e": "nx run labelstudio-e2e:e2e",
  15. "lsf:watch": "nx run editor:build:development --watch",
  16. "lsf:serve": "npx cross-env NODE_ENV=development FRONTEND_HOSTNAME=http://localhost:3000 MODE=standalone nx run editor:serve:development",
  17. "lsf:e2e": "cd libs/editor/tests/e2e && yarn test",
  18. "lsf:e2e:slow": "cross-env DEFAULT_CPU_THROTTLING=100 yarn lsf:e2e",
  19. "lsf:e2e:parallel": "cd libs/editor/tests/e2e && yarn test:parallel",
  20. "lsf:e2e:ci": "cd libs/editor/tests/e2e && yarn test:ci",
  21. "lsf:e2e:flakey": "cd libs/editor/tests/e2e && yarn test:ci --grep \"@flakey\"",
  22. "lsf:integration": "nx run editor:integration",
  23. "lsf:integration:slow": "cross-env DEFAULT_CPU_THROTTLING=4 DEFAULT_NETWORK_THROTTLING=4g nx run editor:integration",
  24. "lsf:integration:watch": "nx run editor:integration --watch",
  25. "lsf:integration:watch:slow": "cross-env DEFAULT_CPU_THROTTLING=10 DEFAULT_NETWORK_THROTTLING=4g nx run editor:integration --watch",
  26. "lsf:unit": "nx run editor:unit",
  27. "dm:watch": "nx run datamanager:build:development --watch",
  28. "dm:unit": "nx run datamanager:unit",
  29. "build": "cross-env NODE_ENV=production yarn ls:build",
  30. "version:libs": "nx run-many --target=version",
  31. "docs": "cross-env SCHEMA_JSON_PATH=$PWD/libs/core/src/lib/utils/schema/tags.json nx docs editor && biome check --write $SCHEMA_JSON_PATH",
  32. "watch": "cross-env NODE_ENV=development BUILD_NO_SERVER=true yarn ls:watch",
  33. "dev": "cross-env NODE_ENV=development BUILD_NO_SERVER=true yarn ls:dev",
  34. "test:e2e": "yarn ls:e2e && yarn lsf:e2e",
  35. "test:integration": "yarn lsf:integration",
  36. "test:unit": "nx run-many --target=unit",
  37. "test:unit:coverage": "yarn test:unit --coverage",
  38. "test:affected": "nx affected --target=test:unit --base=develop",
  39. "test:watch": "yarn test:unit --all --watch",
  40. "test:watch:affected": "yarn test --watch",
  41. "design-tokens": "nx design-tokens ui",
  42. "extract-antd-no-reset": "nx extract-antd-no-reset editor",
  43. "storybook:serve": "nx storybook storybook",
  44. "storybook:build": "nx build-storybook storybook",
  45. "playground:serve": "npx cross-env FRONTEND_HOSTNAME=http://localhost:4200 MODE=standalone-playground nx run playground:serve:development",
  46. "playground:build": "cross-env NODE_ENV=production MODE=standalone-playground nx run playground:build:production && mv dist/apps/playground/playground-assets/index.html dist/apps/playground/index.html"
  47. },
  48. "private": true,
  49. "dependencies": {
  50. "@ant-design/colors": "6.0.0",
  51. "@ant-design/icons": "4.8.1",
  52. "@humansignal/audio-file-decoder": "0.1.5",
  53. "@radix-ui/react-accordion": "^1.2.11",
  54. "@radix-ui/react-dialog": "^1.1.6",
  55. "@radix-ui/react-popover": "^1.1.6",
  56. "@radix-ui/react-slot": "^1.2.3",
  57. "@radix-ui/react-switch": "^1.2.5",
  58. "@radix-ui/react-tabs": "^1.1.13",
  59. "@radix-ui/react-toast": "^1.1.5",
  60. "@tanstack/query-core": "^5.66.0",
  61. "@tanstack/react-query": "^4",
  62. "@tanstack/react-table": "^8.21.3",
  63. "@thi.ng/rle-pack": "^3.1.30",
  64. "antd": "^4.3.3",
  65. "axios": "^1.13.2",
  66. "chroma-js": "^2.1.1",
  67. "class-variance-authority": "^0.7.1",
  68. "clsx": "^2.1.1",
  69. "cmdk": "^1.1.1",
  70. "codemirror": "^5.59.4",
  71. "colormap": "^2.3.2",
  72. "d3": "^5.16.0",
  73. "d3-color": "3.1.0",
  74. "date-fns": "^2.20.1",
  75. "deep-equal": "^2.0.5",
  76. "emoji-regex": "^7.0.3",
  77. "fft.js": "^4.0.4",
  78. "history": "^4.10.1",
  79. "html-react-parser": "^1.2.4",
  80. "insert-after": "^0.1.4",
  81. "jotai": "^2.16.1",
  82. "jotai-tanstack-query": "^0.9.0",
  83. "js-base64": "^3.7.7",
  84. "keymaster": "^1.6.2",
  85. "konva": "^8.1.3",
  86. "lodash": "4.17.21",
  87. "mobx": "^5.15.4",
  88. "mobx-react": "^6",
  89. "mobx-state-tree": "^3.16.0",
  90. "nanoid": "^3.3.8",
  91. "pako": "^2.1.0",
  92. "papaparse": "^5.4.1",
  93. "pleasejs": "^0.4.2",
  94. "rc-tree": "^5.7.8",
  95. "react": "18.3.1",
  96. "react-beautiful-dnd": "^13.1.1",
  97. "react-codemirror2": "^7.2.1",
  98. "react-datepicker": "^3.6.0",
  99. "react-dom": "18.3.1",
  100. "react-hotkeys-hook": "^2.4.0",
  101. "react-joyride": "^2.9.3",
  102. "react-konva": "^18.2.10",
  103. "react-konva-utils": "^0.2.0",
  104. "react-markdown": "^10.1.0",
  105. "react-router": "^5.2.0",
  106. "react-router-dom": "^7.12.0",
  107. "react-singleton-hook": "^3.1.1",
  108. "react-virtualized-auto-sizer": "^1.0.20",
  109. "react-window": "^1.8.11",
  110. "react-window-infinite-loader": "^1.0.5",
  111. "rehype-raw": "^7.0.0",
  112. "sanitize-html": "^2.14.0",
  113. "shadcn": "^2.1.8",
  114. "simplify-js": "^1.2.4",
  115. "storybook": "^9.1.17",
  116. "sucrase": "^3.35.0",
  117. "tailwind-merge": "^2.6.0",
  118. "webfft": "^1.0.3",
  119. "xpath-range": "^1.1.1",
  120. "zod": "^3.23.8"
  121. },
  122. "devDependencies": {
  123. "@babel/core": "^7.26.10",
  124. "@babel/plugin-proposal-class-properties": "^7.12.13",
  125. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
  126. "@babel/plugin-proposal-optional-chaining": "^7.12.17",
  127. "@babel/plugin-proposal-private-methods": "^7.18.6",
  128. "@babel/plugin-transform-class-properties": "^7.22.5",
  129. "@babel/plugin-transform-private-methods": "^7.22.5",
  130. "@babel/plugin-transform-private-property-in-object": "^7.22.11",
  131. "@babel/plugin-transform-runtime": "^7.12.15",
  132. "@babel/preset-env": "^7.12.13",
  133. "@babel/preset-react": "^7.14.5",
  134. "@babel/preset-typescript": "^7.13.0",
  135. "@babel/runtime": "^7.26.10",
  136. "@biomejs/biome": "1.9.4",
  137. "@cypress/code-coverage": "^3.12.9",
  138. "@cypress/webpack-preprocessor": "^5.17.0",
  139. "@module-federation/dts-plugin": "0.18.0",
  140. "@nx/cypress": "21.4.0",
  141. "@nx/jest": "21.4.0",
  142. "@nx/js": "21.4.0",
  143. "@nx/react": "21.4.0",
  144. "@nx/storybook": "21.4.0",
  145. "@nx/web": "21.4.0",
  146. "@nx/webpack": "21.4.0",
  147. "@nx/workspace": "21.4.0",
  148. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
  149. "@sentry/browser": "^8.33",
  150. "@sentry/react": "^8.33",
  151. "@storybook/addon-docs": "^9.0.13",
  152. "@storybook/addon-links": "^9.0.13",
  153. "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
  154. "@storybook/icons": "^1.4.0",
  155. "@storybook/react-webpack5": "^9.0.13",
  156. "@svgr/plugin-jsx": "^8.1.0",
  157. "@svgr/webpack": "^8.1.0",
  158. "@swc-node/register": "1.9.2",
  159. "@swc/cli": "0.6.0",
  160. "@swc/core": "1.5.7",
  161. "@swc/helpers": "~0.5.11",
  162. "@tailwindcss/postcss": "^4.0.7",
  163. "@testing-library/dom": "^10.4.0",
  164. "@testing-library/react": "^16.3.0",
  165. "@types/chroma-js": "^2.1.3",
  166. "@types/jest": "30.0.0",
  167. "@types/keymaster": "^1.6.33",
  168. "@types/mini-css-extract-plugin": "^2.5.1",
  169. "@types/node": "^20.0.0",
  170. "@types/react": "18.3.1",
  171. "@types/react-dom": "18.3.0",
  172. "@types/react-router": "^5.1.7",
  173. "@types/react-router-dom": "^5.1.7",
  174. "@types/react-window": "^1.8.8",
  175. "@types/react-window-infinite-loader": "^1.0.9",
  176. "@types/sanitize-html": "^2.13.0",
  177. "@types/sinon": "^17.0.3",
  178. "autoprefixer": "^10.4.20",
  179. "babel-jest": "30.0.5",
  180. "babel-loader": "^8.2.2",
  181. "babel-plugin-import": "^1.13.0",
  182. "babel-plugin-istanbul": "^7.0.0",
  183. "babel-plugin-remove-webpack": "^1.1.0",
  184. "babel-plugin-transform-class-properties": "^6.24.1",
  185. "babel-preset-env": "^1.7.0",
  186. "babel-preset-react": "^6.24.1",
  187. "chai": "^4.3.7",
  188. "css-loader": "^5.0.1",
  189. "css-minimizer-webpack-plugin": "^3.0.2",
  190. "cypress": "14.5.0",
  191. "cypress-image-snapshot": "^4.0.1",
  192. "cypress-multi-reporters": "^2.0.5",
  193. "cypress-parallel": "^0.15.0",
  194. "cypress-terminal-report": "^5.1.1",
  195. "dotenv-defaults": "^2.0.2",
  196. "jest": "30.0.5",
  197. "jest-environment-jsdom": "^29.7.0",
  198. "jest-fetch-mock": "^3.0.3",
  199. "jest-util": "30.0.5",
  200. "jsdoc-to-markdown": "8.0.1",
  201. "jsdom": "~22.1.0",
  202. "koa": "3.0.3",
  203. "loader-utils": "^3.2.1",
  204. "mini-css-extract-plugin": "^2.7.6",
  205. "nx": "21.4.0",
  206. "pixelmatch": "7.1.0",
  207. "pngjs": "^7.0.0",
  208. "postcss": "8.4.38",
  209. "postcss-import": "^16.1.0",
  210. "postcss-loader": "^7.3.3",
  211. "prettier": "^2.6.2",
  212. "proper-lockfile": "^4.1.2",
  213. "react-refresh": "^0.10.0",
  214. "sass": "^1.55.0",
  215. "sass-loader": "16.0.5",
  216. "shallow-equal": "^1.2.1",
  217. "sinon": "^17.0.1",
  218. "source-map-loader": "^1.1.3",
  219. "style-loader": "^3.3.3",
  220. "stylelint": "^16.9.0",
  221. "stylelint-config-standard-scss": "^13.1.0",
  222. "stylelint-config-tailwindcss": "^0.0.7",
  223. "tailwind-scrollbar": "3",
  224. "tailwindcss": "3.4.3",
  225. "tailwindcss-animate": "^1.0.7",
  226. "toml": "^3.0.0",
  227. "truncate-middle": "^1.0.6",
  228. "ts-jest": "29.4.5",
  229. "ts-loader": "^9.4.2",
  230. "ts-node": "10.9.1",
  231. "tslib": "^2.3.0",
  232. "typescript": "5.8.3",
  233. "typescript-plugin-css-modules": "^5.2.0",
  234. "url-loader": "^4.1.1",
  235. "webpack": "5.98.0",
  236. "webpack-cli": "^5.0.1",
  237. "webpack-merge": "^5.9.0",
  238. "yargs": "^17.7.1"
  239. },
  240. "resolutions": {
  241. "@module-federation/dts-plugin": ">=0.18.0",
  242. "@radix-ui/react-slot": "1.2.3",
  243. "d3-color": "3.1.0",
  244. "debug": ">=4.3.1",
  245. "diff": ">=3.5.0",
  246. "esbuild": ">=0.25.5",
  247. "jpeg-js": "0.4.4",
  248. "js-yaml": "4.1.1",
  249. "koa": ">=3.0.3",
  250. "lodash": "4.17.21",
  251. "merge": "2.1.1",
  252. "ws": "8.17.1",
  253. "moment": "2.29.4",
  254. "on-headers": "1.1.0",
  255. "form-data": "4.0.4",
  256. "qs": ">=6.14.1",
  257. "stylus": "npm:empty-npm-package@1.0.0"
  258. }
  259. }