mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-13 05:42:30 +03:00
- Updated esbuild system to be module, and fixed build command. - Reverted module use in package.json by default as this impacted test runs/files. - Updated mention user select: - To look better in dark mode. - To not remove text after on select. - To properly revert/restore focus on enter or cancel.
63 lines
2.3 KiB
JSON
63 lines
2.3 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build:css:dev": "sass ./resources/sass:./public/dist --embed-sources",
|
|
"build:css:watch": "sass ./resources/sass:./public/dist --watch --embed-sources",
|
|
"build:css:production": "sass ./resources/sass:./public/dist -s compressed",
|
|
"build:js:dev": "node dev/build/esbuild.mjs",
|
|
"build:js:watch": "node dev/build/esbuild.mjs watch",
|
|
"build:js:production": "node dev/build/esbuild.mjs production",
|
|
"build": "npm-run-all --parallel build:*:dev",
|
|
"production": "npm-run-all --parallel build:*:production",
|
|
"dev": "npm-run-all --parallel build:*:watch",
|
|
"watch": "npm-run-all --parallel build:*:watch",
|
|
"permissions": "chown -R $USER:$USER bootstrap/cache storage public/uploads",
|
|
"lint": "eslint \"resources/**/*.js\" \"resources/**/*.mjs\"",
|
|
"fix": "eslint --fix \"resources/**/*.js\" \"resources/**/*.mjs\"",
|
|
"ts:lint": "tsc --noEmit",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@lezer/generator": "^1.8.0",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/sortablejs": "^1.15.9",
|
|
"chokidar-cli": "^3.0",
|
|
"esbuild": "^0.27.0",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"jest": "^30.2.0",
|
|
"jest-environment-jsdom": "^30.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"sass": "^1.94.2",
|
|
"ts-jest": "^29.4.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.9.*"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.10.0",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-html": "^6.4.11",
|
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
"@codemirror/lang-php": "^6.0.2",
|
|
"@codemirror/lang-xml": "^6.1.0",
|
|
"@codemirror/language": "^6.11.3",
|
|
"@codemirror/legacy-modes": "^6.5.2",
|
|
"@codemirror/state": "^6.5.2",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.38.8",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@ssddanbrown/codemirror-lang-smarty": "^1.0.0",
|
|
"@ssddanbrown/codemirror-lang-twig": "^1.0.0",
|
|
"@types/jest": "^30.0.0",
|
|
"codemirror": "^6.0.2",
|
|
"idb-keyval": "^6.2.2",
|
|
"markdown-it": "^14.1.0",
|
|
"markdown-it-task-lists": "^2.1.1",
|
|
"snabbdom": "^3.6.3",
|
|
"sortablejs": "^1.15.6"
|
|
}
|
|
}
|