-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
73 lines (73 loc) · 1.94 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
{
"name": "@borekb/gatsby-starter-mobx",
"description": "Gatsby starter with MobX and TypeScript",
"version": "1.0.0",
"author": "Borek Bernard <borekb@gmail.com>",
"license": "MIT",
"scripts": {
"start": "gatsby develop",
"build": "rm -rf public && rm -rf .cache && gatsby build",
"tsc": "tsc",
"lint": "tslint -p .",
"prettier": "prettier --write 'src/**'",
"gatsby": "gatsby",
"test": "jest"
},
"dependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.6",
"babel-preset-gatsby": "^0.1.4",
"gatsby": "^2.0.55",
"gatsby-plugin-typescript": "^2.0.1",
"mobx": "^5.6.0",
"mobx-react": "^5.4.2",
"mobx-react-devtools": "^6.0.3",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"typescript": "^3.1.6"
},
"devDependencies": {
"@types/jest": "^23.3.9",
"@types/react-test-renderer": "^16.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"prettier": "1.15.2",
"react-test-renderer": "^16.6.3",
"ts-jest": "^23.10.5",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.16.0",
"tslint-react": "^3.6.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*\\.([tj]sx?)|(\\.|/)(test|spec))\\.([tj]sx?)$",
"moduleNameMapper": {
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/__mocks__/fileMock.js"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testPathIgnorePatterns": [
"node_modules",
".cache"
],
"transformIgnorePatterns": [
"node_modules/(?!(gatsby)/)"
],
"globals": {
"__PATH_PREFIX__": ""
},
"setupFiles": [
"<rootDir>/jest/loadershim.js"
]
}
}