Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: use vite build tools to replace the outdated gulp and browserify to support ledger clear signing requirement #239

Draft
wants to merge 8 commits into
base: gh-pages
Choose a base branch
from
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

33 changes: 3 additions & 30 deletions .eslintrc → .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,37 +1,10 @@
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"impliedStrict": true,
"modules": true,
"blockBindings": true,
"arrowFunctions": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"templateStrings": true,
"classes": true,
"jsx": true
},
},

module.exports = {
"env": {
"es6": true,
"node": true,
"browser": true,
"mocha" : true
"jest": true
},

"plugins": [
"mocha",
"chai",
"json"
],

"globals": {},

"rules": {
"no-restricted-globals": ["error", "event"],
"accessor-pairs": 2,
Expand Down Expand Up @@ -149,6 +122,6 @@
"wrap-iife": [2, "any"],
"yield-star-spacing": [2, "both"],
"yoda": [2, "never"],
"prefer-const": 1,
"prefer-const": 1
}
}
74 changes: 21 additions & 53 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,24 @@ logs
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

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

# 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

# dotenv environment variables file
.env

pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
# all projects setting files from IDEs
.idea/*

.yarn/cache
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Loading