2022-12-01 17:58:08 +03:00
|
|
|
{
|
2023-12-10 20:10:54 +03:00
|
|
|
"name": "twenty-front",
|
2023-12-22 01:52:45 +03:00
|
|
|
"version": "0.2.2",
|
2022-12-01 17:58:08 +03:00
|
|
|
"private": true,
|
2023-12-10 18:22:43 +03:00
|
|
|
"type": "module",
|
|
|
|
"scripts": {
|
2023-12-11 12:54:57 +03:00
|
|
|
"start": "vite --host",
|
|
|
|
"start:clean": "yarn start --force",
|
2023-12-10 18:22:43 +03:00
|
|
|
"build": "tsc && vite build && yarn build:inject-runtime-env",
|
2023-12-13 00:38:40 +03:00
|
|
|
"build:inject-runtime-env": "sh ./scripts/inject-runtime-env.sh",
|
2023-12-14 14:39:22 +03:00
|
|
|
"tsc": "tsc --watch",
|
2023-12-19 19:08:54 +03:00
|
|
|
"tsc:ci": "tsc",
|
2023-12-10 18:22:43 +03:00
|
|
|
"preview": "vite preview",
|
|
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
2023-12-15 17:40:04 +03:00
|
|
|
"lint:ci": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --config .eslintrc-ci.cjs",
|
2023-12-10 18:22:43 +03:00
|
|
|
"fmt:fix": "prettier --cache --write \"src/**/*.ts\" \"src/**/*.tsx\"",
|
|
|
|
"fmt": "prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"",
|
|
|
|
"test": "jest",
|
2023-12-13 18:40:31 +03:00
|
|
|
"tsup": "tsup",
|
2023-12-10 18:22:43 +03:00
|
|
|
"coverage": "jest --coverage",
|
|
|
|
"storybook:modules:dev": "STORYBOOK_SCOPE=modules yarn storybook:dev",
|
|
|
|
"storybook:dev": "storybook dev -p 6006 --no-open",
|
|
|
|
"storybook:pages:dev": "STORYBOOK_SCOPE=pages yarn storybook:dev",
|
|
|
|
"storybook:docs:dev": "STORYBOOK_SCOPE=ui-docs yarn storybook:dev",
|
|
|
|
"storybook:build": "storybook build",
|
|
|
|
"storybook:modules:build": "STORYBOOK_SCOPE=modules yarn storybook:build",
|
|
|
|
"storybook:pages:build": "STORYBOOK_SCOPE=pages yarn storybook:build",
|
|
|
|
"storybook:docs:build": "STORYBOOK_SCOPE=ui-docs yarn storybook:build",
|
|
|
|
"storybook:test": "test-storybook",
|
|
|
|
"storybook:test-slow": "test-storybook --maxWorkers=3",
|
|
|
|
"storybook:coverage": "yarn storybook:test-slow --coverage && npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook --check-coverage",
|
|
|
|
"storybook:modules:coverage": "STORYBOOK_SCOPE=modules yarn storybook:coverage",
|
|
|
|
"storybook:pages:coverage": "STORYBOOK_SCOPE=pages yarn storybook:coverage",
|
|
|
|
"graphql:data:generate": "dotenv cross-var graphql-codegen -- --config codegen.cjs",
|
|
|
|
"graphql:metadata:generate": "dotenv cross-var graphql-codegen -- --config codegen-metadata.cjs",
|
2023-12-10 20:10:54 +03:00
|
|
|
"chromatic": "dotenv cross-var npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN"
|
2023-12-10 18:22:43 +03:00
|
|
|
},
|
2022-12-01 17:58:08 +03:00
|
|
|
"dependencies": {
|
2023-08-05 01:35:36 +03:00
|
|
|
"@air/react-drag-to-select": "^5.0.8",
|
2023-11-28 18:48:02 +03:00
|
|
|
"@apollo/client": "^3.7.17",
|
2023-12-09 12:40:54 +03:00
|
|
|
"@blocknote/core": "^0.10.1",
|
|
|
|
"@blocknote/react": "^0.10.1",
|
2023-08-16 01:12:47 +03:00
|
|
|
"@chakra-ui/accordion": "^2.3.0",
|
|
|
|
"@chakra-ui/system": "^2.6.0",
|
2023-04-09 17:43:43 +03:00
|
|
|
"@emotion/react": "^11.10.6",
|
2022-12-05 00:59:30 +03:00
|
|
|
"@emotion/styled": "^11.10.5",
|
2023-06-14 19:48:26 +03:00
|
|
|
"@floating-ui/react": "^0.24.3",
|
2023-06-08 18:40:25 +03:00
|
|
|
"@hello-pangea/dnd": "^16.2.0",
|
2023-07-13 02:53:48 +03:00
|
|
|
"@hookform/resolvers": "^3.1.1",
|
2023-12-22 01:50:24 +03:00
|
|
|
"@sentry/react": "^7.88.0",
|
2023-10-24 10:26:47 +03:00
|
|
|
"@sniptt/guards": "^0.2.0",
|
2023-12-10 18:22:43 +03:00
|
|
|
"@swc/core": "^1.3.100",
|
|
|
|
"@swc/jest": "^0.2.29",
|
2023-08-09 21:36:03 +03:00
|
|
|
"@tabler/icons-react": "^2.30.0",
|
2023-07-25 21:00:15 +03:00
|
|
|
"afterframe": "^1.0.2",
|
2023-07-08 03:50:02 +03:00
|
|
|
"apollo-upload-client": "^17.0.0",
|
2023-06-07 13:48:44 +03:00
|
|
|
"date-fns": "^2.30.0",
|
2023-08-09 06:08:37 +03:00
|
|
|
"deep-equal": "^2.2.2",
|
2023-12-13 18:40:31 +03:00
|
|
|
"esbuild-plugin-svgr": "^2.1.0",
|
2023-06-30 09:26:06 +03:00
|
|
|
"framer-motion": "^10.12.17",
|
2023-01-27 14:12:04 +03:00
|
|
|
"graphql": "^16.6.0",
|
2023-06-27 05:13:04 +03:00
|
|
|
"hex-rgb": "^5.0.0",
|
2023-07-04 16:54:58 +03:00
|
|
|
"immer": "^10.0.2",
|
2023-06-23 18:49:50 +03:00
|
|
|
"js-cookie": "^3.0.5",
|
2023-08-16 01:12:47 +03:00
|
|
|
"js-levenshtein": "^1.1.6",
|
2023-04-13 18:26:31 +03:00
|
|
|
"libphonenumber-js": "^1.10.26",
|
2023-10-26 12:04:16 +03:00
|
|
|
"lodash.camelcase": "^4.3.0",
|
2023-07-07 03:05:15 +03:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2023-10-26 12:04:16 +03:00
|
|
|
"lodash.kebabcase": "^4.1.1",
|
2023-12-08 13:15:52 +03:00
|
|
|
"lodash.snakecase": "^4.1.1",
|
2023-06-07 13:48:44 +03:00
|
|
|
"luxon": "^3.3.0",
|
2023-12-14 14:10:58 +03:00
|
|
|
"nx": "17.2.3",
|
2022-12-01 17:58:08 +03:00
|
|
|
"react": "^18.2.0",
|
2023-08-17 00:38:17 +03:00
|
|
|
"react-data-grid": "7.0.0-beta.13",
|
2023-05-05 19:52:04 +03:00
|
|
|
"react-datepicker": "^4.11.0",
|
2022-12-01 17:58:08 +03:00
|
|
|
"react-dom": "^18.2.0",
|
2023-08-16 01:12:47 +03:00
|
|
|
"react-dropzone": "^14.2.3",
|
2023-12-02 00:06:38 +03:00
|
|
|
"react-error-boundary": "^4.0.11",
|
2023-08-28 19:49:04 +03:00
|
|
|
"react-helmet-async": "^1.3.0",
|
2023-07-13 02:53:48 +03:00
|
|
|
"react-hook-form": "^7.45.1",
|
2023-05-26 00:09:23 +03:00
|
|
|
"react-hotkeys-hook": "^4.4.0",
|
2023-11-10 14:43:14 +03:00
|
|
|
"react-intersection-observer": "^9.5.2",
|
2023-07-05 16:50:36 +03:00
|
|
|
"react-loading-skeleton": "^3.3.1",
|
2023-08-25 21:54:00 +03:00
|
|
|
"react-phone-number-input": "^3.3.4",
|
2023-07-23 20:53:35 +03:00
|
|
|
"react-responsive": "^9.0.2",
|
2022-12-02 14:39:15 +03:00
|
|
|
"react-router-dom": "^6.4.4",
|
2023-06-01 20:49:37 +03:00
|
|
|
"react-textarea-autosize": "^8.4.1",
|
2023-06-07 13:48:44 +03:00
|
|
|
"react-tooltip": "^5.13.1",
|
2023-05-27 09:41:26 +03:00
|
|
|
"recoil": "^0.7.7",
|
2023-06-21 23:29:07 +03:00
|
|
|
"scroll-into-view": "^1.16.2",
|
2023-07-08 04:53:05 +03:00
|
|
|
"ts-key-enum": "^2.0.12",
|
2023-12-13 18:40:31 +03:00
|
|
|
"tsup": "^8.0.1",
|
2023-08-16 01:12:47 +03:00
|
|
|
"type-fest": "^4.1.0",
|
2023-05-08 00:41:22 +03:00
|
|
|
"uuid": "^9.0.0",
|
2023-12-10 18:22:43 +03:00
|
|
|
"vite-tsconfig-paths": "^4.2.1",
|
2023-08-16 01:12:47 +03:00
|
|
|
"xlsx-ugnis": "^0.19.3",
|
2023-09-27 19:18:02 +03:00
|
|
|
"zod": "^3.22.2"
|
2022-12-01 17:58:08 +03:00
|
|
|
},
|
2022-12-02 14:03:29 +03:00
|
|
|
"devDependencies": {
|
2023-04-25 18:25:30 +03:00
|
|
|
"@graphql-codegen/cli": "^3.3.1",
|
2023-10-13 19:01:57 +03:00
|
|
|
"@graphql-codegen/client-preset": "^4.1.0",
|
2023-04-25 18:25:30 +03:00
|
|
|
"@graphql-codegen/typescript": "^3.0.4",
|
|
|
|
"@graphql-codegen/typescript-operations": "^3.0.4",
|
|
|
|
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
|
2023-12-10 18:22:43 +03:00
|
|
|
"@storybook/addon-actions": "^7.6.3",
|
|
|
|
"@storybook/addon-coverage": "^1.0.0",
|
|
|
|
"@storybook/addon-essentials": "^7.6.3",
|
|
|
|
"@storybook/addon-interactions": "^7.6.3",
|
|
|
|
"@storybook/addon-links": "^7.6.3",
|
|
|
|
"@storybook/addon-onboarding": "^1.0.9",
|
|
|
|
"@storybook/addon-themes": "^7.6.3",
|
|
|
|
"@storybook/blocks": "^7.6.3",
|
|
|
|
"@storybook/react": "^7.6.3",
|
|
|
|
"@storybook/react-vite": "^7.6.3",
|
|
|
|
"@storybook/test": "^7.6.3",
|
|
|
|
"@storybook/test-runner": "^0.16.0",
|
|
|
|
"@testing-library/jest-dom": "^6.1.5",
|
2022-12-02 14:39:15 +03:00
|
|
|
"@testing-library/react": "^13.4.0",
|
2023-07-08 03:50:02 +03:00
|
|
|
"@types/apollo-upload-client": "^17.0.2",
|
2023-08-09 06:08:37 +03:00
|
|
|
"@types/deep-equal": "^1.0.1",
|
2023-12-10 18:22:43 +03:00
|
|
|
"@types/jest": "^29.5.10",
|
2023-06-23 18:49:50 +03:00
|
|
|
"@types/js-cookie": "^3.0.3",
|
2023-10-26 12:04:16 +03:00
|
|
|
"@types/lodash.camelcase": "^4.3.7",
|
2023-07-07 03:05:15 +03:00
|
|
|
"@types/lodash.debounce": "^4.0.7",
|
2023-10-26 12:04:16 +03:00
|
|
|
"@types/lodash.kebabcase": "^4.1.7",
|
2023-12-08 13:15:52 +03:00
|
|
|
"@types/lodash.snakecase": "^4.1.9",
|
2023-06-07 13:48:44 +03:00
|
|
|
"@types/luxon": "^3.3.0",
|
2023-12-10 18:22:43 +03:00
|
|
|
"@types/node": "^20.10.0",
|
|
|
|
"@types/react": "^18.2.39",
|
2023-05-05 19:52:04 +03:00
|
|
|
"@types/react-datepicker": "^4.11.2",
|
2023-12-10 18:22:43 +03:00
|
|
|
"@types/react-dom": "^18.2.15",
|
2023-06-21 23:29:07 +03:00
|
|
|
"@types/scroll-into-view": "^1.16.0",
|
2023-05-08 00:41:22 +03:00
|
|
|
"@types/uuid": "^9.0.1",
|
2023-12-10 18:22:43 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
|
|
"@typescript-eslint/parser": "^6.10.0",
|
|
|
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
2023-06-01 12:20:05 +03:00
|
|
|
"chromatic": "^6.18.0",
|
2023-05-29 12:02:38 +03:00
|
|
|
"concurrently": "^8.0.1",
|
2023-06-01 12:20:05 +03:00
|
|
|
"cross-var": "^1.1.0",
|
|
|
|
"dotenv-cli": "^7.2.1",
|
2023-12-10 18:22:43 +03:00
|
|
|
"eslint": "^8.53.0",
|
|
|
|
"eslint-config-prettier": "^9.0.0",
|
2023-09-16 04:41:10 +03:00
|
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
2023-12-10 18:22:43 +03:00
|
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
|
|
"eslint-plugin-react": "^7.33.2",
|
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
|
|
"eslint-plugin-react-refresh": "^0.4.4",
|
2023-06-04 12:23:09 +03:00
|
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
2023-12-10 18:22:43 +03:00
|
|
|
"eslint-plugin-storybook": "^0.6.15",
|
2023-12-15 17:40:04 +03:00
|
|
|
"eslint-plugin-twenty": "file:../eslint-plugin-twenty/eslint-plugin-twenty.tgz",
|
2023-07-26 03:18:25 +03:00
|
|
|
"eslint-plugin-unused-imports": "^3.0.0",
|
2023-05-29 12:02:38 +03:00
|
|
|
"http-server": "^14.1.1",
|
2023-12-10 18:22:43 +03:00
|
|
|
"jest": "29.7.0",
|
|
|
|
"jest-environment-jsdom": "29.7.0",
|
2023-12-13 16:37:55 +03:00
|
|
|
"msw": "^2.0.11",
|
|
|
|
"msw-storybook-addon": "2.0.0--canary.122.b3ed3b1.0",
|
2023-12-10 18:22:43 +03:00
|
|
|
"prettier": "^3.1.0",
|
|
|
|
"storybook": "^7.6.3",
|
|
|
|
"storybook-addon-cookie": "^3.1.0",
|
|
|
|
"storybook-addon-pseudo-states": "^2.1.2",
|
2023-10-27 12:06:07 +03:00
|
|
|
"typescript": "^5.2.2",
|
2023-12-10 18:22:43 +03:00
|
|
|
"vite": "^5.0.0",
|
|
|
|
"vite-plugin-svgr": "^4.2.0"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "^18.16.0",
|
2023-12-11 12:54:57 +03:00
|
|
|
"npm": "please-use-yarn",
|
|
|
|
"yarn": "^4.0.2"
|
2023-12-10 18:22:43 +03:00
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2023-05-29 12:02:38 +03:00
|
|
|
},
|
|
|
|
"msw": {
|
|
|
|
"workerDirectory": "public"
|
2023-12-10 20:10:54 +03:00
|
|
|
}
|
2023-12-23 12:08:55 +03:00
|
|
|
}
|