-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.59 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
79
80
81
82
83
84
85
86
87
88
89
{
"name": "hacker-news-ts",
"version": "1.0.0",
"description": "a hacker news frontend written in typescript",
"repository": {
"url": "https://github.com/cs-miller/hacker-news-ts"
},
"scripts": {
"start": "node src/server.js",
"build": "TS_NODE_PROJECT=\"webpack-tsconfig.json\" webpack --require ts-node/register",
"prebuild": "rimraf ./dist",
"build:prod": "cross-env NODE_ENV=production yarn build",
"now-build": "yarn build:prod",
"generate": "apollo-codegen generate src/**/*.tsx --project-name hacker-news-ts --target typescript-modern --add-typename"
},
"author": "Christopher Miller",
"license": "MIT",
"resolutions": {
"graphql": "^0.13.2"
},
"dependencies": {
"@reach/router": "^1.1.1",
"apollo-cache-inmemory": "^1.2.2",
"apollo-client": "^2.3.2",
"apollo-link": "^1.2.2",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.4",
"date-fns": "^2.0.0-alpha.10",
"express": "^4.16.3",
"graphql": "^0.13.2",
"graphql-tag": "^2.9.2",
"ramda": "^0.25.0",
"react": "^16.4.0",
"react-apollo": "^2.1.4",
"react-dom": "^16.4.0",
"typography": "^0.16.17"
},
"devDependencies": {
"@types/compression-webpack-plugin": "^0.4.2",
"@types/html-webpack-plugin": "^2.30.3",
"@types/mini-css-extract-plugin": "^0.2.0",
"@types/node": "^10.3.2",
"@types/ramda": "^0.25.32",
"@types/reach__router": "^1.0.0",
"@types/react": "^16.3.17",
"@types/react-dom": "^16.0.5",
"@types/webpack": "^4.4.0",
"apollo-codegen": "^0.19.1",
"autoprefixer": "^8.6.2",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-graphql-tag": "^1.6.0",
"babel-plugin-ramda": "^1.6.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-preset-env": "^1.7.0",
"compression-webpack-plugin": "^1.1.11",
"cross-env": "^5.2.0",
"css-loader": "^0.28.11",
"cssnano": "^3.10.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"mini-css-extract-plugin": "^0.4.0",
"postcss-loader": "^2.1.5",
"prettier": "^1.13.5",
"rimraf": "^2.6.2",
"style-loader": "^0.21.0",
"ts-loader": "^4.4.1",
"ts-node": "^6.1.1",
"tsconfig-paths": "^3.4.0",
"tslint": "^5.10.0",
"typescript": "^2.9.1",
"url-loader": "^1.0.1",
"webpack": "^4.12.0",
"webpack-command": "^0.2.1"
},
"lint-staged": {
"*.{ts,tsx,js,json}": [
"prettier --single-quote --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}