-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
127 lines (127 loc) · 4.13 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "ycombinator-react",
"version": "0.0.12",
"description": "HackerNews clone built with React, ReactRouter & Redux, with server-side rendering",
"repository": "git@github.com:faizahmedfarooqui/ycombinator-react.git",
"author": "faizahmedfarooqui <faizz.af@gmail.com>",
"license": "MIT",
"scripts": {
"dev": "./node_modules/.bin/cross-env DEBUG=ycombinator:* babel-node server",
"build:react:client": "webpack --config=build/react.client.babel.js --colors --progress",
"build:react:server": "webpack --config=build/react.server.babel.js --colors --progress",
"build:server": "webpack --config build/server.babel.js --colors --progress",
"build:template": "mkdir -p dist/static && node build/template.js",
"build": "rimraf dist && ./node_modules/.bin/cross-env DEBUG=ycombinator:* NODE_ENV=production run-p build:react:client build:react:server build:server build:template",
"start": "./node_modules/.bin/cross-env DEBUG=ycombinator:* NODE_ENV=production node dist/server",
"lint": "eslint . --ignore-path .gitignore --max-warnings=10",
"pm2": "./node_modules/.bin/cross-env PORT=8000 pm2 start --name=ycombinator-react npm -- start",
"prune": "yarn install --production --ignore-optional --ignore-scripts --prefer-offline --force"
},
"dependencies": {
"@1stg/prettier-config": "^0.10.0",
"connected-react-router": "^6.5.2",
"cross-env": "^5.2.1",
"debug": "^4.1.1",
"firebase": "^6.6.2",
"history": "^4.10.1",
"koa": "^2.8.1",
"koa-cash": "^3.1.0-0",
"koa-compose": "^4.1.0",
"koa-compress": "^3.0.0",
"koa-logger": "^3.2.1",
"koa-mount": "^4.0.0",
"koa-static-cache": "^5.1.2",
"lodash-es": "^4.17.15",
"lru-cache": "^5.1.1",
"path-to-regexp": "^3.1.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-google-charts": "^3.0.15",
"react-loadable": "^5.5.0",
"react-redux": "^7.1.1",
"react-router": "^5.0.1",
"react-router-config": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-server-renderer": "^1.2.0",
"react-transition-group": "^4.2.2",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"serialize-javascript": "^3.1.0",
"universal-cookie": "^4.0.3"
},
"devDependencies": {
"@1stg/eslint-config": "^0.20.0",
"@babel/core": "^7.6.2",
"@babel/node": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.2",
"autoprefixer": "^9.6.4",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"css-loader": "^3.2.0",
"cssnano": "^4.1.10",
"eslint": "^6.5.1",
"eslint-import-resolver-babel-module": "^5.1.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-minifier": "^4.0.0",
"husky": "^3.0.8",
"koa-webpack": "^5.2.4",
"lint-staged": "^9.4.1",
"mini-css-extract-plugin": "^0.8.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"prettier": "^1.18.2",
"prop-types": "^15.7.2",
"pug": ">=3.0.1"
"pug-plain-loader": "^1.0.0",
"react-style-loader": "^2.3.0",
"rimraf": "^2.7.1",
"sass": "^1.22.12",
"sass-loader": "^8.0.2",
"sw-precache-webpack-plugin": "^0.11.5",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-merge": "^4.2.2",
"webpack-node-externals": "^1.7.2"
},
"babel": {
"presets": [
"@babel/env"
]
},
"eslintConfig": {
"extends": [
"@1stg/eslint-config"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"__DEV__": false,
"__SERVER__": false
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
}
},
"settings": {
"import/resolver": {
"babel-module": {}
}
}
},
"prettier": "@1stg/prettier-config",
"renovate": {
"extends": []
}
}