forked from discourse/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 4.24 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 4.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"private": true,
"repository": "https://github.com/discourse/discourse",
"author": "Discourse",
"license": "GPL-2.0-only",
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.28.0",
"@discourse/lint-configs": "^2.36.0",
"@discourse/moment-timezone-names-translations": "^1.0.0",
"@fortawesome/fontawesome-free": "6.7.2",
"@glint/ember-tsc": "^1.0.8",
"@glint/tsserver-plugin": "^2.0.8",
"@rdil/parallel-prettier": "^3.0.0",
"@swc/core": "^1.15.7",
"chrome-launcher": "^1.2.1",
"chrome-remote-interface": "^0.33.3",
"concurrently": "^9.2.1",
"ember-template-lint": "7.9.3",
"esbuild": "^0.25.11",
"eslint": "9.39.2",
"jsdoc": "^4.0.5",
"lefthook": "^2.0.12",
"licensee": "^11.1.1",
"lint-to-the-future": "^2.6.4",
"lint-to-the-future-ember-template": "^3.1.0",
"lint-to-the-future-eslint": "^3.3.0",
"playwright": "1.57.0",
"prettier": "3.7.3",
"puppeteer-core": "^24.34.0",
"stylelint": "16.26.1",
"terser": "^5.44.1",
"typescript": "^5.9.3"
},
"scripts": {
"dev": "concurrently \"bin/ember-cli server --environment=development\" \"RAILS_ENV=development bin/rails server\"",
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\"",
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\"",
"lint:css": "pnpm stylelint 'app/assets/stylesheets/**/*.scss' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') 'themes/**/*.scss'",
"lint:css:fix": "pnpm stylelint --fix 'app/assets/stylesheets/**/*.scss' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') 'themes/**/*.scss'",
"lint:js": "eslint ./frontend $(script/list_bundled_plugins) ./themes --cache --no-error-on-unmatched-pattern",
"lint:js:fix": "eslint --fix ./frontend $(script/list_bundled_plugins) ./themes --no-error-on-unmatched-pattern",
"lint:hbs": "ember-template-lint 'frontend/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}' 'themes/**/*.{gjs,hbs}'",
"lint:hbs:fix": "ember-template-lint 'frontend/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}' 'themes/**/*.{gjs,hbs}' --fix",
"lint:prettier": "pnpm pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'frontend/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}') 'themes/**/*.{js,gjs,hbs,scss}'",
"lint:prettier:fix": "pnpm prettier -w --no-error-on-unmatched-pattern 'app/assets/stylesheets/**/*.scss' 'frontend/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}') 'themes/**/*.{js,gjs,hbs,scss}'",
"lint:glint": "ember-tsc -b",
"lttf:ignore": "lint-to-the-future ignore",
"lttf:output": "lint-to-the-future output -o ./lint-progress/",
"lint-progress": "pnpm lttf:output && npx html-pages ./lint-progress --no-cache",
"ember": "pnpm --dir=frontend/discourse ember",
"playwright-install": "playwright install --no-shell chromium"
},
"engines": {
"node": ">= 20",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": "^9"
},
"packageManager": "pnpm@9.15.5",
"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",
"licensee@11.1.1": "patches/licensee@11.1.1.patch",
"@ember-compat/tracked-built-ins@0.9.1": "patches/@ember-compat__tracked-built-ins@0.9.1.patch",
"ember-source@6.6.0": "patches/ember-source@6.6.0.patch",
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch"
},
"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"
]
},
"overrides": {
"@ember/test-waiters": "4.1.1"
}
}
}