added appveyor and package infos

This commit is contained in:
Nicolas Constant 2019-04-04 23:23:09 -04:00
parent ba49d0cf6a
commit 749c455e5f
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
4 changed files with 1250 additions and 64 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/release
/dist
/dist-server
/tmp

22
appveyor.yml Normal file
View File

@ -0,0 +1,22 @@
os: unstable
cache:
- node_modules
environment:
GH_TOKEN:
secure: wRRBU0GXTmTBgZBs2PGSaEJWOflynAyvp3Nc/7e9xmciPfkUCQAXcpOn0jIYmzpb
matrix:
- nodejs_version: 6
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install -g npm@latest
- set PATH=%APPDATA%\npm;%PATH%
- npm install
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
test_script:
- npm run dist

1114
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,15 @@
{
"name": "sengi",
"version": "0.0.0",
"version": "0.5.0",
"license": "AGPL-3.0-or-later",
"main": "main-electron.js",
"author": {
"name": "Nicolas Constant"
},
"repository": {
"type": "git",
"url": "https://github.com/NicolasConstant/sengi.git"
},
"scripts": {
"ng": "ng",
"start": "ng serve",
@ -12,7 +19,8 @@
"lint": "ng lint",
"e2e": "ng e2e",
"electron": "ng build --prod && electron .",
"electron-debug": "ng build && electron ."
"electron-debug": "ng build && electron .",
"dist": "npm run build && build --publish onTagOrDraft"
},
"private": true,
"dependencies": {
@ -34,7 +42,6 @@
"@ngxs/store": "^3.2.0",
"bootstrap": "^4.1.3",
"core-js": "^2.5.4",
"electron": "^4.0.6",
"ionicons": "^4.4.3",
"rxjs": "^6.4.0",
"tslib": "^1.9.0",
@ -49,6 +56,8 @@
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"electron": "^4.0.6",
"electron-builder": "^20.39.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
@ -61,5 +70,45 @@
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "~3.2.4"
},
"optionalDependencies": {
"jquery": "1.9.1 - 3",
"popper.js": "^1.14.7"
},
"build": {
"productName": "Sengi",
"appId": "org.sengi.desktop",
"directories": {
"output": "release"
},
"files": [
"dist/",
"node_modules/",
"main-electron.js",
"package.json"
],
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": "nsis"
},
"linux": {
"target": [
"AppImage",
"deb"
]
}
}
}