2017-12-15 10:15:04 +08:00
|
|
|
{
|
|
|
|
|
"name": "discourse",
|
2024-02-26 13:45:58 +00:00
|
|
|
"private": true,
|
2023-06-30 13:01:45 +02:00
|
|
|
"repository": "https://github.com/discourse/discourse",
|
2017-12-15 10:15:04 +08:00
|
|
|
"author": "Discourse",
|
2020-04-29 12:18:21 -04:00
|
|
|
"license": "GPL-2.0-only",
|
2023-06-30 13:01:45 +02:00
|
|
|
"devDependencies": {
|
2024-10-23 00:28:54 +02:00
|
|
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
2025-02-24 23:32:31 +01:00
|
|
|
"@discourse/lint-configs": "^2.7.0",
|
2023-08-24 16:36:22 +02:00
|
|
|
"@discourse/moment-timezone-names-translations": "^1.0.0",
|
2025-01-14 11:19:25 +08:00
|
|
|
"@fortawesome/fontawesome-free": "6.7.2",
|
2025-02-04 17:32:00 +00:00
|
|
|
"@glint/core": "1.4.1-unstable.34c4510",
|
|
|
|
|
"@glint/environment-ember-loose": "1.4.1-unstable.34c4510",
|
|
|
|
|
"@glint/environment-ember-template-imports": "1.4.1-unstable.34c4510",
|
|
|
|
|
"@glint/template": "1.4.1-unstable.34c4510",
|
2023-06-30 13:01:45 +02:00
|
|
|
"@mixer/parallel-prettier": "^2.0.3",
|
2025-02-25 23:02:25 +01:00
|
|
|
"@swc/core": "^1.11.1",
|
2021-08-23 13:49:49 +02:00
|
|
|
"chart.js": "3.5.1",
|
2023-06-29 17:08:33 +02:00
|
|
|
"chartjs-plugin-datalabels": "2.2.0",
|
2024-06-13 13:34:34 +08:00
|
|
|
"chrome-launcher": "^1.1.2",
|
2025-02-19 21:39:55 +01:00
|
|
|
"chrome-remote-interface": "^0.33.3",
|
2025-01-02 12:29:47 +01:00
|
|
|
"concurrently": "^9.1.2",
|
2025-02-19 19:27:25 +01:00
|
|
|
"ember-template-lint": "6.1.0",
|
2025-02-12 11:22:27 +01:00
|
|
|
"esbuild": "^0.25.0",
|
2025-02-19 19:27:25 +01:00
|
|
|
"eslint": "9.20.1",
|
2024-10-21 14:05:01 +02:00
|
|
|
"jsdoc": "^4.0.4",
|
2025-02-25 23:02:35 +01:00
|
|
|
"lefthook": "^1.11.1",
|
2024-12-02 00:34:19 +01:00
|
|
|
"licensee": "^11.1.1",
|
2025-01-08 23:58:30 +01:00
|
|
|
"lint-to-the-future": "^2.6.2",
|
2024-12-08 22:49:32 +01:00
|
|
|
"lint-to-the-future-ember-template": "^3.0.0",
|
2025-02-12 10:49:01 +01:00
|
|
|
"lint-to-the-future-eslint": "^3.0.0",
|
2023-06-30 13:01:45 +02:00
|
|
|
"magnific-popup": "1.1.0",
|
2024-03-11 03:04:51 +01:00
|
|
|
"moment": "2.30.1",
|
2024-03-10 20:46:09 -04:00
|
|
|
"moment-timezone": "0.5.45",
|
2023-08-24 13:25:44 +01:00
|
|
|
"pikaday": "1.8.2",
|
2025-02-19 19:27:25 +01:00
|
|
|
"prettier": "2.8.8",
|
2025-02-24 23:21:06 +01:00
|
|
|
"puppeteer-core": "^24.3.0",
|
2024-09-03 13:52:37 +01:00
|
|
|
"squoosh": "https://codeload.github.com/discourse/squoosh/tar.gz/dc9649d",
|
2025-02-19 19:27:25 +01:00
|
|
|
"stylelint": "16.14.1",
|
2025-02-13 23:28:35 +01:00
|
|
|
"terser": "^5.39.0",
|
2025-02-04 17:32:00 +00:00
|
|
|
"typescript": "5.6.x"
|
2018-11-05 15:10:27 -05:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2024-03-05 18:25:46 -06:00
|
|
|
"dev": "concurrently \"bin/ember-cli server --environment=development\" \"RAILS_ENV=development bin/rails server\"",
|
2023-04-06 12:25:01 -04:00
|
|
|
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
2025-01-20 15:27:42 +00:00
|
|
|
"lint:css": "pnpm stylelint 'app/assets/stylesheets/**/*.scss' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss')",
|
|
|
|
|
"lint:css:fix": "pnpm stylelint --fix 'app/assets/stylesheets/**/*.scss' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss')",
|
2023-04-06 12:25:01 -04:00
|
|
|
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
2024-11-19 18:56:14 +00:00
|
|
|
"lint:js": "eslint ./app/assets/javascripts $(script/list_bundled_plugins) --cache --no-error-on-unmatched-pattern",
|
|
|
|
|
"lint:js:fix": "eslint --fix ./app/assets/javascripts $(script/list_bundled_plugins) --no-error-on-unmatched-pattern",
|
2024-12-02 18:13:40 +00:00
|
|
|
"lint:hbs": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}'",
|
|
|
|
|
"lint:hbs:fix": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}' --fix",
|
2025-01-08 15:26:18 +00:00
|
|
|
"lint:prettier": "pnpm pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}')",
|
|
|
|
|
"lint:prettier:fix": "pnpm prettier -w 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}')",
|
2023-04-06 12:25:01 -04:00
|
|
|
"lttf:ignore": "lint-to-the-future ignore",
|
|
|
|
|
"lttf:output": "lint-to-the-future output -o ./lint-progress/",
|
2024-09-03 10:51:07 +01:00
|
|
|
"lint-progress": "pnpm lttf:output && npx html-pages ./lint-progress --no-cache",
|
|
|
|
|
"ember": "pnpm --dir=app/assets/javascripts/discourse ember"
|
2021-08-04 22:04:58 +02:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2024-02-27 10:48:30 +01:00
|
|
|
"node": ">= 18",
|
2024-09-03 10:51:07 +01:00
|
|
|
"npm": "please-use-pnpm",
|
|
|
|
|
"yarn": "please-use-pnpm",
|
2025-02-04 09:18:15 +00:00
|
|
|
"pnpm": "^9"
|
2024-09-03 10:51:07 +01:00
|
|
|
},
|
2025-02-10 14:18:52 +01:00
|
|
|
"packageManager": "pnpm@9.15.5",
|
2024-09-03 10:51:07 +01:00
|
|
|
"pnpm": {
|
|
|
|
|
"patchedDependencies": {
|
|
|
|
|
"ember-this-fallback@0.4.0": "patches/ember-this-fallback@0.4.0.patch",
|
|
|
|
|
"babel-plugin-debug-macros@0.3.4": "patches/babel-plugin-debug-macros@0.3.4.patch",
|
|
|
|
|
"virtual-dom@2.1.1": "patches/virtual-dom@2.1.1.patch",
|
2024-12-02 00:34:19 +01:00
|
|
|
"licensee@11.1.1": "patches/licensee@11.1.1.patch",
|
2025-02-03 17:59:41 +01:00
|
|
|
"content-tag@3.1.1": "patches/content-tag@3.1.1.patch",
|
2024-12-11 11:09:25 -03:00
|
|
|
"@ember-compat/tracked-built-ins@0.9.1": "patches/@ember-compat__tracked-built-ins@0.9.1.patch",
|
|
|
|
|
"ember-source@5.12.0": "patches/ember-source@5.12.0.patch"
|
2024-09-03 10:51:07 +01:00
|
|
|
},
|
|
|
|
|
"peerDependencyRules": {
|
|
|
|
|
"allowedVersions": {
|
|
|
|
|
"lint-to-the-future-eslint>eslint": "*",
|
|
|
|
|
"@mixer/parallel-prettier>prettier": "*",
|
|
|
|
|
"lint-to-the-future-ember-template>ember-template-lint": "*",
|
|
|
|
|
"ember-this-fallback>ember-source": "*"
|
|
|
|
|
},
|
|
|
|
|
"ignoreMissing": [
|
|
|
|
|
"webpack"
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-12-15 10:15:04 +08:00
|
|
|
}
|
2024-06-17 18:21:04 +02:00
|
|
|
}
|