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-11-09 17:59:08 +05:30
|
|
|
"clean": "rm -rf ./dist && mkdir ./dist",
|
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",
|
|
|
|
"lint": "eslint --fix --quiet .",
|
|
|
|
"lint:check": "eslint --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-08 00:32:00 +05:30
|
|
|
"build:webpack": "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-11-11 14:10:05 +05:30
|
|
|
"build:serve": "http-server --proxy https://dev.account.ely.by ./dist"
|
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-08 00:32:00 +05:30
|
|
|
"dependencies": {},
|
2016-01-03 01:54:07 +05:30
|
|
|
"devDependencies": {
|
2019-11-26 23:44:46 +05:30
|
|
|
"@babel/cli": "^7.7.4",
|
|
|
|
"@babel/core": "^7.7.4",
|
|
|
|
"@babel/node": "^7.7.4",
|
|
|
|
"@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",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-pipeline-operator": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-throw-expressions": "^7.7.4",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
|
|
|
|
"@babel/plugin-syntax-import-meta": "^7.7.4",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.7.4",
|
|
|
|
"@babel/preset-env": "^7.7.4",
|
|
|
|
"@babel/preset-react": "^7.7.4",
|
2019-12-07 16:58:52 +05:30
|
|
|
"@babel/preset-typescript": "^7.7.4",
|
2019-11-26 23:44:46 +05:30
|
|
|
"@babel/runtime-corejs3": "^7.7.4",
|
2019-12-07 16:58:52 +05:30
|
|
|
"@types/jest": "^24.0.23",
|
|
|
|
"@types/webpack-env": "^1.14.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^2.9.0",
|
|
|
|
"@typescript-eslint/parser": "^2.9.0",
|
2019-06-30 20:49:28 +05:30
|
|
|
"babel-loader": "^8.0.0",
|
2019-11-26 23:44:46 +05:30
|
|
|
"babel-plugin-react-intl": "^5.1.8",
|
|
|
|
"core-js": "3.4.3",
|
2019-07-01 09:09:59 +05:30
|
|
|
"csp-webpack-plugin": "^2.0.2",
|
2019-11-09 18:37:03 +05:30
|
|
|
"css-loader": "^3.2.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-11-26 23:44:46 +05:30
|
|
|
"eslint": "^6.7.1",
|
2019-11-27 14:33:32 +05:30
|
|
|
"eslint-config-prettier": "^6.7.0",
|
|
|
|
"eslint-plugin-jsdoc": "^18.1.5",
|
|
|
|
"eslint-plugin-prettier": "^3.1.1",
|
2019-11-09 18:37:03 +05:30
|
|
|
"eslint-plugin-react": "^7.16.0",
|
2019-07-01 09:09:59 +05:30
|
|
|
"exports-loader": "^0.7.0",
|
2019-11-09 18:37:03 +05:30
|
|
|
"file-loader": "^4.2.0",
|
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-09-02 10:57:52 +05:30
|
|
|
"mini-css-extract-plugin": "^0.8.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-11-09 18:37:03 +05:30
|
|
|
"raw-loader": "^3.1.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",
|
|
|
|
"sinon": "^7.5.0",
|
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-11-09 18:37:03 +05:30
|
|
|
"style-loader": "^1.0.0",
|
2019-12-07 16:58:52 +05:30
|
|
|
"typescript": "^3.7.2",
|
2019-11-26 23:44:46 +05:30
|
|
|
"unexpected": "^11.8.1",
|
2016-12-04 18:18:07 +05:30
|
|
|
"unexpected-sinon": "^10.5.1",
|
2019-11-09 18:37:03 +05:30
|
|
|
"url-loader": "^2.2.0",
|
|
|
|
"webpack": "^4.41.2",
|
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",
|
|
|
|
"webpack-dev-server": "^3.9.0",
|
2019-11-09 17:41:09 +05:30
|
|
|
"webpackbar": "^4.0.0"
|
2016-01-03 01:54:07 +05:30
|
|
|
}
|
|
|
|
}
|