summaryrefslogtreecommitdiff
path: root/package.json
blob: e0dbb8598551fdd9581b7bdcb8e5d113dfda2f32 (plain)
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
{
	"name": "freshrss",
	"type": "module",
	"description": "A free, self-hostable aggregator",
	"homepage": "https://freshrss.org/",
	"readmeFilename": "README.md",
	"bugs": {
		"url": "https://github.com/FreshRSS/FreshRSS/issues"
	},
	"keywords": [
		"news",
		"aggregator",
		"RSS",
		"Atom",
		"WebSub"
	],
	"repository": {
		"type": "git",
		"url": "https://github.com/FreshRSS/FreshRSS.git"
	},
	"license": "AGPL-3.0",
	"engines": {
		"node": ">=18"
	},
	"scripts": {
		"eslint": "eslint .",
		"eslint_fix": "eslint --fix .",
		"markdownlint": "markdownlint '**/*.md'",
		"markdownlint_fix": "markdownlint --fix '**/*.md'",
		"rtlcss": "rtlcss -d p/themes/ && find p/themes/ -type f -name '*.rtl.rtl.css' -delete",
		"stylelint": "stylelint '**/*.css'",
		"stylelint_fix": "stylelint --fix '**/*.css'",
		"test": "npm run eslint && npm run stylelint && npm run markdownlint",
		"fix": "npm run eslint_fix && npm run stylelint_fix && npm run rtlcss && npm run markdownlint_fix"
	},
	"devDependencies": {
		"eslint": "^9.39.2",
		"@eslint/js": "^9.20.0",
		"globals": "^17.0.0",
		"markdownlint-cli": "^0.47.0",
		"neostandard": "^0.12.2",
		"rtlcss": "^4.3.0",
		"stylelint": "^16.26.1",
		"stylelint-config-recommended": "^17.0.0",
		"stylelint-order": "^7.0.1",
		"@stylistic/stylelint-plugin": "^4.0.0"
	},
	"rtlcssConfig": {
		"options": {
			"processUrls": {
				"atrule": true,
				"decl": false
			},
			"stringMap": [
				{
					"name": "import-rtl",
					"priority": 10,
					"exclusive": true,
					"search": ".css",
					"replace": ".rtl.css",
					"options": {
						"scope": "url",
						"ignoreCase": false
					}
				}
			]
		}
	}
}