-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
79 lines (79 loc) · 3.49 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
73
74
75
76
77
78
79
{
"name": "chromebooks-in-deutschland",
"description": "Chromebooks in Deutschland Webseite",
"homepage": "https://github.com/schlomo/chromebooks-in-deutschland",
"repository": {
"type": "git",
"url": "https://github.com/schlomo/chromebooks-in-deutschland.git"
},
"license": "Apache-2.0",
"type": "module",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"author": "Schlomo Schapiro <schlomo+chromebooks-in-deutschland@schapiro.org>",
"scripts": {
"binary": "run-s -sl prep binary-build",
"binary-build": "pkg --no-bytecode --public-packages '*' --output dist/updateprice-\"$(<VERSION)\" --compress GZip --targets node16-macos-x64,node16-alpine-x64,node16-linux-x64,node16-windows-x64 --public functions/updateprice.js",
"binary-build-armv7": "pkg --no-bytecode --public-packages '*' --output dist/updateprice-\"$(<VERSION)\" --compress GZip --targets node16-linuxstatic-armv7 --public functions/updateprice.js",
"deb": "run-s -sl prep*version deb-build",
"deb-build": "make -C systemd",
"build": "run-s -sl prep parcel-build",
"clean": "rm -Rf VERSION dist public src/generated/* functions/generated/*",
"deploy": "run-s -sl build firebase-deploy",
"docker": "run-s -s clean prep docker-build",
"docker-build": "echo Image: ${IMAGE_NAME:=cid} ; docker build --progress plain -t $IMAGE_NAME -t $IMAGE_NAME:$(<VERSION) -t $IMAGE_NAME:dev .",
"docker-run": "echo Image: ${IMAGE_NAME:=cid} ; docker run --rm -e CID_API_URL=http://host.docker.internal:5000/api $IMAGE_NAME",
"updateprice": "cd functions; node updateprice.js",
"firebase-deploy": "firebase --project ${ENVIRONMENT:-dev} deploy --force --message $(<VERSION)",
"firebase-emulators": "firebase --project dev emulators:exec 'yarn parcel-watch'",
"parcel-build": "parcel build --no-source-maps --out-dir public --log-level 4 src/index.html",
"parcel-watch": "parcel watch --out-dir public --log-level 4 src/index.html",
"postinstall": "echo Installing Functions && cd functions && yarn --frozen-lockfile && echo OK",
"prep": "run-s -sl clean test prep-*",
"prep-01-validate-schema": "pajv -m schema7.json -s schema.json -d 'chromebooks/**/*.yaml' >/dev/null && echo All YAML files are valid",
"prep-02-version": "node generate-version.js",
"prep-03-expiration-data": "node generate-expiration-data.js",
"prep-04-device-data": "node generate-device-data.js",
"prep-05-validate-data": "node validate-data.js",
"prep-06-validate-checker": "./check-chromebooks.sh --validate",
"start": "run-s -s prep firebase-emulators",
"test": "mocha",
"update-dev-database": "./update-dev-database"
},
"browserslist": [
"defaults"
],
"dependencies": {
"@fontsource/roboto": "^4.5.1",
"chai": "^4.2.0",
"cheerio": "^1.0.0-rc.3",
"cheerio-tableparser": "^1.0.1",
"datatables.net-dt": "^1.11.3",
"datatables.net-responsive-dt": "^2.2.5",
"entities": "^3.0.1",
"firebase-tools": "^9.22.0",
"fontsource-roboto": "^4.0.0",
"git-describe": "^4.1.0",
"glob": "^7.2.0",
"jquery": "^3.7.0",
"jsonfile": "^6.1.0",
"merge-yaml": "^1.1.0",
"mocha": "^9.1.3",
"node-fetch": "^3.0.0",
"pajv": "^1.2.0",
"parcel-bundler": "^1.12.4",
"pkg": "^5.4.1",
"select2": "^4.1.0-rc.0",
"sorted-object": "^2.0.1",
"write-yaml-file": "^4.2.0",
"yarn-run-all": "^3.1.1"
},
"resolutions": {
"postcss": "^7",
"glob-parent": "^6.0.1"
}
}