-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
70 lines (70 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
{
"private": true,
"name": "govote",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "preact build --production --prerender --prerenderUrls src/prerender-urls.json --template src/template.html",
"serve": "preact build && preact serve",
"dev": "preact watch --template src/template.html",
"lint": "eslint src",
"test": "jest ./tests"
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"eslint": "^4.9.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-config-standard-preact": "^1.1.6",
"eslint-config-synacor": "^2.0.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.6.1",
"eslint-plugin-standard": "^3.0.1",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
"jest": "^21.2.1",
"preact-async-route": "^2.1.0",
"preact-cli": "^2.1.0",
"preact-cli-plugin-env-vars": "^1.1.0",
"preact-render-spy": "^1.2.1"
},
"dependencies": {
"axios": "^0.17.1",
"classnames": "^2.2.5",
"history": "^4.7.2",
"preact": "^8.2.6",
"preact-compat": "^3.18.0",
"preact-helmet": "^4.0.0-alpha-3",
"preact-router": "^2.5.7",
"prop-types": "^15.6.0",
"rodal": "^1.6.3"
},
"jest": {
"verbose": true,
"setupFiles": [
"<rootDir>/src/tests/__mocks__/browserMocks.js"
],
"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>/src/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"
}
}
}