-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.1 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
77
78
{
"name": "bears-team-18",
"version": "0.1.0",
"license": "UNLICENSED",
"dependencies": {
"apollo-cache-inmemory": "^1.1.9",
"apollo-client": "^2.2.5",
"apollo-link-http": "^1.5.3",
"apollo-server-express": "^1.3.2",
"body-parser": "^1.18.2",
"express": "^4.16.2",
"graphql": "0.12.3",
"graphql-tag": "^2.8.0",
"graphql-tools": "^2.21.0",
"isomorphic-unfetch": "^2.0.0",
"mongoose": "^5.0.8",
"next": "^5.0.0",
"react": "^16.2.0",
"react-apollo": "^2.0.4",
"react-dom": "^16.2.0",
"styled-components": "^3.2.0"
},
"devDependencies": {
"@types/body-parser": "^1.16.8",
"@types/express": "^4.11.1",
"@types/enzyme": "^3.1.9",
"@types/jest": "^22.1.4",
"@types/next": "^2.4.8",
"@types/react": "^16.0.40",
"@zeit/next-typescript": "^0.0.10",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "^0.14.3",
"jest": "^22.4.2",
"lint-staged": "^7.0.0",
"nodemon": "^1.17.1",
"prettier": "^1.11.1",
"ts-jest": "^22.4.1",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"tslint-react": "^3.5.1",
"typescript": "^2.7.2"
},
"scripts": {
"precommit": "lint-staged",
"dev": "nodemon server/index.ts",
"build": "next build && tsc --module commonjs",
"start": "NODE_ENV=production node build/index.js",
"test": "jest",
"test:cov": "yarn test --coverage"
},
"lint-staged": {
"*.{js,json,css,md}": ["prettier --write", "git add"],
"*.{ts,tsx}": [
"prettier --parser typescript --write",
"tslint --fix",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"**/server/**/*.{tsx|ts|jsx|js}",
"**/pages/**/*.{tsx|ts|jsx|js}",
"**/components/**/*.{tsx|ts|jsx|js}"
],
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.jest.json"
}
},
"moduleFileExtensions": ["js", "jsx", "json", "ts", "tsx"],
"setupTestFrameworkScriptFile": "<rootDir>__tests__/setupTests.js",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
}
}