-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
80 lines (80 loc) · 3.55 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
80
{
"name": "bsclibrary",
"version": "0.6.0",
"description": "The BASIS Scottsdale Library Website",
"keywords": [
"BASIS Scottsdale Library"
],
"homepage": "https://bsclibrary.net",
"bugs": {
"url": "https://github.com/epodol/bsclibrary/issues"
},
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/epodol/bsclibrary.git"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "echo 'Loading.... This will take a few minutes.' && npm run tsc && npm-run-all --parallel dev:emulators dev:react tsc:watch",
"start:export": "npm-run-all --parallel dev:emulators:export dev:react tsc:watch",
"dev:react": "cd react && npm run start",
"dev:emulators": "firebase emulators:start --import=./emulator-data",
"dev:emulators:export": "firebase emulators:start --import=./emulator-data --export-on-exit",
"tsc": "npm-run-all --parallel tsc:functions tsc:common",
"tsc:functions": "tsc --project ./functions/tsconfig.json",
"tsc:common": "tsc --project ./common/tsconfig.json",
"tsc:watch": "npm-run-all --parallel tsc:watch:functions tsc:watch:common",
"tsc:watch:functions": "tsc --watch --project ./functions/tsconfig.json",
"tsc:watch:common": "tsc --watch --project ./common/tsconfig.json",
"postinstall": "run-script-os",
"postinstall:linux": "if test \"$CI\" = true ; then npm-run-all --parallel ci:functions ci:react ci:common; else npm-run-all --parallel install:functions install:react install:common; fi",
"postinstall:default": "npm-run-all --parallel ci:functions ci:react ci:common",
"ci:functions": "cd functions && npm ci --no-audit",
"ci:react": "cd react && npm ci --no-audit",
"ci:common": "cd common && npm ci --no-audit",
"install:functions": "cd functions && npm install --no-audit",
"install:react": "cd react && npm install --no-audit",
"install:common": "cd common && npm install --no-audit",
"build": "cd react && npm run build",
"test": "npm-run-all --parallel test:react",
"test:react": "npm run test --prefix ./react",
"test:noemulators": "npm-run-all --parallel test:noemulators:react",
"test:noemulators:react": "npm run test:noemulators --prefix ./react",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"eslint": "eslint .",
"eslint:fix": "eslint --fix .",
"deploy": "firebase deploy",
"deploy:hosting": "firebase deploy --only hosting",
"deploy:storage": "firebase deploy --only storage",
"deploy:firestore": "firebase deploy --only firestore",
"deploy:functions": "firebase deploy --only functions",
"outdated": "npm-run-all --parallel --continue-on-error outdated:bsclibrary outdated:functions outdated:react outdated:common",
"outdated:bsclibrary": "npm outdated",
"outdated:functions": "cd functions && npm outdated",
"outdated:react": "cd react && npm outdated",
"outdated:common": "cd common && npm outdated"
},
"devDependencies": {
"@types/node": "^16.18.2",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"eslint": "^8.26.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-jest-dom": "^4.0.2",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"firebase-tools": "^11.15.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"run-script-os": "^1.1.6",
"typescript": "^4.8.4"
}
}