From 45508994507b094ef793b04193a03dc2bff97f93 Mon Sep 17 00:00:00 2001 From: monoid Date: Mon, 22 Feb 2021 21:47:20 +0900 Subject: [PATCH] add ReadMe --- LICENSE.md | 9 +++++++++ README.md | 27 ++++++++++++++++++++++++++- package.json | 9 +++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..1421f76 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,9 @@ +The MIT License (MIT) + +Copyright (c) 2021 vi117 + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 40c0fde..0fa5cbe 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ # Ionian -내가 쓸려고 만든 거. \ No newline at end of file +Content File Management Program. +For study about nodejs, typescript and react. + +### deployment +``` +$ npm run app:build +``` + +### test +``` +$ npm run app +``` + +### server build +``` +$ npm run compile +``` + +### client build +``` +$ npm run build +``` + +## License + +MIT License \ No newline at end of file diff --git a/package.json b/package.json index bf26d02..b9577f0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,11 @@ "scripts": { "compile": "tsc", "compile:watch": "tsc -w", + "build":"cd src/client && npm run build:prod", + "build:watch":"cd src/client && npm run build:watch", "app": "electron build/app.js", + "app:build":"electron-builder", + "app:pack":"electron-builder --dir", "app:build:win64": "electron-builder --win --x64", "app:pack:win64": "electron-builder --win --x64 --dir" }, @@ -32,6 +36,11 @@ "zip" ] }, + "linux": { + "target": [ + "zip" + ] + }, "directories": { "output": "app/", "app": "."