-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.56 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
{
"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\"",
"format": "prettier-standard 'app/**/*.js' 'app/**/*.jsx' 'server/**/*.js'",
"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": {
"linters": {
"**/*.js": [
"prettier-standard",
"git add"
],
"**/*.jsx": [
"prettier-standard",
"git add"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test"
}
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.16.4",
"llog": "^0.2.0",
"pino": "^5.10.6",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-helmet-async": "^0.2.0",
"react-imported-component": "^5.3.0",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"styled-components": "^4.1.3",
"through": "^2.3.8"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-jest": "^24.0.0",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.8.0",
"husky": "^1.3.1",
"jest": "^24.0.0",
"lint-staged": "^8.1.0",
"nodemon": "^1.18.9",
"parcel-bundler": "^1.11.0",
"prettier-standard": "^9.1.1",
"react-hot-loader": "^4.6.3",
"rimraf": "^2.6.3"
}
}