Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Commit d430a9c

Browse files
committed
Merge branch 'release/1.0.0'
2 parents 851877c + 8fcd4bd commit d430a9c

40 files changed

+9046
-673
lines changed

.compilerc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"env": {
3+
"development": {
4+
"application/javascript": {
5+
"presets": [
6+
[
7+
"env",
8+
{
9+
"targets": {
10+
"electron": "1.6"
11+
}
12+
}
13+
],
14+
"react"
15+
],
16+
"plugins": [
17+
"transform-async-to-generator"
18+
],
19+
"sourceMaps": "inline"
20+
}
21+
},
22+
"production": {
23+
"application/javascript": {
24+
"presets": [
25+
[
26+
"env",
27+
{
28+
"targets": {
29+
"electron": "1.6"
30+
}
31+
}
32+
],
33+
"react"
34+
],
35+
"plugins": [
36+
"transform-async-to-generator"
37+
],
38+
"sourceMaps": "none"
39+
}
40+
}
41+
}
42+
}

.eslintrc

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"extends": [
3+
"standard",
4+
"plugin:vue/recommended",
5+
"plugin:import/errors",
6+
"plugin:import/warnings"
7+
],
8+
"env": {
9+
"node": true,
10+
"mocha": true
11+
},
12+
"plugins": ["import", "html"],
13+
"parserOptions": {
14+
"ecmaVersion": 8
15+
},
16+
"settings": {
17+
"html/indent": "+4",
18+
"html/html-extensions": [".html"]
19+
},
20+
"rules": {
21+
"curly": ["error", "multi-or-nest"],
22+
"comma-dangle": ["error", "always-multiline"],
23+
"prefer-const": "error",
24+
"import/extensions": "off",
25+
"import/order": ["error", { "newlines-between": "never" }],
26+
"import/no-extraneous-dependencies": "off",
27+
"import/no-unresolved": ["error", { "ignore": ["electron"] }],
28+
"linebreak-style": ["error", "unix"],
29+
"key-spacing": ["error", {
30+
"align": {
31+
"beforeColon": false,
32+
"afterColon": true,
33+
"on": "colon"
34+
},
35+
}],
36+
"quote-props": ["error", "as-needed"],
37+
"object-curly-spacing": ["error", "always"],
38+
"no-var": "error"
39+
}
40+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ build/Release
2626
# Dependency directory
2727
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
2828
node_modules
29+
out

.travis.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
os:
2+
- linux
3+
dist: trusty
4+
sudo: false
5+
language: node_js
6+
node_js:
7+
- lts/*
8+
matrix:
9+
include:
10+
- env: BUILD_ARCH=x64
11+
addons:
12+
apt:
13+
packages:
14+
- rpm
15+
- dpkg
16+
- fakeroot
17+
- libudev-dev
18+
- libxss1
19+
- libgtk2.0-0
20+
- libgconf-2-4
21+
- libnss3
22+
- libxtst6
23+
- libasound2
24+
- libusb-0.1-4
25+
- libusb-1.0-0
26+
- env: BUILD_ARCH=ia32
27+
addons:
28+
apt:
29+
packages:
30+
- rpm
31+
- dpkg
32+
- fakeroot
33+
- multiarch-support
34+
- libudev-dev:i386
35+
- libxss1:i386
36+
- libgtk2.0-0:i386
37+
- libgconf-2-4:i386
38+
- libnss3:i386
39+
- libxtst6:i386
40+
- libasound2:i386
41+
- libusb-0.1-4:i386
42+
- libusb-1.0-0:i386
43+
- gcc-multilib
44+
- g++-multilib
45+
allow_failures:
46+
- env: BUILD_ARCH=ia32
47+
fast_finish: true
48+
cache:
49+
directories:
50+
- $HOME/.npm
51+
- $(npm config get prefix)/lib/node_modules
52+
- $(npm config get prefix)/bin/electron-forge
53+
- node_modules
54+
install:
55+
- electron-forge --version || npm install -g electron-forge
56+
- npm install --ignore-scripts
57+
- node node_modules/electron-chromedriver/download-chromedriver.js
58+
before_script:
59+
- "export DISPLAY=:99.0"
60+
- "sh -e /etc/init.d/xvfb start"
61+
- sleep 3
62+
script:
63+
- npm run lint
64+
- electron-forge make -a $BUILD_ARCH
65+
- npm run test
66+
after_failure:
67+
- cat $HOME/recta-error.log
68+
notifications:
69+
slack: recta-project:4FFGkXeZXIJdPYi3Xkp6i9YK
70+
deploy:
71+
provider: releases
72+
api_key:
73+
secure: UXy9Qxc/tBB/3lhMASY34snXtmO/urwoF+zYAUcauFQtxLeJ5x0uqW+BfOffaJd1ZlknrvRzaBg55Sy+SUaq96QaPyBQHTx5zm/AFsv6/uub9fBOBOUHyKJOzh3f3FEfb+/YeqzCAlH3BvnK4RUOCyasg//XxgNqFg6lyRF/+LfKj803+xeoZNptompNa4GPiJhCXyNn5/DEQ/1xJdSq3r12hZh+YPE5scGCyXfxx0gAKfCnhpnHXSmQkmk8xlRkwkg3qVezvCrYgEl9VRt0lkTLGeqQea5/cOsyonSL/diemNsOuPHjJl6Y4oR7MgHh/hnm9AIn6I3ihazhCDNIX7G/FQnsukQoYcDVjJ83pd7/frk30LfLzpNAbJzHJZC1HvcS5pX4L8dcoEBknTv+miOIsLzIq5kIw7GA2wcQGX3FR9Ny/FOu58EX7CmZ8jpSNzJjF/CKkXT7vHsajnpANvfnvXOcyPZ0LbAtwAaDo/+VoUV4ShY2Tq4ue4omwm/io98A/Uh4EAO3teREtwuLL7Z2olxiRffHepmCRr2bqGsN+qWWAHwItpKAGiKo98XiyvfEOYOne/kOloe7aoj3VzrNzSQ4rGCmt5d/7ggUWIX2nLZPMrZtTHkWoF8jHMP3MphlPmcfKuSlEolifs96C574dR8UYB56jTu3JKPDKt8=
74+
file_glob: true
75+
file: out/make/*
76+
draft: true
77+
tag_name: $TRAVIS_TAG
78+
skip_cleanup: true
79+
on:
80+
tags: true

0 commit comments

Comments
 (0)