2022-12-01 17:58:08 +03:00
|
|
|
{
|
2022-12-02 14:03:29 +03:00
|
|
|
"name": "twenty",
|
2022-12-01 17:58:08 +03:00
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2023-01-27 14:12:04 +03:00
|
|
|
"@apollo/client": "^3.7.5",
|
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-01 20:22:35 +03:00
|
|
|
"@tabler/icons-react": "^2.20.0",
|
2023-04-11 00:31:55 +03:00
|
|
|
"@tanstack/react-table": "^8.8.5",
|
2022-12-02 14:03:29 +03:00
|
|
|
"@types/node": "^16.18.4",
|
|
|
|
"@types/react": "^18.0.25",
|
|
|
|
"@types/react-dom": "^18.0.9",
|
2023-04-21 15:07:02 +03:00
|
|
|
"apollo-link-rest": "^0.9.0",
|
2023-01-27 14:12:04 +03:00
|
|
|
"graphql": "^16.6.0",
|
2023-02-02 22:40:44 +03:00
|
|
|
"jwt-decode": "^3.1.2",
|
2023-04-13 18:26:31 +03:00
|
|
|
"libphonenumber-js": "^1.10.26",
|
2022-12-01 17:58:08 +03:00
|
|
|
"react": "^18.2.0",
|
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-05-26 00:09:23 +03:00
|
|
|
"react-hotkeys-hook": "^4.4.0",
|
2023-05-03 18:24:07 +03:00
|
|
|
"react-icons": "^4.8.0",
|
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-05-27 09:41:26 +03:00
|
|
|
"recoil": "^0.7.7",
|
2023-05-08 00:41:22 +03:00
|
|
|
"uuid": "^9.0.0",
|
2022-12-01 17:58:08 +03:00
|
|
|
"web-vitals": "^2.1.4"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-04-05 16:01:20 +03:00
|
|
|
"start": "PORT=3001 react-scripts start",
|
2022-12-01 17:58:08 +03:00
|
|
|
"build": "react-scripts build",
|
|
|
|
"test": "react-scripts test",
|
2022-12-05 00:59:30 +03:00
|
|
|
"eject": "react-scripts eject",
|
2023-04-20 12:44:47 +03:00
|
|
|
"lint": "eslint src --max-warnings=0",
|
2023-05-29 12:02:38 +03:00
|
|
|
"storybook": "storybook dev -p 6006 -s ../public",
|
|
|
|
"test-storybook": "test-storybook",
|
2023-04-11 00:31:55 +03:00
|
|
|
"build-storybook": "storybook build -s public",
|
2023-05-29 23:08:01 +03:00
|
|
|
"coverage": "test-storybook --coverage && npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook --check-coverage",
|
2023-06-01 12:20:05 +03:00
|
|
|
"graphql:generate": "dotenv cross-var graphql-codegen --config codegen.js",
|
|
|
|
"chromatic": "dotenv cross-var npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN"
|
2022-12-01 17:58:08 +03:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
2022-12-05 00:59:30 +03:00
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"**/*.stories.*"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/no-anonymous-default-export": "off"
|
|
|
|
}
|
|
|
|
}
|
2022-12-01 17:58:08 +03:00
|
|
|
]
|
|
|
|
},
|
2022-12-05 00:59:30 +03:00
|
|
|
"overrides": {
|
|
|
|
"react-refresh": "0.14.0"
|
|
|
|
},
|
2023-04-09 17:43:43 +03:00
|
|
|
"jest": {
|
2023-05-06 08:59:30 +03:00
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/**/*.test.ts",
|
|
|
|
"<rootDir>/**/*.test.tsx"
|
2023-05-29 12:02:38 +03:00
|
|
|
]
|
2023-04-09 17:43:43 +03:00
|
|
|
},
|
2022-12-01 17:58:08 +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"
|
|
|
|
]
|
2022-12-02 14:03:29 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-25 18:25:30 +03:00
|
|
|
"@graphql-codegen/cli": "^3.3.1",
|
|
|
|
"@graphql-codegen/typescript": "^3.0.4",
|
|
|
|
"@graphql-codegen/typescript-operations": "^3.0.4",
|
|
|
|
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
|
2023-04-11 00:31:55 +03:00
|
|
|
"@storybook/addon-actions": "^7.0.2",
|
2023-05-29 12:02:38 +03:00
|
|
|
"@storybook/addon-coverage": "^0.0.8",
|
2023-04-11 00:31:55 +03:00
|
|
|
"@storybook/addon-essentials": "^7.0.2",
|
|
|
|
"@storybook/addon-interactions": "^7.0.2",
|
|
|
|
"@storybook/addon-links": "^7.0.2",
|
2023-05-29 12:02:38 +03:00
|
|
|
"@storybook/jest": "^0.1.0",
|
2023-04-11 00:31:55 +03:00
|
|
|
"@storybook/node-logger": "^7.0.2",
|
|
|
|
"@storybook/preset-create-react-app": "^7.0.2",
|
|
|
|
"@storybook/react": "^7.0.2",
|
|
|
|
"@storybook/react-webpack5": "^7.0.2",
|
2023-05-29 12:02:38 +03:00
|
|
|
"@storybook/test-runner": "^0.10.0",
|
2023-04-11 00:31:55 +03:00
|
|
|
"@storybook/testing-library": "^0.1.0",
|
2022-12-02 14:39:15 +03:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
"@testing-library/react": "^13.4.0",
|
|
|
|
"@testing-library/user-event": "^13.5.0",
|
|
|
|
"@types/jest": "^27.5.2",
|
2023-05-05 19:52:04 +03:00
|
|
|
"@types/react-datepicker": "^4.11.2",
|
2023-05-08 00:41:22 +03:00
|
|
|
"@types/uuid": "^9.0.1",
|
2022-12-02 14:03:29 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
2022-12-05 00:59:30 +03:00
|
|
|
"babel-plugin-named-exports-order": "^0.0.2",
|
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",
|
2022-12-02 14:03:29 +03:00
|
|
|
"eslint": "^8.28.0",
|
2022-12-02 14:39:15 +03:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2023-04-20 12:44:47 +03:00
|
|
|
"eslint-config-react-app": "^7.0.1",
|
2022-12-02 14:03:29 +03:00
|
|
|
"eslint-config-standard-with-typescript": "^23.0.0",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-n": "^15.5.1",
|
2022-12-02 14:39:15 +03:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-12-02 14:03:29 +03:00
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-react": "^7.31.11",
|
2023-04-11 00:31:55 +03:00
|
|
|
"eslint-plugin-storybook": "^0.6.11",
|
2023-05-29 12:02:38 +03:00
|
|
|
"http-server": "^14.1.1",
|
2023-04-24 23:55:34 +03:00
|
|
|
"mock-apollo-client": "^1.2.1",
|
2023-05-29 12:02:38 +03:00
|
|
|
"msw": "^1.2.1",
|
|
|
|
"msw-storybook-addon": "^1.8.0",
|
2022-12-05 00:59:30 +03:00
|
|
|
"prettier": "^2.8.0",
|
|
|
|
"prop-types": "^15.8.1",
|
2023-04-14 12:52:12 +03:00
|
|
|
"react-scripts": "5.0.1",
|
2023-04-11 00:31:55 +03:00
|
|
|
"storybook": "^7.0.2",
|
2022-12-05 00:59:30 +03:00
|
|
|
"typescript": "^4.9.3",
|
|
|
|
"webpack": "^5.75.0"
|
2023-05-29 12:02:38 +03:00
|
|
|
},
|
|
|
|
"msw": {
|
|
|
|
"workerDirectory": "public"
|
2023-05-29 23:08:01 +03:00
|
|
|
},
|
|
|
|
"nyc": {
|
2023-06-02 17:48:44 +03:00
|
|
|
"lines": 65,
|
|
|
|
"statements": 65
|
2022-12-01 17:58:08 +03:00
|
|
|
}
|
|
|
|
}
|