-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
80 lines (80 loc) · 2.22 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": "preact-mpa-template",
"version": "0.0.1",
"description": "Preact multi-page app/website starter template (SSR) - with Fastify and esbuild",
"type": "module",
"module": "server/server.js",
"scripts": {
"dev": "mkdirp dist && concurrently -i -c \"auto\" \"npm:watch:server\" \"npm:watch:build\"",
"watch:server": "nodemon --enable-source-maps --import dynohot --watch server/routes/routes.js --watch server/paths.js --watch server/server.js server/server.js",
"watch:build": "nodemon --watch build.js --watch server/paths.js --exec \"node build.js --dev --watch --livereload\"",
"prod-debug": "node --enable-source-maps server/server.js",
"build": "node build.js",
"lint": "eslint --ext js,jsx build.js server/ client/",
"lint:fix": "eslint --fix --ext js,jsx build.js server/ client/"
},
"keywords": [
"preact",
"MPA",
"SSR",
"esbuild"
],
"author": "Munawwar",
"license": "MIT",
"dependencies": {
"@fastify/compress": "^8.0.1",
"@fastify/static": "^8.0.3",
"fastify": "^5.2.0",
"html-safe-json": "^2.0.3",
"preact": "^10.12.1",
"preact-render-to-string": "^5.2.6"
},
"devDependencies": {
"chokidar": "^4.0.3",
"concurrently": "^7.6.0",
"dynohot": "^1.2.1",
"esbuild": "^0.24.2",
"eslint": "^8.32.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-semistandard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"mkdirp": "^3.0.1",
"nodemon": "^3.1.9",
"rimraf": "^4.1.2",
"tiny-glob": "^0.2.9",
"ws": "^8.18.0"
},
"eslintConfig": {
"ignorePatterns": "dist/",
"env": {
"browser": true,
"node": true,
"es2021": true
},
"extends": [
"semistandard",
"preact",
"plugin:jsx-a11y/recommended"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": "error"
},
"settings": {
"jest": {
"// jest is dummy config only needed for preact eslint plugin": true,
"version": 27
}
}
}
}