-
Notifications
You must be signed in to change notification settings - Fork 74
/
package.json
147 lines (147 loc) · 4.97 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
{
"name": "codex.docs",
"license": "Apache-2.0",
"version": "2.2.3",
"type": "module",
"bin": {
"codex.docs": "dist/backend/app.js"
},
"browserslist": [
"last 2 versions",
"> 1%"
],
"scripts": {
"start": "concurrently \"yarn start-backend\" \"yarn build-frontend\"",
"dev": "concurrently \"yarn start-backend\" \"yarn build-frontend:dev\"",
"build-all": "yarn build-frontend && yarn build-backend",
"build-static": "ts-node src/backend/app.ts build-static -c docs-config.yaml -c docs-config.local.yaml",
"start-backend": "cross-env NODE_ENV=development npx nodemon --config nodemon.json src/backend/app.ts -c docs-config.yaml -c docs-config.local.yaml",
"build-backend": "tsc && copyfiles -u 3 ./src/**/*.twig ./dist/backend/views && copyfiles -u 1 ./src/**/*.svg ./dist/",
"build-frontend": "webpack --mode=production",
"build-frontend:dev": "webpack --mode=development --watch",
"test:js": "cross-env NODE_ENV=testing mocha --recursive ./dist/test --exit",
"test": "cross-env NODE_ENV=testing ts-mocha -n loader=ts-node/esm ./src/test/*.ts ./src/test/**/*.ts --exit ",
"lint": "eslint --fix --ext .ts ./src/backend",
"editor-upgrade": "yarn add -D @editorjs/{editorjs,header,code,delimiter,list,link,image,table,inline-code,marker,warning,checklist,raw}@latest"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.181.0",
"@codex-team/config-loader": "0.1.0-rc1",
"@codexteam/shortcuts": "^1.2.0",
"@hawk.so/javascript": "^3.0.1",
"@hawk.so/nodejs": "^3.1.4",
"@types/multer-s3": "^3.0.0",
"@types/yargs": "^17.0.13",
"arg": "^5.0.2",
"cookie-parser": "^1.4.5",
"csurf": "^1.11.0",
"debug": "^4.3.2",
"express": "^4.17.1",
"file-type": "^16.5.4",
"fs-extra": "^10.1.0",
"http-errors": "^2.0.0",
"jsonwebtoken": "^8.5.1",
"mime": "^3.0.0",
"mkdirp": "^1.0.4",
"mongodb": "^4.10.0",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"multer-s3": "^3.0.1",
"nedb": "^1.8.0",
"node-cache": "^5.1.2",
"node-fetch": "^3.2.10",
"open-graph-scraper": "^4.9.0",
"twig": "^1.15.4",
"uuid4": "^2.0.2",
"yargs": "^17.6.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.11",
"@codexteam/misprints": "^1.0.0",
"@editorjs/checklist": "^1.3.0",
"@editorjs/code": "^2.7.0",
"@editorjs/delimiter": "^1.2.0",
"@editorjs/editorjs": "^2.25.0",
"@editorjs/embed": "^2.5.1",
"@editorjs/header": "^2.6.2",
"@editorjs/image": "^2.6.2",
"@editorjs/inline-code": "^1.3.1",
"@editorjs/link": "^2.4.0",
"@editorjs/list": "^1.6.2",
"@editorjs/marker": "^1.2.2",
"@editorjs/raw": "^2.3.0",
"@editorjs/table": "^2.0.1",
"@editorjs/warning": "^1.2.0",
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.2.21",
"@types/config": "^0.0.39",
"@types/cookie-parser": "^1.4.2",
"@types/csurf": "^1.11.2",
"@types/debug": "^4.1.7",
"@types/express": "^4.17.13",
"@types/file-type": "^10.9.1",
"@types/fs-extra": "^9.0.13",
"@types/jsonwebtoken": "^8.5.4",
"@types/mime": "^2.0.3",
"@types/mkdirp": "^1.0.2",
"@types/mocha": "^9.0.0",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/nedb": "^1.8.12",
"@types/node": "^16.4.1",
"@types/node-fetch": "^2.5.12",
"@types/open-graph-scraper": "^4.8.2",
"@types/rimraf": "^3.0.1",
"@types/sinon": "^10.0.2",
"@types/twig": "^1.12.6",
"autoprefixer": "^10.4.2",
"babel": "^6.23.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.2.3",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"concurrently": "^7.1.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.0",
"cssnano": "^5.1.0",
"eslint": "^8.24.0",
"eslint-config-codex": "^1.7.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"highlight.js": "^11.1.0",
"mini-css-extract-plugin": "^2.6.0",
"mocha": "^10.0.0",
"mocha-sinon": "^2.1.2",
"module-dispatcher": "^2.0.0",
"normalize.css": "^8.0.1",
"nyc": "^13.1.0",
"postcss": "^8.4.7",
"postcss-apply": "^0.12.0",
"postcss-color-hex-alpha": "^8.0.3",
"postcss-color-mod-function": "^3.0.3",
"postcss-custom-media": "^8.0.0",
"postcss-custom-properties": "^12.1.4",
"postcss-custom-selectors": "^6.0.0",
"postcss-font-family-system-ui": "^5.0.0",
"postcss-loader": "^6.2.1",
"postcss-media-minmax": "^5.0.0",
"postcss-nested": "^5.0.6",
"postcss-nested-ancestors": "^2.0.0",
"postcss-nesting": "^10.1.3",
"postcss-smart-import": "^0.7.6",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
}
}