first commit
This commit is contained in:
+205
@@ -0,0 +1,205 @@
|
||||
{
|
||||
"name": "company-tech",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "cross-env NODE_ENV=development webpack serve --config config/webpack.dev.js",
|
||||
"prep": "yarn && yarn prepare-husky && yarn start",
|
||||
"lint": "eslint --ext 'mjs,js,jsx,ts,tsx' --fix",
|
||||
"lint-staged": "lint-staged",
|
||||
"prepare-husky": "husky install",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"test": "npx cypress open"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint-staged && git add --all"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.(js|ts|jsx|tsx)": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@pdftron/webviewer": "^8.1.0",
|
||||
"@popperjs/core": "^2.9.2",
|
||||
"@sentry/react": "^6.13.3",
|
||||
"@sentry/tracing": "^6.13.3",
|
||||
"@shopify/react-web-worker": "^2.1.6",
|
||||
"@types/googlemaps": "^3.43.3",
|
||||
"@uppy/core": "^2.1.6",
|
||||
"@uppy/robodog": "^2.5.0",
|
||||
"@uppy/transloadit": "^2.1.2",
|
||||
"axios": "^0.21.1",
|
||||
"bootstrap": "^5.0.2",
|
||||
"buffer": "^6.0.3",
|
||||
"date-fns": "^2.22.1",
|
||||
"deep-equal": "^2.0.5",
|
||||
"email-validator": "^2.0.4",
|
||||
"google-map-react": "^2.1.10",
|
||||
"history": "^5.0.0",
|
||||
"laravel-echo": "^1.11.2",
|
||||
"lodash": "^4.17.21",
|
||||
"password-validator": "^5.1.1",
|
||||
"pusher-js": "^7.0.3",
|
||||
"qs": "^6.10.1",
|
||||
"query-string": "^7.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-anchorme": "^2.2.1",
|
||||
"react-copy-to-clipboard": "^5.0.3",
|
||||
"react-datepicker": "^4.4.0",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-dropzone": "^11.3.4",
|
||||
"react-geocode": "^0.2.3",
|
||||
"react-google-autocomplete": "^2.4.0",
|
||||
"react-input-mask": "^2.0.4",
|
||||
"react-paginate": "^7.1.3",
|
||||
"react-phone-number-input": "^3.1.35",
|
||||
"react-redux": "^7.2.4",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-textarea-autosize": "^8.3.3",
|
||||
"react-use-intercom": "^1.4.0",
|
||||
"redux": "^4.1.0",
|
||||
"redux-thunk": "^2.3.0",
|
||||
"screen-size-detector": "^1.0.4",
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.14.5",
|
||||
"@babel/core": "^7.14.6",
|
||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||
"@babel/preset-env": "^7.14.7",
|
||||
"@babel/preset-react": "^7.14.5",
|
||||
"@babel/preset-typescript": "^7.14.5",
|
||||
"@storybook/addon-actions": "^6.3.4",
|
||||
"@storybook/addon-essentials": "^6.3.4",
|
||||
"@storybook/addon-links": "^6.3.4",
|
||||
"@storybook/addon-viewport": "^6.3.4",
|
||||
"@storybook/builder-webpack5": "^6.3.4",
|
||||
"@storybook/manager-webpack5": "^6.3.4",
|
||||
"@storybook/react": "^6.3.4",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
"@testing-library/jest-dom": "^5.14.1",
|
||||
"@testing-library/react": "^12.0.0",
|
||||
"@types/bootstrap": "^5.0.17",
|
||||
"@types/jest": "^26.0.24",
|
||||
"@types/react": "^17.0.14",
|
||||
"@types/react-dom": "^17.0.9",
|
||||
"@types/react-redux": "^7.1.18",
|
||||
"@types/react-router-dom": "^5.1.8",
|
||||
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
||||
"@typescript-eslint/parser": "^4.28.3",
|
||||
"autoprefixer": "^10.3.1",
|
||||
"babel-jest": "^27.0.6",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-inline-react-svg": "^2.0.1",
|
||||
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
"clean-webpack-plugin": "^3.0.0",
|
||||
"copy-webpack-plugin": "^9.1.0",
|
||||
"core-js": "^3.15.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"css-loader": "^6.1.0",
|
||||
"css-minimizer-webpack-plugin": "^3.0.2",
|
||||
"cypress": "^8.7.0",
|
||||
"dotenv-webpack": "^7.0.3",
|
||||
"eslint": "^7.31.0",
|
||||
"eslint-config-airbnb": "^18.2.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-import-resolver-webpack": "^0.13.2",
|
||||
"eslint-plugin-import": "^2.23.4",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-react": "^7.24.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint-webpack-plugin": "^2.5.4",
|
||||
"html-loader": "^2.1.2",
|
||||
"html-webpack-plugin": "^5.3.1",
|
||||
"husky": "^7.0.1",
|
||||
"jest": "^27.0.6",
|
||||
"jest-cli": "^27.0.6",
|
||||
"lint-staged": "^11.0.1",
|
||||
"mini-css-extract-plugin": "^2.1.0",
|
||||
"node-sass": "^6.0.1",
|
||||
"postcss": "^8.3.5",
|
||||
"postcss-loader": "^6.1.1",
|
||||
"postcss-preset-env": "^6.7.0",
|
||||
"prettier": "^2.3.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"sass-loader": "^12.1.0",
|
||||
"style-loader": "^3.1.0",
|
||||
"terser-webpack-plugin": "^5.1.4",
|
||||
"ts-jest": "^27.0.3",
|
||||
"ts-loader": "^9.2.3",
|
||||
"typescript": "^4.3.5",
|
||||
"webpack": "^5.45.1",
|
||||
"webpack-cli": "^4.7.2",
|
||||
"webpack-dev-server": "^3.11.2",
|
||||
"webpack-merge": "^5.8.0",
|
||||
"worker-loader": "^3.0.8"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"debug": true,
|
||||
"useBuiltIns": "usage",
|
||||
"corejs": "3.6.5"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@babel/preset-react"
|
||||
]
|
||||
],
|
||||
"plugins": [
|
||||
"syntax-dynamic-import",
|
||||
"transform-class-properties",
|
||||
"@babel/plugin-transform-modules-commonjs"
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"coverageDirectory": "dist/test-results",
|
||||
"setupFilesAfterEnv": [
|
||||
"<rootDir>/stories/setupTests.js"
|
||||
],
|
||||
"transform": {
|
||||
"\\.(js|ts|tsx)": "ts-jest",
|
||||
"\\.(js|jsx)": "babel-jest",
|
||||
".svg": "<rootDir>/__mocks__/mockModule.js"
|
||||
},
|
||||
"testPathIgnorePatterns": [
|
||||
"/node_modules/",
|
||||
"/lib/"
|
||||
],
|
||||
"testRegex": "(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
"js",
|
||||
"json"
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"RocketAssets/(.*)": "<rootDir>/src/shared/assets/$1",
|
||||
"Components/(.*)": "<rootDir>/src/shared/components/$1",
|
||||
"Containers/(.*)": "<rootDir>/src/shared/containers/$1",
|
||||
"HOC/(.*)": "<rootDir>/src/shared/hoc/$1",
|
||||
"Hooks/(.*)": "<rootDir>/src/shared/hooks/$1",
|
||||
"Utils/(.*)": "<rootDir>/src/shared/utils/$1",
|
||||
"Context/(.*)": "<rootDir>/src/shared/context/$1",
|
||||
"Routes/(.*)": "<rootDir>/src/routes/$1"
|
||||
},
|
||||
"coverageThreshold": {
|
||||
"global": {
|
||||
"branches": 4,
|
||||
"functions": 4,
|
||||
"lines": 4,
|
||||
"statements": 4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user