-
Notifications
You must be signed in to change notification settings - Fork 344
/
package.json
43 lines (43 loc) · 1.73 KB
/
package.json
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
{
"name": "selfoss",
"description": "selfoss",
"ver": "2.20-SNAPSHOT",
"repository": {
"type": "git",
"url": "https://github.com/fossar/selfoss.git"
},
"engines": {
"nodejs": ">=14",
"npm": ">=7"
},
"scripts": {
"bump-version": "$NODE utils/bump-version.js",
"check": "npm run check:client && npm run check:server",
"check:all": "npm run check && npm run check:helpers",
"check:client": "npm run --prefix client/ check",
"check:server": "npm run check:server:lint && npm run check:server:cs && npm run test:server && npm run check:server:phpstan",
"check:server:lint": "composer run-script lint",
"check:server:phpstan": "composer run-script phpstan",
"check:server:cs": "composer run-script cs",
"check:helpers": "npm run check:helpers:cs",
"check:helpers:cs": "npm run fix:helpers:cs -- --check",
"dev": "npm run --prefix client/ dev",
"build": "npm run --prefix client/ build",
"dist": "python3 utils/create-zipball.py",
"fix": "npm run fix:client && npm run fix:server",
"fix:all": "npm run fix && npm run fix:helpers",
"fix:client": "npm run --prefix client/ fix",
"fix:server": "composer run-script fix",
"fix:helpers": "npm run fix:helpers:cs",
"fix:helpers:cs": "black utils/ tests/",
"install-dependencies": "npm run install-dependencies:client && npm run install-dependencies:server",
"install-dependencies:client": "npm install --production=false --prefix client/",
"install-dependencies:server": "composer install --dev",
"test:server": "composer run-script test",
"test:integration": "python3 tests/integration/run.py",
"postinstall": "npm run install-dependencies"
},
"cacheDirectories": [
"client/node_modules"
]
}