-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
99 lines (99 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"private": true,
"name": "groce",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"build": "NODE_OPTIONS=--openssl-legacy-provider preact build",
"post-process-build": "node scripts/post-process-build.js",
"serve": "sirv build --port 8080 --cors --single",
"emulate": "nf --procfile Procfile.emulator start",
"emulator:dev": "PREACT_APP_USE_EMULATOR=true yarn dev",
"dev": "NODE_OPTIONS=--openssl-legacy-provider PREACT_APP_GIT_VERSION_INFO=$(git log --pretty=format:'%H|%cI' -n 1) preact watch --refresh --no-sw",
"emulator": "cd functions && yarn serve",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint:watch": "esw --watch --color 'src/**/*.{ts,tsx}'",
"e2e": "playwright test",
"pretty": "prettier --check ."
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,md,scss}": "prettier --write",
"*.{ts,tsx}": "eslint --fix"
},
"eslintIgnore": [
"build/*"
],
"dependencies": {
"@types/sortablejs": "1.15.8",
"bootstrap": "5.3.3",
"copy-to-clipboard": "3.3.3",
"dayjs": "1.11.13",
"firebase": "10.13.1",
"party-js": "2.2.0",
"preact": "^10.23.2",
"preact-cli-plugin-env-vars": "1.2.1",
"preact-jsx-chai": "^3.0.0",
"preact-markup": "^2.1.1",
"preact-render-to-string": "^6.5.10",
"preact-router": "^4.1.2",
"rough-viz": "1.0.6",
"sass": "1.77.6",
"sass-loader": "10.1.1",
"sortablejs": "1.15.2"
},
"devDependencies": {
"@playwright/test": "1.46.1",
"@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
"@types/cheerio": "0.22.35",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cheerio": "1.0.0-rc.12",
"css-loader": "^7.1.2",
"eslint": "^8.36.0",
"eslint-config-preact": "^1.4.0",
"eslint-plugin-playwright": "0.12.0",
"eslint-watch": "8.0.0",
"firebase-tools": "13.16.0",
"foreman": "3.0.1",
"got": "12.5.3",
"http-server": "14.1.1",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"minimalcss": "0.11.3",
"preact-cli": "^3.5.1",
"prettier": "^3.3.3",
"serve": "14.2.3",
"sirv-cli": "^2.0.2",
"typescript": "^5.5.4"
},
"resolutions": {
"node-fetch": ">=2.6.1"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"preact",
"plugin:playwright/playwright-test",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"# eslint-config-preact drags in 'plugin:jest/recommended' so disabling": 0,
"jest/no-test-callback": 0,
"jest/no-deprecated-functions": 0,
"# See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-duplicate-imports.md": 0,
"no-duplicate-imports": "off",
"@typescript-eslint/no-duplicate-imports": [
"error"
]
},
"ignorePatterns": [
"build/"
]
}
}