-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.2 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.2 KB
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
{
"private": true,
"name": "storia",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "preact build",
"serve": "preact build && preact serve",
"dev": "preact watch",
"test": "jest",
"prettier": "prettier --single-quote --trailing-comma all --write '{src,__{tests,mocks}__}/**/*.js'",
"lint": "eslint --cache src",
"lint:fix": "eslint --cache --fix src",
"precommit": "lint-staged"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*"
],
"lint-staged": {
"*.js": [
"yarn prettier",
"git add"
]
},
"devDependencies": {
"enzyme": "^3.7.0",
"eslint": "^5.5.0",
"eslint-config-synacor": "^2.0.2",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
"jest": "^23.6.0",
"preact-cli": "^2.1.0",
"preact-render-spy": "^1.2.1"
},
"dependencies": {
"eslint-plugin-import": "^2.14.0",
"preact": "^8.2.6",
"preact-compat": "^3.17.0",
"preact-redux": "^2.0.3",
"preact-router": "^2.5.7",
"prettier": "^1.15.2",
"redux": "^4.0.1",
"unstated": "^2.1.1"
},
"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"
],
"proxy": "http://localhost:8080",
"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"
}
}
}