BookStack/package.json

83 lines
2.7 KiB
JSON
Raw Normal View History

2015-07-12 21:01:42 +02:00
{
"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.js",
"build:js:watch": "chokidar --initial \"./resources/**/*.js\" \"./resources/**/*.mjs\" -c \"npm run build:js:dev\"",
"build:js:production": "node dev/build/esbuild.js production",
"build": "npm-run-all --parallel build:*:dev",
"production": "npm-run-all --parallel build:*:production",
"dev": "npm-run-all --parallel watch livereload",
"watch": "npm-run-all --parallel build:*:watch",
"livereload": "livereload ./public/dist/",
"permissions": "chown -R $USER:$USER bootstrap/cache storage public/uploads",
"lint": "eslint \"resources/**/*.js\" \"resources/**/*.mjs\"",
"fix": "eslint --fix \"resources/**/*.js\" \"resources/**/*.mjs\""
2015-07-12 21:01:42 +02:00
},
"devDependencies": {
"@lezer/generator": "^1.2.2",
2021-11-05 00:07:36 +01:00
"chokidar-cli": "^3.0",
"esbuild": "^0.17.16",
"eslint": "^8.38.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
2021-04-06 22:55:49 +02:00
"livereload": "^0.9.3",
2018-11-27 22:47:34 +01:00
"npm-run-all": "^4.1.5",
2023-01-21 20:09:19 +01:00
"punycode": "^2.3.0",
"sass": "^1.62.0"
},
"dependencies": {
"@codemirror/commands": "^6.2.2",
"@codemirror/lang-css": "^6.1.1",
"@codemirror/lang-html": "^6.4.3",
"@codemirror/lang-javascript": "^6.1.6",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-markdown": "^6.1.1",
"@codemirror/lang-php": "^6.0.1",
"@codemirror/lang-xml": "^6.0.2",
"@codemirror/language": "^6.6.0",
"@codemirror/legacy-modes": "^6.3.2",
"@codemirror/state": "^6.2.0",
"@codemirror/theme-one-dark": "^6.1.1",
"@codemirror/view": "^6.9.4",
"@ssddanbrown/codemirror-lang-smarty": "^1.0.0",
"@ssddanbrown/codemirror-lang-twig": "^1.0.0",
"codemirror": "^6.0.1",
2021-11-05 00:07:36 +01:00
"dropzone": "^5.9.3",
2022-05-30 18:01:32 +02:00
"markdown-it": "^13.0.1",
2018-11-04 16:40:10 +01:00
"markdown-it-task-lists": "^2.1.1",
2023-01-21 20:09:19 +01:00
"snabbdom": "^3.5.1",
"sortablejs": "^1.15.0"
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"es2021": true
},
"extends": "airbnb-base",
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"indent": ["error", 4],
"arrow-parens": ["error", "as-needed"],
"padded-blocks": ["error", {
"blocks": "never",
"classes": "always"
}],
"object-curly-spacing": ["error", "never"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}]
}
2015-07-12 21:01:42 +02:00
}
}