Skip to content

Commit

Permalink
Merge pull request #15 from VirgilSecurity/v0.3.0-alpha.0
Browse files Browse the repository at this point in the history
v0.3.0-alpha.0
  • Loading branch information
snanovskyi authored Aug 30, 2019
2 parents 3f3b364 + db4585e commit a8ff060
Show file tree
Hide file tree
Showing 61 changed files with 1,037 additions and 9,120 deletions.
25 changes: 0 additions & 25 deletions .babelrc

This file was deleted.

11 changes: 2 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Top-most EditorConfig file
root = true

# Global settings
[*]
indent_style = tab
indent_size = 4
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
VIRGIL_API_KEY=
VIRGIL_API_KEY_ID=
VIRGIL_APP_ID=
VIRGIL_API_URL=
MY_PROOF_KEYS=
MY_UPDATE_TOKEN=
34 changes: 0 additions & 34 deletions .eslintrc.js

This file was deleted.

19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"prettier/prettier": "error"
}
}
66 changes: 9 additions & 57 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,62 +1,14 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript
.DS_Store

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
.idea
.vscode

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity
node_modules
package-lock.json
yarn.lock
*.log

# dotenv environment variables file
.env

virgil_crypto_nodejs.node

dist/
.rpt2_cache
dist
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
printWidth: 100
tabWidth: 2
singleQuote: true
trailingComma: "all"
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
language: node_js
node_js:
- "6"
- "8"
- "10"
dist: trusty # needs Ubuntu Trusty
sudo: required
addons:
chrome: stable # have Travis install chrome stable.
cache:
npm: true
directories:
- node_modules
install:
- npm install
- "8"
- "10"
- "11"
- "12"
script:
- npm test
- yarn lint
- yarn test
Loading

0 comments on commit a8ff060

Please sign in to comment.