-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.33 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
{
"private": true,
"name": "my-project",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "node route-generator.js && preact build --template src/template.html --prerenderUrls src/prerender-urls.json --sw false --dest build",
"serve": "preact build --template src/template.html --service-worker false && sirv build --port 8080 --cors --single",
"dev": "preact watch --template src/template.html",
"lint": "eslint src"
},
"eslintConfig": {
"extends": "preact",
"ignorePatterns": [
"build/"
]
},
"devDependencies": {
"enzyme": "^3.10.0",
"enzyme-adapter-preact-pure": "^2.0.0",
"eslint": "^6.0.1",
"eslint-config-preact": "^1.1.0",
"jest": "^24.9.0",
"jest-preset-preact": "^1.0.0",
"preact-cli": "^3.0.0",
"sirv-cli": "1.0.3",
"if-env": "^1.0.0",
"xmlbuilder": "^11.0.0"
},
"dependencies": {
"preact": "^10.3.2",
"preact-render-to-string": "^5.1.4",
"preact-router": "^3.2.1",
"firebase": "^9.14.0",
"lottie-web": "^5.4.4",
"preact-material-components": "^1.6.1"
},
"jest": {
"preset": "jest-preset-preact",
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.js",
"<rootDir>/tests/__mocks__/setupTests.js"
]
}
}