2015-07-12 15:01:42 -04:00
|
|
|
{
|
|
|
|
"private": true,
|
2016-10-30 13:44:00 -04:00
|
|
|
"scripts": {
|
2022-05-12 12:27:29 -04:00
|
|
|
"build:css:dev": "sass ./resources/sass:./public/dist --embed-sources",
|
|
|
|
"build:css:watch": "sass ./resources/sass:./public/dist --watch --embed-sources",
|
2020-06-27 11:52:26 -04:00
|
|
|
"build:css:production": "sass ./resources/sass:./public/dist -s compressed",
|
2022-04-13 07:08:56 -04:00
|
|
|
"build:js:dev": "node dev/build/esbuild.js",
|
2024-05-28 10:09:50 -04:00
|
|
|
"build:js:watch": "chokidar --initial \"./resources/**/*.js\" \"./resources/**/*.mjs\" \"./resources/**/*.ts\" -c \"npm run build:js:dev\"",
|
2022-04-13 07:08:56 -04:00
|
|
|
"build:js:production": "node dev/build/esbuild.js production",
|
2020-06-27 11:52:26 -04:00
|
|
|
"build": "npm-run-all --parallel build:*:dev",
|
|
|
|
"production": "npm-run-all --parallel build:*:production",
|
2018-03-17 09:03:13 -04:00
|
|
|
"dev": "npm-run-all --parallel watch livereload",
|
2020-06-27 11:52:26 -04:00
|
|
|
"watch": "npm-run-all --parallel build:*:watch",
|
2018-03-17 09:03:13 -04:00
|
|
|
"livereload": "livereload ./public/dist/",
|
2023-04-18 17:19:27 -04:00
|
|
|
"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 15:01:42 -04:00
|
|
|
},
|
2016-10-30 13:44:00 -04:00
|
|
|
"devDependencies": {
|
2023-12-09 05:49:28 -05:00
|
|
|
"@lezer/generator": "^1.5.1",
|
2021-11-04 19:07:36 -04:00
|
|
|
"chokidar-cli": "^3.0",
|
2024-02-20 13:21:59 -05:00
|
|
|
"esbuild": "^0.20",
|
2023-12-09 05:49:28 -05:00
|
|
|
"eslint": "^8.55.0",
|
2023-04-18 17:19:27 -04:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2023-12-09 05:49:28 -05:00
|
|
|
"eslint-plugin-import": "^2.29.0",
|
2021-04-06 16:55:49 -04:00
|
|
|
"livereload": "^0.9.3",
|
2018-11-27 16:47:34 -05:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-05-27 18:50:28 -04:00
|
|
|
"sass": "^1.69.5",
|
|
|
|
"typescript": "^5.4.5"
|
2017-04-14 13:47:33 -04:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-12-09 05:49:28 -05:00
|
|
|
"@codemirror/commands": "^6.3.2",
|
2023-08-19 15:21:12 -04:00
|
|
|
"@codemirror/lang-css": "^6.2.1",
|
2023-12-09 05:49:28 -05:00
|
|
|
"@codemirror/lang-html": "^6.4.7",
|
|
|
|
"@codemirror/lang-javascript": "^6.2.1",
|
2023-04-14 13:08:57 -04:00
|
|
|
"@codemirror/lang-json": "^6.0.1",
|
2023-12-09 05:49:28 -05:00
|
|
|
"@codemirror/lang-markdown": "^6.2.3",
|
2023-04-16 18:48:45 -04:00
|
|
|
"@codemirror/lang-php": "^6.0.1",
|
2023-04-16 11:05:16 -04:00
|
|
|
"@codemirror/lang-xml": "^6.0.2",
|
2023-12-09 05:49:28 -05:00
|
|
|
"@codemirror/language": "^6.9.3",
|
2023-08-19 15:21:12 -04:00
|
|
|
"@codemirror/legacy-modes": "^6.3.3",
|
2023-12-09 05:49:28 -05:00
|
|
|
"@codemirror/state": "^6.3.3",
|
2023-08-19 15:21:12 -04:00
|
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
2023-12-09 05:49:28 -05:00
|
|
|
"@codemirror/view": "^6.22.2",
|
2024-05-27 10:39:41 -04:00
|
|
|
"@lexical/history": "^0.15.0",
|
|
|
|
"@lexical/html": "^0.15.0",
|
2024-05-29 15:38:31 -04:00
|
|
|
"@lexical/link": "^0.15.0",
|
2024-06-19 11:14:20 -04:00
|
|
|
"@lexical/list": "^0.15.0",
|
2024-05-27 10:39:41 -04:00
|
|
|
"@lexical/rich-text": "^0.15.0",
|
2024-05-27 15:23:45 -04:00
|
|
|
"@lexical/selection": "^0.15.0",
|
2024-06-21 08:47:47 -04:00
|
|
|
"@lexical/table": "^0.15.0",
|
2024-05-27 10:39:41 -04:00
|
|
|
"@lexical/utils": "^0.15.0",
|
2023-12-09 05:49:28 -05:00
|
|
|
"@lezer/highlight": "^1.2.0",
|
2023-03-21 16:53:35 -04:00
|
|
|
"@ssddanbrown/codemirror-lang-smarty": "^1.0.0",
|
|
|
|
"@ssddanbrown/codemirror-lang-twig": "^1.0.0",
|
2022-08-02 15:11:02 -04:00
|
|
|
"codemirror": "^6.0.1",
|
2023-08-22 14:30:39 -04:00
|
|
|
"idb-keyval": "^6.2.1",
|
2024-05-27 10:39:41 -04:00
|
|
|
"lexical": "^0.15.0",
|
2024-04-08 09:41:51 -04:00
|
|
|
"markdown-it": "^14.1.0",
|
2018-11-04 10:40:10 -05:00
|
|
|
"markdown-it-task-lists": "^2.1.1",
|
2023-01-21 14:09:19 -05:00
|
|
|
"snabbdom": "^3.5.1",
|
2023-12-09 05:49:28 -05:00
|
|
|
"sortablejs": "^1.15.1"
|
2023-04-18 17:19:27 -04:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"root": true,
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"extends": "airbnb-base",
|
2023-04-19 10:20:04 -04:00
|
|
|
"ignorePatterns": [
|
2024-05-27 18:50:28 -04:00
|
|
|
"resources/**/*-stub.js",
|
|
|
|
"resources/**/*.ts"
|
2023-04-18 17:19:27 -04:00
|
|
|
],
|
2023-04-19 10:20:04 -04:00
|
|
|
"overrides": [],
|
2023-04-18 17:19:27 -04:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"rules": {
|
2023-04-19 10:20:04 -04:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"arrow-parens": [
|
|
|
|
"error",
|
|
|
|
"as-needed"
|
|
|
|
],
|
|
|
|
"padded-blocks": [
|
|
|
|
"error",
|
|
|
|
{
|
2023-04-18 17:19:27 -04:00
|
|
|
"blocks": "never",
|
|
|
|
"classes": "always"
|
2023-04-19 10:20:04 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"space-before-function-paren": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"anonymous": "never",
|
|
|
|
"named": "never",
|
|
|
|
"asyncArrow": "always"
|
|
|
|
}
|
|
|
|
],
|
2023-04-19 05:46:13 -04:00
|
|
|
"import/prefer-default-export": "off",
|
2023-04-19 10:20:04 -04:00
|
|
|
"no-plusplus": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allowForLoopAfterthoughts": true
|
|
|
|
}
|
|
|
|
],
|
2023-04-19 05:46:13 -04:00
|
|
|
"arrow-body-style": "off",
|
|
|
|
"no-restricted-syntax": "off",
|
|
|
|
"no-continue": "off",
|
2023-04-19 10:20:04 -04:00
|
|
|
"prefer-destructuring": "off",
|
|
|
|
"class-methods-use-this": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-console": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"error",
|
|
|
|
"warn"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-new": "off",
|
|
|
|
"max-len": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"code": 110,
|
|
|
|
"tabWidth": 4,
|
|
|
|
"ignoreUrls": true,
|
|
|
|
"ignoreComments": false,
|
|
|
|
"ignoreRegExpLiterals": true,
|
|
|
|
"ignoreStrings": true,
|
|
|
|
"ignoreTemplateLiterals": true
|
|
|
|
}
|
|
|
|
]
|
2023-04-18 17:19:27 -04:00
|
|
|
}
|
2015-07-12 15:01:42 -04:00
|
|
|
}
|
|
|
|
}
|