-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
164 lines (164 loc) · 5.74 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "universal-react-redux-boilerplate",
"version": "0.1.0",
"description": "",
"author": "Infinity Works",
"license": "UNLICENSED",
"engines": {
"node": ">=8"
},
"scripts": {
"start": "npm run dev",
"dev": "npm-run-all --parallel dev:build dev:serve",
"prod": "npm run prod:build && npm run prod:serve",
"clean": "rimraf dist",
"dev:build": "npm run clean && cross-env NODE_ENV=development parcel watch src/client/index.js --out-dir dist/bundles",
"dev:serve": "cross-env NODE_ENV=development BABEL_ENV=server npx nodemon --exec babel-node --ext js,jsx --delay 0.5 --watch src/ --watch test src/server/local-index.js",
"prod:build": "npm run clean && npm run prod:copy-files && npm run prod:build-server && npm run prod:build-client",
"prod:build-client": "cross-env NODE_ENV=production parcel build src/client/index.js --public-url / --out-dir dist/bundles --detailed-report",
"prod:build-server": "cd src/ && cross-env npx babel '**/*.{js,jsx}' --no-babelrc --presets react,node8 --plugins transform-class-properties,dynamic-import-node --out-dir '../dist' --ignore test.js",
"prod:copy-files": "cross-env npx copyfiles -u 1 'src/static/**/*' dist",
"prod:storybook:build": "build-storybook -o dist/storybook",
"prod:serve": "cross-env NODE_ENV=production node dist/server/local-index.js",
"test": "npm run lint && npm run test:unit && npm run test:e2e",
"lint": "npm run lint:style && npm run lint:js",
"lint:js": "npx eslint --ext jsx,js src test",
"lint:style": "stylelint 'src/**/*.js'",
"test:unit": "npx jest --config test/unit-test/jest.config.js",
"test:watch": "npm-watch",
"test:quick": "npm run lint && npm run test:unit",
"storybook": "npm run storybook:serve",
"storybook:serve": "start-storybook -p 6006 -s \"./src/static,./storybook-static\"",
"storybook:build": "build-storybook"
},
"browser": {},
"watch": {
"test:quick": {
"patterns": [
"src",
"test"
],
"extensions": "js,jsx",
"quiet": false
}
},
"postcss": {
"modules": false,
"plugins": {
"autoprefixer": {
"browsers": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 9"
],
"flexbox": "no-2009"
}
}
},
"dependencies": {
"aws-sdk": "^2.332.0",
"aws-serverless-express": "^3.3.5",
"body-parser": "^1.18.3",
"caller-callsite": "^3.0.0",
"compression": "^1.7.1",
"cookie-parser": "^1.4.3",
"dotenv": "^6.1.0",
"express": "^4.16.4",
"global-request-logger": "^0.1.1",
"helmet": "^3.15.0",
"history": "^4.7.2",
"intercom-client": "^2.10.4",
"md5": "^2.2.1",
"morgan": "^1.9.1",
"multer": "^1.4.1",
"node-fetch": "^2.2.0",
"polished": "^2.2.0",
"prop-types": "^15.6.0",
"query-string": "^6.2.0",
"react": "^16.6.3",
"react-async-bootstrapper": "^2.1.1",
"react-async-component": "^2.0.0",
"react-dom": "^16.6.3",
"react-helmet": "^5.2.0",
"react-hot-loader": "^4.3.11",
"react-redux": "^5.0.6",
"react-router-config": "^4.4.0-beta.4",
"react-router-dom": "^4.3.1",
"redux": "^4.0.0",
"redux-actions": "^2.6.1",
"redux-api-middleware": "^2.3.0",
"redux-devtools-extension": "^2.13.5",
"redux-thunk": "^2.2.0",
"regenerator-runtime": "^0.12.1",
"serialize-javascript": "^1.5.0",
"serve-favicon": "^2.4.5",
"styled-components": "^3.4.10",
"ua-parser-js": "^0.7.19",
"uuid": "^3.3.2"
},
"devDependencies": {
"@storybook/addon-actions": "^4.0.11",
"@storybook/addon-links": "^4.0.11",
"@storybook/addon-notes": "^3.3.12",
"@storybook/addon-options": "^3.3.12",
"@storybook/addon-viewport": "^3.4.10",
"@storybook/addons": "^4.0.11",
"@storybook/react": "^4.0.11",
"autoprefixer": "^9.1.5",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-styled-components": "^1.8.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-node8": "^1.2.0",
"babel-preset-react": "^6.24.1",
"cheerio": "^1.0.0-rc.2",
"copyfiles": "^2.1.0",
"core-js": "^2.5.3",
"cross-env": "^5.1.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^5.6.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-react-app": "^3.0.3",
"eslint-loader": "2.1.1",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jest": "^21.24.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.7.0",
"faker": "^4.1.0",
"github-markdown-css": "^2.10.0",
"jest": "^23.6.0",
"jest-styled-components": "^6.2.1",
"marked": "^0.6.1",
"node-while": "^1.0.1",
"nodemon": "^1.18.7",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.5.0",
"parcel-bundler": "^1.10.3",
"parcel-plugin-bundle-visualiser": "^1.0.3",
"react-router-test-context": "^0.1.0",
"react-test-renderer": "^16.5.2",
"redux-mock-store": "^1.5.3",
"rimraf": "^2.6.2",
"serverless": "^1.32.0",
"storybook-addon-styled-component-theme": "^1.0.7",
"storybook-router": "^0.3.2",
"storybook-styled-components": "^1.1.1",
"stylelint": "^9.6.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.5.0",
"wait-on": "^3.1.0"
}
}