-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
72 lines (72 loc) · 2.95 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
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
{
"name": "rss-box",
"version": "24.8.6",
"description": "RSS Box Viewer",
"type": "module",
"main": "src/app.js",
"scripts": {
"build": "npm run clean; npm run build:copy; rollup --config",
"build:copy": "cp -Rp src/index.html src/assets dist",
"build:status-codes": "node -e 'console.log(`export default ${JSON.stringify(require(`http`).STATUS_CODES, null, ` `)};`)'",
"clean": "rm -r dist/*",
"delint": "npm run delint:css; npm run delint:js; prettier --write src/**/*.{css,html,js,md,svelte}",
"delint:css": "stylelint --fix src/**/*.{css,html,svelte}",
"delint:js": "eslint --cache --fix src/**/*.{js,svelte}",
"deploy": "wait",
"deploy:staging": "npm run build && rsync --archive --del --exclude .ssh --info=stats dist/ -- rss-box:/",
"digest": "cat $file | openssl dgst -sha384 -binary | openssl base64 -A",
"install": "npm run install:server; npm run install:local",
"install:local": "if [ ! -e src/local.js ]; then echo 'export const urls = {};' > src/local.js; fi",
"install:server": "git submodule init; npm run server:update; (cd services; make install)",
"prepare": "husky install",
"release": "npm version --no-git-tag $v; npm run build; git commit --all --message 'Rebuild dist files'; npm version --allow-same-version $v",
"roxy": "python -c \"import sys, os; os.system('curl --head http://localhost:8000/roxy?url=%s' % sys.argv[1])\"",
"start": "concurrently --kill-others 'npm:server' 'npm:watch'",
"server": "dir=$PWD; (cd services; .venv/bin/mod_wsgi-express start-server wsgi.py --document-root \"$dir/dist\" --access-log --log-to-terminal)",
"server:update": "git submodule update --remote --merge",
"watch": "npm run build -- --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/p3k/rss-box.git"
},
"author": "Tobi Schäfer <[email protected]>",
"license": "CC-BY-SA-3.0",
"bugs": {
"url": "https://github.com/p3k/rss-box/issues"
},
"homepage": "https://github.com/p3k/rss-box#readme",
"dependencies": {
"domready": "1.0.8",
"whatwg-fetch": "3.6.20"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-replace": "6.0.1",
"@rollup/plugin-terser": "0.4.4",
"concurrently": "9.0.1",
"core-js": "3.39.0",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "2.46.0",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"prettier-plugin-svelte": "3.2.7",
"rollup": "4.24.3",
"rollup-plugin-svelte": "7.2.2",
"serve": "14.2.4",
"stylelint": "16.10.0",
"stylelint-config-html": "1.1.0",
"stylelint-config-standard": "36.0.1",
"svelte": "4.2.19"
},
"lint-staged": {
"*.{css,html,js,md,svelte}": "npm run delint"
}
}