mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-30 02:32:58 +05:30
175 lines
5.8 KiB
JSON
175 lines
5.8 KiB
JSON
{
|
|
"name": "@elyby/accounts-frontend",
|
|
"description": "",
|
|
"author": "SleepWalker <mybox@udf.su>",
|
|
"private": true,
|
|
"maintainers": [
|
|
{
|
|
"name": "ErickSkrauch",
|
|
"email": "erickskrauch@ely.by"
|
|
},
|
|
{
|
|
"name": "SleepWalker",
|
|
"email": "mybox@udf.su"
|
|
}
|
|
],
|
|
"license": "Apache-2.0",
|
|
"repository": "https://github.com/elyby/accounts-frontend",
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"tests-e2e"
|
|
],
|
|
"scripts": {
|
|
"start": "yarn run clean && yarn run build:dll && webpack-dev-server --colors",
|
|
"clean": "rm -rf ./build && mkdir ./build",
|
|
"e2e": "yarn --cwd ./tests-e2e test",
|
|
"test": "jest",
|
|
"test:watch": "yarn test --watch",
|
|
"lint": "eslint --ext js,ts,tsx --fix .",
|
|
"lint:check": "eslint --ext js,ts,tsx --quiet .",
|
|
"prettier": "prettier --write .",
|
|
"prettier:check": "prettier --check .",
|
|
"ts:check": "tsc",
|
|
"ci:check": "yarn lint:check && yarn ts:check && yarn test",
|
|
"analyze": "yarn run clean && yarn run build:webpack --analyze",
|
|
"i18n:collect": "babel-node --extensions \".ts\" ./packages/scripts/i18n-collect.ts",
|
|
"i18n:push": "babel-node --extensions \".ts\" ./packages/scripts/i18n-crowdin.ts push",
|
|
"i18n:pull": "babel-node --extensions \".ts\" ./packages/scripts/i18n-crowdin.ts pull",
|
|
"build": "yarn run clean && yarn run build:webpack",
|
|
"build:install": "yarn install",
|
|
"build:webpack": "NODE_ENV=production webpack --colors -p --bail",
|
|
"build:quiet": "yarn run clean && yarn run build:webpack --quiet",
|
|
"build:dll": "babel-node --extensions '.ts,.d.ts' ./packages/scripts/build-dll.ts",
|
|
"build:serve": "http-server --proxy https://dev.account.ely.by ./build",
|
|
"sb": "APP_ENV=storybook start-storybook -p 9009 --ci",
|
|
"sb:build": "APP_ENV=storybook build-storybook"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn ci:check"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{json,scss,css,md}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{js,ts,tsx}": [
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"jest": {
|
|
"roots": [
|
|
"<rootDir>/packages/app"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/jest/setupAfterEnv.js"
|
|
],
|
|
"resetMocks": 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"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-hot-loader": "^4.12.18",
|
|
"react-intl": "^4.5.5",
|
|
"regenerator-runtime": "^0.13.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.3",
|
|
"@babel/core": "^7.8.3",
|
|
"@babel/node": "^7.8.3",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
"@babel/plugin-proposal-do-expressions": "^7.8.3",
|
|
"@babel/plugin-proposal-export-default-from": "^7.8.3",
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
|
|
"@babel/plugin-proposal-function-bind": "^7.8.3",
|
|
"@babel/plugin-proposal-function-sent": "^7.8.3",
|
|
"@babel/plugin-proposal-json-strings": "^7.8.3",
|
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.8.3",
|
|
"@babel/plugin-proposal-numeric-separator": "^7.8.3",
|
|
"@babel/plugin-proposal-pipeline-operator": "^7.8.3",
|
|
"@babel/plugin-proposal-throw-expressions": "^7.8.3",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-syntax-import-meta": "^7.8.3",
|
|
"@babel/plugin-transform-runtime": "^7.8.3",
|
|
"@babel/preset-env": "^7.8.3",
|
|
"@babel/preset-react": "^7.8.3",
|
|
"@babel/preset-typescript": "^7.8.3",
|
|
"@babel/runtime-corejs3": "^7.8.3",
|
|
"@storybook/addon-actions": "^5.3.18",
|
|
"@storybook/addon-links": "^5.3.18",
|
|
"@storybook/addon-viewport": "^5.3.18",
|
|
"@storybook/addons": "^5.3.18",
|
|
"@storybook/react": "^5.3.18",
|
|
"@types/jest": "^25.2.3",
|
|
"@types/sinon": "^9.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
"@typescript-eslint/parser": "^2.34.0",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-react-intl": "^7.5.8",
|
|
"core-js": "3.6.5",
|
|
"csp-webpack-plugin": "^2.0.2",
|
|
"css-loader": "^3.5.3",
|
|
"cssnano": "^4.1.10",
|
|
"dotenv": "^8.2.0",
|
|
"eager-imports-webpack-plugin": "^1.0.0",
|
|
"eslint": "^7.0.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-jsdoc": "^25.4.2",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"exports-loader": "^0.7.0",
|
|
"file-loader": "^6.0.0",
|
|
"html-loader": "^1.1.0",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"husky": "^4.2.5",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"imports-loader": "^0.8.0",
|
|
"jest": "^26.0.1",
|
|
"jest-watch-typeahead": "^0.6.0",
|
|
"json-loader": "^0.5.4",
|
|
"lint-staged": "^10.2.4",
|
|
"loader-utils": "^2.0.0",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"node-sass": "^4.14.1",
|
|
"postcss-import": "^12.0.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-scss": "^2.1.1",
|
|
"prettier": "^2.0.5",
|
|
"raw-loader": "^4.0.1",
|
|
"sass-loader": "^8.0.2",
|
|
"sinon": "^9.0.2",
|
|
"sitemap-webpack-plugin": "^0.8.0",
|
|
"speed-measure-webpack-plugin": "^1.3.3",
|
|
"storybook-addon-intl": "^2.4.1",
|
|
"style-loader": "~1.2.1",
|
|
"typescript": "^3.9.3",
|
|
"unexpected": "^11.14.0",
|
|
"unexpected-sinon": "^10.5.1",
|
|
"url-loader": "^4.1.0",
|
|
"wait-on": "^5.0.0",
|
|
"webpack": "^4.41.5",
|
|
"webpack-bundle-analyzer": "^3.8.0",
|
|
"webpack-cli": "^3.3.10",
|
|
"webpack-dev-server": "^3.10.1",
|
|
"webpackbar": "^4.0.0"
|
|
}
|
|
}
|