-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
200 lines (200 loc) · 6.26 KB
/
package.json
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "truthy-react-cms",
"description": "Truthy CMS starter template for React",
"version": "0.3.1",
"license": "MIT",
"author": "gobeam <[email protected]>",
"keywords": [
"truthy",
"truthy cms",
"redux-saga",
"redux",
"fullstack project",
"cms",
"content management system",
"react",
"webpack",
"ii8n translation",
"react dashboard",
"react admin template",
"free react",
"react ui library",
"antd",
"react-antd",
"opensource cms"
],
"bin": "./bin/cli.js",
"scripts": {
"prebuild": "npm run build:clean",
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color --progress",
"build:clean": "rimraf ./build",
"start": "cross-env NODE_ENV=development node server",
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server",
"start:production": "npm run build && npm run start:prod",
"start:prod": "cross-env NODE_ENV=production node server",
"presetup": "npm i chalk shelljs",
"setup": "node ./internals/scripts/setup.js",
"clean": "shjs ./internals/scripts/clean.js",
"clean:all": "npm run analyze:clean && npm run test:clean && npm run build:clean",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint app/**/*.js",
"lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts",
"lint:eslint:fix": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts --fix",
"lint:js": "npm run lint:eslint -- . ",
"lint:js:fix": "npm run lint:eslint:fix -- . ",
"lint:staged": "lint-staged",
"prettify": "prettier --write",
"pretest": "npm run test:clean && npm run lint",
"test:clean": "rimraf ./coverage",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watchAll"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@ant-design/charts": "^1.3.4",
"@ant-design/icons": "^4.7.0",
"@babel/polyfill": "^7.12.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"antd": "^4.18.4",
"axios": "^0.25.0",
"chalk": "^4.1.0",
"circular-dependency-plugin": "^5.2.2",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"dompurify": "^2.3.4",
"draft-js": "^0.11.7",
"draftjs-to-html": "^0.9.1",
"eslint-import-resolver-webpack": "^0.13.2",
"express": "^4.17.2",
"history": "^5.2.0",
"hoist-non-react-statics": "^3.3.2",
"html-to-draftjs": "^1.5.0",
"html-to-react": "^1.4.7",
"immer": "^9.0.12",
"immutable": "^4.0.0",
"imports-loader": "^3.1.1",
"ip": "^1.1.5",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"moment-timezone": "^0.5.34",
"ngrok": "^4.3.0",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-draft-wysiwyg": "^1.14.7",
"react-error-boundary": "^3.1.4",
"react-github-btn": "^1.2.1",
"react-helmet": "^6.1.0",
"react-intl": "^5.24.3",
"react-redux": "^7.2.6",
"react-router-dom": "^6.2.1",
"react-slick": "^0.28.1",
"react-uuid": "^1.0.2",
"redux": "^4.1.2",
"redux-saga": "^1.1.3",
"reselect": "^4.1.5",
"sanitize.css": "^13.0.0",
"sass": "^1.57.1",
"slick-carousel": "^1.8.1",
"styled-components": "^5.3.3",
"url-loader": "^4.1.1",
"web-vitals": "^2.1.3"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.16.5",
"@babel/eslint-plugin": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
"@babel/plugin-transform-react-constant-elements": "^7.16.7",
"@babel/plugin-transform-react-inline-elements": "^7.16.7",
"@babel/preset-env": "^7.16.8",
"@babel/preset-react": "^7.16.7",
"@babel/register": "^7.16.9",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-formatjs": "^10.3.15",
"babel-plugin-import": "^1.13.5",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-react-intl": "^8.2.25",
"babel-plugin-styled-components": "^2.0.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"compare-versions": "^4.1.3",
"compression-webpack-plugin": "^9.2.0",
"coveralls": "^3.1.1",
"dotenv-webpack": "^7.0.3",
"eslint": "^8.7.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-redux-saga": "^1.3.2",
"file-loader": "^6.2.0",
"html-loader": "^3.1.0",
"html-webpack-plugin": "^5.5.0",
"image-webpack-loader": "^8.1.0",
"jest-cli": "^27.4.7",
"jest-dom": "^4.0.0",
"jest-styled-components": "^7.0.8",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^12.2.0",
"node-plop": "^0.30.0",
"null-loader": "^4.0.1",
"plop": "^3.0.5",
"pre-commit": "^1.2.2",
"prettier": "^2.5.1",
"react-app-polyfill": "^3.0.0",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"sass-loader": "^12.4.0",
"shelljs": "^0.8.5",
"style-loader": "^3.3.1",
"stylelint": "^14.2.0",
"svg-url-loader": "^7.1.1",
"terser-webpack-plugin": "^5.3.0",
"webpack": "^5.66.0",
"webpack-cli": "^4.9.1",
"webpack-dev-middleware": "^5.3.0",
"webpack-hot-middleware": "^2.25.1",
"webpack-pwa-manifest": "^4.3.0"
},
"lint-staged": {
"*.js": [
"npm run lint:eslint:fix",
"git add --force"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"pre-commit": "lint:staged"
}