-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 1.66 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
{
"name": "preact-widget-redux-zero",
"version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "NODE_ENV=test jest",
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "preact build --json --no-prerender --clean --template src/demo-wrapper.ejs --service-worker false",
"serve": "preact build && preact serve",
"dev": "preact watch --template src/demo-wrapper.ejs"
},
"keywords": [],
"author": "Zouhir <zouhir@zouhir.org>",
"license": "MIT",
"devDependencies": {
"eslint": "^4.5.0",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
"jest": "^21.2.1",
"node-sass": "^4.5.3",
"preact-cli": "^2.0.2",
"preact-render-to-string": "^3.7.0",
"preact-widget-scripts": "^0.6.0",
"sass-loader": "^6.0.6"
},
"dependencies": {
"preact": "^8.2.5",
"preact-compat": "^3.17.0",
"preact-habitat": "^3.1.0",
"preact-router": "^2.5.7",
"redux-zero": "^4.9.1"
},
"jest": {
"verbose": true,
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx"
],
"testEnvironment": "node",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss|less)$": "identity-obj-proxy",
"^react$": "preact-compat",
"^react-dom$": "preact-compat"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleDirectories": [
"node_modules",
"src"
]
}
}