2016-01-03 01:54:07 +05:30
|
|
|
{
|
2019-03-11 00:00:42 +05:30
|
|
|
"name": "@elyby/accounts-frontend",
|
2016-01-03 01:54:07 +05:30
|
|
|
"description": "",
|
2019-03-11 00:00:42 +05:30
|
|
|
"author": "SleepWalker <mybox@udf.su>",
|
2019-07-01 09:09:59 +05:30
|
|
|
"private": true,
|
2019-03-11 00:00:42 +05:30
|
|
|
"maintainers": [
|
|
|
|
{
|
|
|
|
"name": "ErickSkrauch",
|
|
|
|
"email": "erickskrauch@ely.by"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SleepWalker",
|
|
|
|
"email": "mybox@udf.su"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": "https://github.com/elyby/accounts-frontend",
|
2017-12-13 03:43:36 +05:30
|
|
|
"engines": {
|
2019-11-09 18:37:03 +05:30
|
|
|
"node": ">=10.0.0"
|
2017-12-13 03:43:36 +05:30
|
|
|
},
|
2019-07-01 09:09:59 +05:30
|
|
|
"workspaces": [
|
2019-12-08 00:32:00 +05:30
|
|
|
"packages/*",
|
2019-11-09 18:37:03 +05:30
|
|
|
"tests-e2e"
|
2019-07-01 09:09:59 +05:30
|
|
|
],
|
2016-01-03 01:54:07 +05:30
|
|
|
"scripts": {
|
2019-12-08 00:32:00 +05:30
|
|
|
"start": "yarn run clean && yarn run build:dll && webpack-dev-server --colors",
|
2019-12-30 13:51:28 +05:30
|
|
|
"clean": "rm -rf ./build && mkdir ./build",
|
2019-06-30 19:02:50 +05:30
|
|
|
"e2e": "yarn --cwd ./tests-e2e test",
|
2019-12-08 00:32:00 +05:30
|
|
|
"test": "jest",
|
2019-11-27 14:33:32 +05:30
|
|
|
"test:watch": "yarn test --watch",
|
2019-12-10 12:47:44 +05:30
|
|
|
"lint": "eslint --ext js,ts,tsx --fix --quiet .",
|
|
|
|
"lint:check": "eslint --ext js,ts,tsx --quiet .",
|
2019-12-08 00:32:00 +05:30
|
|
|
"prettier": "prettier --write \"{packages/**/*,tests-e2e/**/*,jest/**/*,config/**/*,*}.{js,ts,tsx,json,md,scss,css}\"",
|
|
|
|
"prettier:check": "prettier --check \"{packages/**/*,tests-e2e/**/*,jest/**/*,config/**/*,*}.{js,ts,tsx,json,md,scss,css}\"",
|
2019-12-07 16:58:52 +05:30
|
|
|
"ts:check": "tsc",
|
|
|
|
"ci:check": "yarn lint:check && yarn ts:check && yarn test",
|
2019-11-09 17:59:08 +05:30
|
|
|
"analyze": "yarn run clean && yarn run build:webpack --analyze",
|
2019-12-08 00:32:00 +05:30
|
|
|
"i18n:collect": "babel-node ./packages/scripts/i18n-collect.js",
|
|
|
|
"i18n:push": "babel-node ./packages/scripts/i18n-crowdin.js push",
|
|
|
|
"i18n:pull": "babel-node ./packages/scripts/i18n-crowdin.js pull",
|
2019-11-09 17:59:08 +05:30
|
|
|
"build": "yarn run clean && yarn run build:webpack",
|
2019-11-09 18:37:03 +05:30
|
|
|
"build:install": "yarn install",
|
2019-12-11 13:15:10 +05:30
|
|
|
"build:webpack": "NODE_ENV=production webpack --colors -p --bail",
|
2017-12-13 03:43:36 +05:30
|
|
|
"build:quiet": "yarn run clean && yarn run build:webpack --quiet",
|
2019-12-08 00:32:00 +05:30
|
|
|
"build:dll": "node ./packages/scripts/build-dll.js",
|
2019-12-30 13:51:28 +05:30
|
|
|
"build:serve": "http-server --proxy https://dev.account.ely.by ./build",
|
2020-01-02 20:15:55 +05:30
|
|
|
"sb": "APP_ENV=storybook start-storybook -p 9009 --ci",
|
2019-12-09 13:17:51 +05:30
|
|
|
"build-storybook": "build-storybook"
|
2016-01-03 01:54:07 +05:30
|
|
|
},
|
2019-11-27 14:38:08 +05:30
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"pre-push": "yarn ci:check"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{json,scss,css,md}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{js,ts,tsx}": [
|
|
|
|
"eslint --fix --quiet",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2019-11-27 13:39:51 +05:30
|
|
|
"jest": {
|
|
|
|
"roots": [
|
2019-12-08 00:32:00 +05:30
|
|
|
"<rootDir>/packages/app"
|
2019-11-27 13:39:51 +05:30
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/jest/setupAfterEnv.js"
|
|
|
|
],
|
|
|
|
"resetMocks": true,
|
|
|
|
"resetModules": true,
|
|
|
|
"restoreMocks": true,
|
|
|
|
"watchPlugins": [
|
|
|
|
"jest-watch-typeahead/filename",
|
|
|
|
"jest-watch-typeahead/testname"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/__mocks__/mockStrExport.js",
|
|
|
|
"\\.(css|less|scss)$": "identity-obj-proxy"
|
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"\\.intl\\.json$": "<rootDir>/jest/__mocks__/intlMock.js",
|
|
|
|
"^.+\\.[tj]sx?$": "babel-jest"
|
|
|
|
}
|
|
|
|
},
|
2019-12-25 16:45:50 +05:30
|
|
|
"resolutions": {
|
|
|
|
"@types/node": "^12.0.0"
|
|
|
|
},
|
2019-12-13 13:23:09 +05:30
|
|
|
"dependencies": {
|
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0"
|
|
|
|
},
|
2016-01-03 01:54:07 +05:30
|
|
|
"devDependencies": {
|
2019-12-25 16:45:50 +05:30
|
|
|
"@babel/cli": "^7.7.7",
|
|
|
|
"@babel/core": "^7.7.7",
|
|
|
|
"@babel/node": "^7.7.7",
|
2019-11-26 23:44:46 +05:30
|
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-do-expressions": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-function-bind": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-function-sent": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-json-strings": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "^7.7.4",
|
2019-12-12 12:56:23 +05:30
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
|
2019-12-25 16:45:50 +05:30
|
|
|
"@babel/plugin-proposal-pipeline-operator": "^7.7.7",
|
2019-11-26 23:44:46 +05:30
|
|
|
"@babel/plugin-proposal-throw-expressions": "^7.7.4",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
|
|
|
|
"@babel/plugin-syntax-import-meta": "^7.7.4",
|
2019-12-12 12:56:23 +05:30
|
|
|
"@babel/plugin-transform-runtime": "^7.7.6",
|
2019-12-25 16:45:50 +05:30
|
|
|
"@babel/preset-env": "^7.7.7",
|
2019-11-26 23:44:46 +05:30
|
|
|
"@babel/preset-react": "^7.7.4",
|
2019-12-25 16:45:50 +05:30
|
|
|
"@babel/preset-typescript": "^7.7.7",
|
|
|
|
"@babel/runtime-corejs3": "^7.7.7",
|
2019-12-09 13:17:51 +05:30
|
|
|
"@storybook/addon-actions": "^5.2.8",
|
|
|
|
"@storybook/addon-links": "^5.2.8",
|
|
|
|
"@storybook/addon-viewport": "^5.2.8",
|
|
|
|
"@storybook/addons": "^5.2.8",
|
|
|
|
"@storybook/react": "^5.2.8",
|
2019-12-29 22:15:55 +05:30
|
|
|
"@types/jest": "^24.0.25",
|
2019-12-25 16:45:50 +05:30
|
|
|
"@typescript-eslint/eslint-plugin": "^2.13.0",
|
|
|
|
"@typescript-eslint/parser": "^2.13.0",
|
2019-06-30 20:49:28 +05:30
|
|
|
"babel-loader": "^8.0.0",
|
2019-12-29 22:15:55 +05:30
|
|
|
"babel-plugin-react-intl": "^5.1.13",
|
2019-12-25 16:45:50 +05:30
|
|
|
"core-js": "3.6.1",
|
2019-07-01 09:09:59 +05:30
|
|
|
"csp-webpack-plugin": "^2.0.2",
|
2019-12-25 16:45:50 +05:30
|
|
|
"css-loader": "^3.4.0",
|
2019-07-01 09:09:59 +05:30
|
|
|
"cssnano": "^4.1.10",
|
2019-11-09 18:12:02 +05:30
|
|
|
"dotenv": "^8.2.0",
|
2019-11-09 17:43:24 +05:30
|
|
|
"eager-imports-webpack-plugin": "^1.0.0",
|
2019-12-25 16:45:50 +05:30
|
|
|
"eslint": "^6.8.0",
|
2019-12-29 22:15:55 +05:30
|
|
|
"eslint-config-prettier": "^6.9.0",
|
|
|
|
"eslint-plugin-jsdoc": "^18.6.2",
|
2019-12-25 16:45:50 +05:30
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2019-12-13 13:23:09 +05:30
|
|
|
"eslint-plugin-react": "^7.17.0",
|
2019-07-01 09:09:59 +05:30
|
|
|
"exports-loader": "^0.7.0",
|
2019-12-13 13:23:09 +05:30
|
|
|
"file-loader": "^5.0.2",
|
2019-07-01 09:09:59 +05:30
|
|
|
"html-loader": "^0.5.5",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-11-27 14:38:08 +05:30
|
|
|
"husky": "^3.1.0",
|
2019-11-27 13:39:51 +05:30
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2019-07-01 09:09:59 +05:30
|
|
|
"imports-loader": "^0.8.0",
|
2019-11-27 13:39:51 +05:30
|
|
|
"jest": "^24.9.0",
|
|
|
|
"jest-watch-typeahead": "^0.4.2",
|
2016-05-01 23:20:55 +05:30
|
|
|
"json-loader": "^0.5.4",
|
2019-11-27 14:38:08 +05:30
|
|
|
"lint-staged": "^9.5.0",
|
2017-04-20 00:28:57 +05:30
|
|
|
"loader-utils": "^1.0.0",
|
2019-12-25 16:45:50 +05:30
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2019-11-09 18:37:03 +05:30
|
|
|
"node-sass": "^4.13.0",
|
2019-07-01 09:09:59 +05:30
|
|
|
"postcss-import": "^12.0.1",
|
2019-06-30 20:01:09 +05:30
|
|
|
"postcss-loader": "^3.0.0",
|
2019-07-01 09:09:59 +05:30
|
|
|
"postcss-scss": "^2.0.0",
|
2019-11-27 14:33:32 +05:30
|
|
|
"prettier": "^1.19.1",
|
2019-12-13 13:23:09 +05:30
|
|
|
"raw-loader": "^4.0.0",
|
2019-11-26 23:44:46 +05:30
|
|
|
"react-test-renderer": "^16.12.0",
|
2019-11-09 18:37:03 +05:30
|
|
|
"sass-loader": "^8.0.0",
|
2019-12-25 16:45:50 +05:30
|
|
|
"sinon": "^8.0.1",
|
2019-07-01 09:09:59 +05:30
|
|
|
"sitemap-webpack-plugin": "^0.6.0",
|
2019-11-09 17:41:09 +05:30
|
|
|
"speed-measure-webpack-plugin": "^1.3.1",
|
2019-12-25 16:45:50 +05:30
|
|
|
"style-loader": "~1.0.0",
|
|
|
|
"typescript": "^3.7.4",
|
2019-12-29 22:15:55 +05:30
|
|
|
"unexpected": "^11.12.0",
|
2016-12-04 18:18:07 +05:30
|
|
|
"unexpected-sinon": "^10.5.1",
|
2019-12-13 13:23:09 +05:30
|
|
|
"url-loader": "^3.0.0",
|
2020-01-15 20:27:27 +05:30
|
|
|
"wait-on": "^3.3.0",
|
2019-12-29 22:15:55 +05:30
|
|
|
"webpack": "^4.41.5",
|
2019-11-09 17:59:08 +05:30
|
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
2019-11-09 18:37:03 +05:30
|
|
|
"webpack-cli": "^3.3.10",
|
2019-12-25 16:45:50 +05:30
|
|
|
"webpack-dev-server": "^3.10.1",
|
2019-11-09 17:41:09 +05:30
|
|
|
"webpackbar": "^4.0.0"
|
2016-01-03 01:54:07 +05:30
|
|
|
}
|
|
|
|
}
|