-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 5.04 KB
/
package.json
File metadata and controls
163 lines (163 loc) · 5.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "the_platform",
"description": "The Platform. Scalable frontend framework for configuring complex medium and large SPA projects.",
"author": "Eugene Zlobin <creastar@gmail.com>",
"version": "1.0.0",
"license": "MIT",
"repository": {
"url": "git+https://github.com/InitialByte/the-platform.git",
"type": "git"
},
"source": "./src/react/web-desktop/src/index.tsx",
"main": "./dist/index.js",
"types": "./src/@types/",
"sideEffects": false,
"private": true,
"files": [
"./dist"
],
"//": "THIS IS WEB-APP SETTINGS",
"config": {
"devServer": {
"host": "localhost",
"port": "8008"
},
"apiProxyServer": {
"//": "local, external, false",
"type": "local",
"protocol": "http",
"host": "localhost",
"port": "80"
},
"app": {
"settings": {
"hasServerTracking": true,
"defaultLanguage": "en_us",
"availableLanguages": [
"en_us",
"ru_ru"
]
},
"dependencies": {
"frontend": {
"client": [
"auth"
],
"admin": [
"adminpanel"
]
}
}
}
},
"workspaces": [
"./src/modules/*",
"./src/react/*",
"./src/*"
],
"engines": {
"node": ">= 12.13",
"npm": ">= 5.6",
"yarn": "^2"
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint --fix"
]
},
"scripts": {
"go": "cd ./configs && docker-compose up --build --remove-orphans",
"storybook": "yarn workspace @the_platform/storybook start",
"swagger": "yarn workspace @the_platform/swagger start",
"apimock": "cross-env TZ=Asia/Novosibirsk yarn workspace @the_platform/apimock start",
"smoke": "yarn workspace @the_platform/smoke start",
"start": "cross-env NODE_ENV=development webpack serve --config ./configs/webpack/dev.js",
"build": "time cross-env NODE_ENV=production TZ=Asia/Novosibirsk webpack --progress --config ./configs/webpack/prod.js",
"stats": "webpack --json --config ./configs/webpack/prod.js > stats.json",
"lint": "yarn eslint \"./src/@(core|modules|react)/**/*.@(ts|tsx)\" --ignore-pattern \"*.test.*\" --cache --cache-location ./.cache",
"prettier": "prettier --write '**/*.{ts,tsx,scss}'",
"tslint": "yarn run tsc --noEmitOnError",
"check": "yarn tslint && yarn lint && yarn test",
"upgrade": "yarn upgrade-interactive",
"test": "yarn workspace @the_platform/core test",
"postinstall": "husky install",
"precommit": "pretty-quick --staged && yarn lint-staged && yarn test"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-function-name": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.12.5",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"@yarnpkg/pnpify": "^2.4.0",
"autoprefixer": "^10.2.1",
"babel-loader": "^8.2.2",
"babel-plugin-react-generate-property": "^1.0.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"circular-dependency-plugin": "^5.2.2",
"clean-webpack-plugin": "^3.0.0",
"compression-webpack-plugin": "^7.1.2",
"copy-webpack-plugin": "^7.0.0",
"core-js": "^3.8.2",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"enzyme": "^3.11.0",
"eslint": "^7.18.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-optimize-regex": "^1.2.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sonarjs": "^0.5.0",
"html-webpack-plugin": "^4.5.1",
"husky": "^5.0.6",
"lint-staged": "^10.5.3",
"postcss": "^8.2.4",
"postcss-js": "^3.0.3",
"postcss-loader": "^4.1.0",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react": "^17.0.1",
"regenerator-runtime": "^0.13.7",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"typescript": "4.1.3",
"webpack": "^5.15.0",
"webpack-cli": "^4.3.1",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3"
},
"resolutions": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.11",
"@types/react-router-dom": "^5.1.6",
"react": "^17.0.1"
},
"dependenciesMeta": {
"@storybook/core": {
"unplugged": true
},
"opn": {
"unplugged": true
}
},
"dependencies": {
"csstype": "^3.0.6",
"i18next": "^19.8.4",
"redux": "^4.0.5"
}
}