-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
157 lines (157 loc) · 4.8 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "peregrine-frontend",
"private": true,
"description": "A scouting app for FRC competitions. This is the frontend, written in TypeScript with Preact",
"license": "MIT",
"repository": "Pigmice2733/peregrine-frontend",
"engines": {
"node": "^12.18.2 || ^14.5.0"
},
"scripts": {
"build": "rollup -c rollup.config.js",
"check-lint": "eslint --format=pretty --ignore-path .gitignore --ext .js,.ts,.tsx . && prettier --list-different --ignore-path .gitignore \"**/*.{j,t}s{x,}{on,}\"",
"eslint": "eslint --format=pretty --ignore-path .gitignore --fix --ext .js,.ts,.tsx .",
"lint": "eslint --format=pretty --ignore-path .gitignore --fix --ext .js,.ts,.tsx . && prettier --write --ignore-path .gitignore \"**/*.{j,t}s{x,}{on,}\"",
"new-route": "hygen route new",
"rollup-watch": "rollup -c rollup.config.js --watch",
"start": "webpack-dev-server",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"type": "tsc",
"type:watch": "tsc --watch",
"webpack-build": "webpack"
},
"dependencies": {
"ganalytics": "3.1.3",
"matchit": "1.0.8",
"polished": "3.6.6",
"preact": "10.4.8",
"qss": "2.0.3",
"@mdi/js": "5.5.55"
},
"devDependencies": {
"@babel/core": "7.11.6",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
"@babel/plugin-proposal-numeric-separator": "7.10.4",
"@babel/plugin-proposal-object-rest-spread": "7.11.0",
"@babel/plugin-proposal-optional-chaining": "7.11.0",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-modules-commonjs": "7.10.4",
"@babel/plugin-transform-react-jsx": "7.10.4",
"@babel/plugin-transform-react-jsx-source": "7.10.5",
"@babel/plugin-transform-template-literals": "7.10.5",
"@babel/preset-env": "7.11.5",
"@babel/preset-typescript": "7.10.4",
"@calebeby/preact-testing-library": "0.0.4",
"@rollup/plugin-babel": "5.2.1",
"@rollup/plugin-node-resolve": "9.0.0",
"@testing-library/jest-dom": "5.11.4",
"@types/jest": "26.0.14",
"@types/node-fetch": "2.5.7",
"@types/sharp": "0.26.0",
"babel-jest": "26.3.0",
"babel-loader": "8.1.0",
"babel-plugin-const-enum": "1.0.1",
"babel-plugin-minify-dead-code-elimination": "0.5.1",
"babel-plugin-module-resolver": "4.0.0",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"clsx": "1.1.1",
"cpy": "8.1.1",
"css-loader": "3.6.0",
"dotenv": "8.2.0",
"eslint": "7.9.0",
"eslint-formatter-pretty": "4.0.0",
"eslint-plugin-caleb": "11.0.0",
"fake-indexeddb": "3.1.2",
"friendly-errors-webpack-plugin": "1.7.0",
"html-webpack-plugin": "4.4.1",
"hygen": "1.6.2",
"identity-obj-proxy": "3.0.0",
"jest": "26.4.2",
"jest-circus": "26.4.2",
"linaria": "1.3.3",
"linaria-preact": "1.3.2",
"linaria-styled-preact": "1.1.2",
"mini-css-extract-plugin": "0.11.2",
"mkdirplz": "1.0.2",
"node-fetch": "2.6.1",
"postcss": "7.0.32",
"postcss-calc": "7.0.4",
"postcss-color-mod-function": "3.0.3",
"postcss-css-variables": "0.17.0",
"postcss-font-magician": "2.3.1",
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-modules": "2.0.0",
"postcss-preset-env": "6.7.0",
"prettier": "2.1.2",
"prompts": "1.2.1",
"rollup": "2.27.0",
"rollup-plugin-netlify-push": "1.0.0",
"rollup-plugin-postcss": "3.1.8",
"rollup-plugin-terser": "7.0.2",
"sharp": "0.26.0",
"templite": "1.1.0",
"type-fest": "0.16.0",
"typescript": "4.0.2",
"webpack": "4.44.1",
"webpack-bundle-analyzer": "3.8.0",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0",
"webpackbar": "4.0.0"
},
"browserslist": [
">.5% in us",
"not ie 11",
"not ios_saf <11.1",
"not edge <79",
"not android <81"
],
"eslintConfig": {
"extends": [
"plugin:caleb/recommended",
"plugin:caleb/preact",
"plugin:caleb/jest"
],
"rules": {
"no-return-await": "off",
"caleb/react/display-name": "off",
"no-else-return": [
"error",
{
"allowElseIf": true
}
],
"caleb/@typescript-eslint/ban-ts-ignore": "off"
}
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"\\.css$": "identity-obj-proxy"
},
"transform": {
"\\.ts$": "./jest-transform",
"\\.tsx$": "./jest-transform"
},
"setupFilesAfterEnv": [
"./jest.setup.ts"
],
"testEnvironment": "jsdom",
"testRunner": "jest-circus/runner",
"testMatch": [
"**/?(*.)+(spec|test).(j|t)s?(x)"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
}