mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-18 20:59:42 +02:00
* Updated highlight.js * Update .codexdocsrc.sample remove undefined page for a fresh new install * backend rewritten in TS * test -> TS, .added dockerignore, bug fixed * Removed compiled js files, eslint codex/ts added * fixed jsdocs warning, leaving editor confirmation * use path.resolve for DB paths * db drives updated + fixed User model * redundant cleared + style fixed * explicit type fixing * fixing testing code * added body block type * compiled JS files -> dist, fixed compiling errors * fixed compiling error, re-organized ts source code * updated Dockerfile * fixed link to parent page * up nodejs version * fix package name * fix deps Co-authored-by: nvc8996 <nvc.8996@gmail.com> Co-authored-by: Taly <vitalik7tv@yandex.ru>
138 lines
4.7 KiB
JSON
138 lines
4.7 KiB
JSON
{
|
|
"name": "codex.docs",
|
|
"license": "UNLICENSED",
|
|
"bin": {
|
|
"generatePassword": "bin/generatePassword.js"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions",
|
|
"> 1%"
|
|
],
|
|
"scripts": {
|
|
"start:ts": "cross-env NODE_ENV=production nodemon --config nodemon.json ./src/bin/server.ts",
|
|
"start:dev": "cross-env NODE_ENV=development nodemon --config nodemon.json ./src/bin/server.ts",
|
|
"test": "cross-env NODE_ENV=testing mocha --recursive ./dist/test --exit",
|
|
"test:ts": "cross-env NODE_ENV=testing ts-mocha ./src/test/*.ts ./src/test/**/*.ts --exit",
|
|
"lint": "eslint --fix --cache --ext .ts ./src/backend",
|
|
"build": "webpack ./src/frontend/js/app.js --o='./public/dist/[name].bundle.js' --output-library=Docs --output-public-path=/dist/ -p --mode=production",
|
|
"build:dev": "webpack ./src/frontend/js/app.js --o='./public/dist/[name].bundle.js' --output-library=Docs --output-public-path=/dist/ -p --mode=development --watch",
|
|
"precommit": "yarn lint && yarn test:ts",
|
|
"generatePassword:ts": "ts-node ./src/generatePassword.ts",
|
|
"generatePassword": "node ./dist/generatePassword.js",
|
|
"editor-upgrade": "yarn add -D @editorjs/{editorjs,header,code,delimiter,list,link,image,table,inline-code,marker,warning,checklist,raw}@latest",
|
|
"compile": "npx tsc"
|
|
},
|
|
"dependencies": {
|
|
"@editorjs/embed": "^2.5.0",
|
|
"bcrypt": "^5.0.1",
|
|
"commander": "^8.1.0",
|
|
"config": "^3.3.6",
|
|
"cookie-parser": "^1.4.5",
|
|
"cross-env": "^7.0.3",
|
|
"csurf": "^1.11.0",
|
|
"debug": "^4.3.2",
|
|
"dotenv": "^10.0.0",
|
|
"express": "^4.17.1",
|
|
"file-type": "^16.5.2",
|
|
"http-errors": "^1.8.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"mime": "^2.5.2",
|
|
"mkdirp": "^1.0.4",
|
|
"morgan": "^1.10.0",
|
|
"multer": "^1.4.2",
|
|
"nedb": "^1.8.0",
|
|
"node-fetch": "^2.6.1",
|
|
"nodemon": "^2.0.12",
|
|
"open-graph-scraper": "^4.9.0",
|
|
"ts-node": "^10.1.0",
|
|
"twig": "^1.15.4",
|
|
"typescript-eslint": "^0.0.1-alpha.0",
|
|
"uuid4": "^2.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/polyfill": "^7.2.5",
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@codexteam/misprints": "^1.0.0",
|
|
"@editorjs/checklist": "^1.3.0",
|
|
"@editorjs/code": "^2.7.0",
|
|
"@editorjs/delimiter": "^1.2.0",
|
|
"@editorjs/editorjs": "^2.23.0-rc.1",
|
|
"@editorjs/header": "^2.6.2",
|
|
"@editorjs/image": "^2.6.2",
|
|
"@editorjs/inline-code": "^1.3.1",
|
|
"@editorjs/link": "^2.3.1",
|
|
"@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/commander": "^2.12.2",
|
|
"@types/config": "^0.0.39",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/csurf": "^1.11.2",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/eslint": "^7.28.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/file-type": "^10.9.1",
|
|
"@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.1",
|
|
"@types/rimraf": "^3.0.1",
|
|
"@types/sinon": "^10.0.2",
|
|
"@types/twig": "^1.12.6",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.5",
|
|
"@typescript-eslint/parser": "^4.28.5",
|
|
"autoprefixer": "^9.1.3",
|
|
"babel": "^6.23.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-loader": "^8.0.2",
|
|
"chai": "^4.1.2",
|
|
"chai-http": "^4.0.0",
|
|
"css-loader": "^1.0.0",
|
|
"cssnano": "^4.1.0",
|
|
"eslint": "^7.31.0",
|
|
"eslint-config-codex": "^1.6.2",
|
|
"eslint-plugin-chai-friendly": "^0.4.1",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-node": "^8.0.1",
|
|
"highlight.js": "^11.1.0",
|
|
"husky": "^1.1.2",
|
|
"mini-css-extract-plugin": "^0.4.3",
|
|
"mocha": "^5.2.0",
|
|
"mocha-sinon": "^2.1.2",
|
|
"module-dispatcher": "^2.0.0",
|
|
"normalize.css": "^8.0.1",
|
|
"nyc": "^13.1.0",
|
|
"postcss": "^7.0.2",
|
|
"postcss-apply": "^0.11.0",
|
|
"postcss-color-hex-alpha": "^5.0.2",
|
|
"postcss-color-mod-function": "^3.0.3",
|
|
"postcss-custom-media": "^7.0.7",
|
|
"postcss-custom-properties": "^8.0.8",
|
|
"postcss-custom-selectors": "^5.1.2",
|
|
"postcss-font-family-system-ui": "^4.1.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-media-minmax": "^4.0.0",
|
|
"postcss-nested": "^4.1.0",
|
|
"postcss-nested-ancestors": "^2.0.0",
|
|
"postcss-nesting": "^7.0.0",
|
|
"postcss-smart-import": "^0.7.6",
|
|
"rimraf": "^3.0.2",
|
|
"sinon": "^11.1.2",
|
|
"ts-mocha": "^8.0.0",
|
|
"typescript": "^4.3.5",
|
|
"webpack": "^4.17.1",
|
|
"webpack-cli": "^3.1.0"
|
|
}
|
|
}
|