-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
147 lines (147 loc) · 5.23 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "reactjs-boilerplate",
"version": "0.3.1",
"private": true,
"description": "",
"license": "BSD-3-Clause",
"workspaces": [
"api-server",
"client",
"server"
],
"dependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-do-expressions": "^7.8.3",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
"@babel/plugin-proposal-function-bind": "^7.8.3",
"@babel/plugin-proposal-function-sent": "^7.8.3",
"@babel/plugin-proposal-json-strings": "^7.8.3",
"@babel/plugin-proposal-logical-assignment-operators": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-numeric-separator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-proposal-pipeline-operator": "^7.8.3",
"@babel/plugin-proposal-throw-expressions": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-flow": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/register": "^7.8.3",
"babel-plugin-module-resolver": "^4.0.0",
"cross-env": "^6.0.3",
"set-value": "^3.0.1",
"webpack": "^4.41.5"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@bitchcraft/injector": "^1.1.3",
"@hot-loader/react-dom": "^16.11.0",
"@toanzzz/jsdoc-webpack-plugin": "^0.2.0",
"autoprefixer": "^9.7.4",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^1.0.2",
"cache-loader": "^4.1.0",
"css-loader": "^3.4.2",
"docdash": "git+https://github.com/zGrav/docdash.git#unrequizzled-patch-1",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-formatter-pretty": "^3.0.1",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-flowtype-errors": "^4.1.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.0",
"eventsource-polyfill": "^0.9.6",
"expect": "^24.9.0",
"fetch-mock": "^8.3.1",
"file-loader": "^5.0.2",
"flow-bin": "^0.116.1",
"handlebars": "^4.7.2",
"handlebars-loader": "^1.7.1",
"hbs-cli": "^1.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"jest-matchers": "^20.0.3",
"jsdoc": "git+https://github.com/zGrav/jsdoc.git#unrequizzled-patch-1",
"jsdoc-babel": "^0.5.0",
"less-loader": "^5.0.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.13.1",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"react-hot-loader": "^4.12.18",
"sass-loader": "^8.0.2",
"terser-webpack-plugin": "^2.3.2",
"thread-loader": "^2.1.3",
"url-loader": "^3.0.0",
"webpack-cli": "^3.3.10",
"webpack-hot-middleware": "^2.25.0"
},
"jest": {
"moduleNameMapper": {
"^.+\\.(css|scss|scsshbs)$": "identity-obj-proxy"
},
"unmockedModulePathPatterns": [
"react",
"babel-loader",
"@babel/plugin-transform-runtime",
"react-test-renderer",
"jquery",
"babel-jest",
"identity-obj-proxy"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"config": {
"hostname": "localhost",
"logpath": "api-server:*,server:*,webpack:*,-webpack:dev:*",
"port": 3001
},
"scripts": {
"build:docker": "run-s build:docker:*",
"build:docker:backend": "cross-env-shell docker build -f Dockerfile.backend --no-cache -t ${npm_package_name}_backend:$npm_package_version .",
"build:docker:frontend": "cross-env-shell docker build -f Dockerfile.frontend --no-cache -t ${npm_package_name}_frontend:$npm_package_version .",
"bundle": "run-s prestart bundle:js render:template",
"bundle:js": "cross-env yarn install && cross-env BABEL_ENV=production NODE_ENV=production webpack",
"docs": "jsdoc -c jsdoc.json",
"flow": "flow",
"lint": "eslint --cache --format=eslint-formatter-pretty .",
"nodemon": "nodemon --config nodemon.json --exec yarn run run-p run:local:*",
"prestart": "yarn install && yarn run test",
"render:template": "mkdirp ./build && hbs --data '{ \"bundle\": \"bundle.js\" }' ./server/views/index.handlebars -o ./build",
"run:docker": "run-p run:docker:*",
"run:docker:backend": "cross-env-shell docker run -i --rm -p 3001:3001 ${npm_package_name}_backend:$npm_package_version",
"run:docker:frontend": "cross-env-shell docker run -i --rm -p 3000:3000 ${npm_package_name}_frontend:$npm_package_version",
"run:local:api-server": "cross-env NODE_ENV=development DEBUG=$npm_package_config_logpath node --max_old_space_size=4096 api-server/index.js",
"run:local:dev-server": "cross-env NODE_ENV=development WEBPACK_HOT=true API_ENDPOINT=//$npm_package_config_hostname:$npm_package_config_port DEBUG=$npm_package_config_logpath node --max_old_space_size=4096 server/index.js",
"start": "yarn run nodemon",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"test": "jest"
},
"author": {
"name": "Josh Li",
"url": "https://github.com/maddrag0n"
},
"contributors": [
{
"name": "Thiemo Krause",
"url": "https://github.com/thiemok"
},
{
"name": "David Silva",
"url": "https://github.com/zGrav"
}
]
}