mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 06:51:04 +08:00
69 lines
3.0 KiB
JSON
69 lines
3.0 KiB
JSON
{
|
|
"name": "discourse",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"repository": "git@github.com:discourse/discourse.git",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"dependencies": {
|
|
"@discourse/moment-timezone-names-translations": "^1.0.0",
|
|
"@fortawesome/fontawesome-free": "5.15.4",
|
|
"@highlightjs/cdn-assets": "^11.6.0",
|
|
"@json-editor/json-editor": "^2.6.1",
|
|
"ace-builds": "1.4.13",
|
|
"chart.js": "3.5.1",
|
|
"chartjs-plugin-datalabels": "^2.0.0",
|
|
"concurrently": "^8.0.1",
|
|
"diffhtml": "^1.0.0-beta.20",
|
|
"magnific-popup": "1.1.0",
|
|
"moment": "2.29.4",
|
|
"moment-timezone": "0.5.39",
|
|
"pikaday": "1.8.2",
|
|
"squoosh": "discourse/squoosh#dc9649d",
|
|
"workbox-cacheable-response": "^4.3.1",
|
|
"workbox-core": "^4.3.1",
|
|
"workbox-expiration": "^4.3.1",
|
|
"workbox-routing": "^4.3.1",
|
|
"workbox-strategies": "^4.3.1",
|
|
"workbox-sw": "^4.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@mixer/parallel-prettier": "^2.0.3",
|
|
"chrome-launcher": "^0.15.1",
|
|
"chrome-remote-interface": "^0.31.3",
|
|
"ember-template-lint": "4.10.1",
|
|
"eslint": "^8.37.0",
|
|
"eslint-config-discourse": "^3.4.0",
|
|
"eslint-plugin-ember": "10.6.1",
|
|
"eslint-plugin-sort-class-members": "1.14.1",
|
|
"jsdoc": "^4.0.0",
|
|
"lefthook": "^1.2.0",
|
|
"lint-to-the-future": "^2.0.0",
|
|
"lint-to-the-future-ember-template": "^1.1.1",
|
|
"lint-to-the-future-eslint": "^2.0.1",
|
|
"puppeteer-core": "^13.7.0",
|
|
"tidy-jsdoc": "^1.4.1"
|
|
},
|
|
"scripts": {
|
|
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
|
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
|
"lint:js": "eslint ./app/assets/javascripts --cache",
|
|
"lint:js-plugins": "eslint ./plugins --cache",
|
|
"lint:js:fix": "eslint ./app/assets/javascripts",
|
|
"lint:js-plugins:fix": "eslint ./plugins",
|
|
"lint:hbs": "ember-template-lint app/assets/javascripts/**/*.hbs plugins/**/assets/javascripts/**/*.hbs --no-error-on-unmatched-pattern",
|
|
"lint:hbs:fix": "ember-template-lint app/assets/javascripts/**/*.hbs plugins/**/assets/javascripts/**/*.hbs --no-error-on-unmatched-pattern --fix",
|
|
"lint:prettier": "yarn pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.js' 'app/assets/javascripts/**/*.hbs' 'plugins/**/assets/stylesheets/**/*.scss' 'plugins/**/assets/javascripts/**/*.js' 'plugins/**/assets/javascripts/**/*.hbs'",
|
|
"lint:prettier:fix": "yarn prettier -w '{app,plugins/**}/assets/{stylesheets,javascripts}/**/*.{scss,hbs,js}'",
|
|
"lttf:ignore": "lint-to-the-future ignore",
|
|
"lttf:output": "lint-to-the-future output -o ./lint-progress/",
|
|
"lint-progress": "yarn lttf:output && npx html-pages ./lint-progress --no-cache",
|
|
"postinstall": "yarn --cwd app/assets/javascripts $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')"
|
|
},
|
|
"engines": {
|
|
"node": "16.* || >= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
}
|
|
}
|