This repository was archived by the owner on Nov 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·132 lines (132 loc) · 4.82 KB
/
package.json
File metadata and controls
executable file
·132 lines (132 loc) · 4.82 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
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
128
129
130
131
132
{
"name": "hapi-react-hot-loader-example",
"version": "1.0.0",
"description": "Simple React Hot Loading example with Hapi Server-side rendering",
"scripts": {
"---------- HELPERS -----------------------------------------------------------------------------": "",
"remove": "rimraf dist",
"buildServer": "cross-env BABEL_ENV=server ./node_modules/.bin/babel src --out-dir dist",
"watchServer": "cross-env BABEL_ENV=server ./node_modules/.bin/babel src --out-dir dist --watch",
"removeAndBuildServer": "npm run remove && npm run buildServer",
"start": "cross-env NODE_ENV=production node ./dist/server.js",
"---------- DEVELOPMENT -------------------------------------------------------------------------": "",
"predev": "npm run removeAndBuildServer",
"dev": "npm run watchServer & npm run devServer",
"devWindows": "concurrently --kill-others \"npm run watchServer\" \"npm run devServer\"",
"devServer": "cross-env BABEL_ENV=client NODE_ENV=development nodemon ./dist/server.js",
"---------- STAGING -----------------------------------------------------------------------------": "",
"prestaging:build": "npm run removeAndBuildServer",
"staging:build": "cross-env BABEL_ENV=client NODE_ENV=staging webpack",
"staging": "npm run staging:build && npm run start",
"---------- PRODUCTION --------------------------------------------------------------------------": "",
"preprod:build": "npm run removeAndBuildServer",
"prod:build": "cross-env BABEL_ENV=client NODE_ENV=production webpack -p",
"prod": "npm run prod:build && npm run start",
"---------- TESTING -----------------------------------------------------------------------------": "",
"test": "npm run lint && npm run unit",
"lint": "eslint src --ext .js,.jsx",
"unit": "cross-env BABEL_ENV=server NODE_ENV=production jest",
"unit:watch": "cross-env BABEL_ENV=server NODE_ENV=production jest --watch",
"unit:coverage": "cross-env BABEL_ENV=server NODE_ENV=production jest --coverage",
"------------------------------------------------------------------------------------------------": ""
},
"jest": {
"setupFiles": [],
"roots": [
"<rootDir>/src/",
"<rootDir>/test/"
]
},
"repository": {
"type": "git",
"url": "https://github.com/codeBelt/hapi-react-hot-loader-example"
},
"keywords": [
"hapi",
"react",
"reactjs",
"boilerplate",
"hot",
"reload",
"hmr",
"live",
"edit",
"webpack"
],
"author": "codeBelt",
"license": "MIT",
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.1.2",
"babel-plugin-system-import-transformer": "3.1.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "1.6.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"babel-watch": "2.0.7",
"chance": "1.0.10",
"concurrently": "3.5.0",
"copy-webpack-plugin": "4.0.1",
"cross-env": "5.0.5",
"css-hot-loader": "1.3.0",
"css-loader": "0.28.7",
"enzyme": "2.9.1",
"enzyme-to-json": "1.5.1",
"eslint": "4.5.0",
"eslint-config-airbnb": "15.1.0",
"eslint-config-airbnb-base": "11.3.2",
"eslint-plugin-filenames": "1.2.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.3.0",
"extract-text-webpack-plugin": "3.0.0",
"html-webpack-harddisk-plugin": "0.1.0",
"html-webpack-plugin": "2.30.1",
"jest": "20.0.4",
"jsdom": "11.2.0",
"nock": "9.0.14",
"nodemon": "1.11.0",
"postcss-apply": "0.8.0",
"postcss-cssnext": "3.0.2",
"postcss-import": "10.0.0",
"postcss-loader": "2.0.6",
"react-test-renderer": "15.6.1",
"redux-mock-store": "1.2.3",
"regenerator-runtime": "0.11.0",
"rimraf": "2.6.1",
"robotstxt-webpack-plugin": "2.0.0",
"style-loader": "0.18.2",
"webpack-dev-middleware": "1.12.0",
"webpack-hot-middleware": "2.18.2",
"webpack-simple-progress-plugin": "0.0.2"
},
"dependencies": {
"babel-polyfill": "6.26.0",
"bootstrap": "next",
"fetch-everywhere": "1.0.5",
"fs-extra": "4.0.1",
"hapi": "16.5.2",
"hapi-webpack-plugin": "2.0.0",
"inert": "4.2.1",
"node-notifier": "5.1.2",
"react": "15.6.1",
"react-async-bootstrapper": "1.1.1",
"react-async-component": "1.0.0-beta.3",
"react-dom": "15.6.1",
"react-hot-loader": "next",
"react-redux": "5.0.6",
"react-router": "4.2.0",
"react-router-dom": "4.2.2",
"redux": "3.7.2",
"redux-devtools-extension": "2.13.2",
"redux-form": "7.0.3",
"redux-saga": "0.15.6",
"serialize-javascript": "1.4.0",
"webpack": "3.5.5"
}
}