use express server
This commit is contained in:
1 parent
48cbaf1672
commit
a10e7faa17
7 files changed
+835
-10
No files matched your search
+11
-9
@@ -2,8 +2,10 @@
|
||||
"name": "zhdiary",
|
||||
"version": "1.0.0",
|
||||
"description": "My journey through Chinese language",
|
||||
"main": "index.js",
|
||||
"main": "server.js",
|
||||
"dependencies": {
|
||||
"express": "^4.17.1",
|
||||
"husky": "^3.0.3",
|
||||
"hyperscript": "^2.0.2",
|
||||
"jstransformer-markdown-it": "^2.1.0",
|
||||
"p-iteration": "^1.1.8",
|
||||
@@ -12,17 +14,17 @@
|
||||
"webpack": "^4.39.1",
|
||||
"webpack-merge": "^4.2.1"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "cogear",
|
||||
"build": "cogear build",
|
||||
"deploy": "cogear build && cd public && surge",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"scripts": {},
|
||||
"author": "Pacharapol Withayasakpunt",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/patarapolw/zhdiary"
|
||||
"url": "https://github.com/patarapolw/zhdiary.git"
|
||||
},
|
||||
"homepage": "https://zhdiary.surge.sh"
|
||||
"homepage": "https://zhdiary.herokuapp.com",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "cogear build"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user