This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
76 lines (76 loc) · 2.15 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
{
"private": true,
"name": "ghibli-fans",
"description": "Browse film, character, etc from Ghibli Studio",
"version": "1.0.0",
"license": "MIT",
"author": "Irfan Maulana <https://github.com/mazipan>",
"scripts": {
"build": "preact build --no-prerender --template src/template.html && cp ./public/404.html ./build",
"dev": "preact watch --template src/template.html",
"lint": "eslint src --fix",
"test": "jest"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:react/recommended"
]
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"eslint": "6.8.0",
"eslint-config-synacor": "3.0.5",
"eslint-plugin-jest": "23.6.0",
"eslint-plugin-react": "7.18.3",
"gh-pages": "2.2.0",
"identity-obj-proxy": "3.0.0",
"jest": "24.9.0",
"less": "3.10.3",
"less-loader": "5.0.0",
"per-env": "1.0.2",
"preact-cli": "2.2.1",
"preact-render-spy": "1.3.0"
},
"dependencies": {
"history": "4.10.1",
"preact": "10.3.0",
"preact-async-route": "2.2.1",
"preact-compat": "3.19.0",
"preact-redux": "2.1.0",
"preact-router": "3.2.1",
"redux": "4.0.5",
"redux-thunk": "2.3.0"
},
"jest": {
"verbose": true,
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.js"
],
"testRegex": "(/(__tests__|tests)/.*|(\\.|/)(test|spec))\\.jsx?$",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/tests/__mocks__/*"
],
"testURL": "http://localhost:8080",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^./style$": "identity-obj-proxy",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.min.js",
"^react$": "preact-compat",
"^react-dom$": "preact-compat",
"^create-react-class$": "preact-compat/lib/create-react-class",
"^react-addons-css-transition-group$": "preact-css-transition-group"
}
}
}