generated from patrickleet/streaming-ssr-react-styled-components
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 loc) · 2.7 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
{
"name": "stream-all-the-things",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "npm run generate-imported-components && parcel app/index.html --hmr-port 1235",
"dev:server": "nodemon -e js,jsx,html --ignore dist --ignore app/imported.js --exec \"npm run build && npm run start\"",
"lint": "prettier-standard 'app/**/*.js' 'app/**/*.jsx' 'server/**/*.js' --lint",
"lint:fix": "prettier-standard 'app/**/*.js' 'app/**/*.jsx' 'server/**/*.js' --lint --fix",
"format": "prettier-standard 'app/**/*.js' 'app/**/*.jsx' 'server/**/*.js' --format",
"build": "rimraf dist && npm run generate-imported-components && npm run create-bundles",
"build:nginx": "rimraf dist && npm run generate-imported-components && npm run create-bundle:nginx",
"create-bundles": "concurrently \"npm run create-bundle:client\" \"npm run create-bundle:server\"",
"create-bundle:client": "cross-env BABEL_ENV=client parcel build app/index.html -d dist/client --public-url /dist/client",
"create-bundle:nginx": "cross-env BABEL_ENV=client parcel build app/index.html -d dist/client --public-url .",
"create-bundle:server": "cross-env BABEL_ENV=server parcel build server/index.js -d dist/server --public-url /dist --target=node",
"generate-imported-components": "imported-components app app/imported.js",
"start": "node dist/server",
"test": "cross-env BABEL_ENV=test jest --config jest.json",
"test:watch": "cross-env BABEL_ENV=test jest --config jest.json --watch"
},
"lint-staged": {
"*.js": [
"prettier-standard --lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test"
}
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"express-prom-bundle": "^6.0.0",
"llog": "^0.2.0",
"pino": "^5.16.0",
"prom-client": "^12.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-helmet-async": "^1.0.4",
"react-imported-component": "^6.2.1",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"styled-components": "^5.0.1",
"through": "^2.3.8"
},
"devDependencies": {
"@babel/core": "7.8.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/polyfill": "7.8.7",
"@babel/preset-env": "7.8.7",
"@babel/preset-react": "7.8.3",
"babel-jest": "25.1.0",
"concurrently": "5.1.0",
"cross-env": "7.0.2",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"husky": "4.2.3",
"jest": "25.1.0",
"lint-staged": "10.0.8",
"nodemon": "2.0.2",
"parcel-bundler": "1.12.4",
"prettier-standard": "16.2.1",
"react-hot-loader": "4.12.20",
"rimraf": "3.0.2"
}
}