-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
57 lines (57 loc) · 2.16 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
{
"name": "hyperactiv-hooks-isomorphic",
"version": "1.0.0",
"description": "",
"main": "dist/server/index.js",
"scripts": {
"analyze": "source-map-explorer 'dist/client/client.*.js'",
"clean": "rimraf dist",
"build": "npm run lint && npm run clean && npm run build:client && npm run build:server",
"build:client": "parcel build src/client/index.html -d dist/client --public-url /public/client",
"build:server": "parcel build src/server/index.js --target node --bundle-node-modules -d dist/server",
"watch:client": "parcel watch src/client/index.html -d dist/client --public-url /public/client",
"watch:server": "parcel watch src/server/index.js --target node --bundle-node-modules -d dist/server",
"serve": "node --preserve-symlinks dist/server/index.js",
"dev": "npm run clean && concurrently --kill-others-on-fail \"npm run watch:client\" \"wait-on ./dist/client/parcel-manifest.json && npm run watch:server\" \"wait-on dist/server/index.js && nodemon --watch dist/server dist/server/index.js\"",
"prod": "npm run build && npm run serve",
"lint": "eslint src",
"start": "npm run serve"
},
"author": "",
"license": "ISC",
"browserslist": "> 2%, not dead, not IE > 0",
"dependencies": {
"compression": "^1.7.4",
"express": "^4.17.1",
"hyperactiv": "^0.7.2",
"node-fetch": "^2.6.0",
"normaliz": "^0.1.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.9.0",
"universal-router": "^8.2.0",
"wretch": "^1.5.2"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@hot-loader/react-dom": "^16.8.6",
"babel-eslint": "^10.0.1",
"babel-plugin-module-resolver": "^3.2.0",
"concurrently": "^4.1.0",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"nodemon": "^1.19.1",
"parcel-bundler": "^1.12.3",
"parcel-plugin-bundle-manifest": "^0.2.0",
"posthtml-include": "^1.2.0",
"sass": "^1.20.3",
"source-map-explorer": "^1.8.0",
"wait-on": "^3.2.0"
},
"alias": {
"react-dom": "@hot-loader/react-dom"
}
}