Update config.json.sample (#253)

* Update package.json

* Update CI tools (#248)

* chore: ci tools updates

* ci tools updates

* chore: update ci

* update dev tools (#249)

* chore: ci tools updates

* ci tools updates

* chore: update ci

* build tools update

* chore: udpate dev tools

* Update config.json.sample

fix: lost comma in config.json.sample

Co-authored-by: Bill Church <billchurch@users.noreply.github.com>
This commit is contained in:
James Yang 2021-07-03 22:14:51 +08:00 committed by GitHub
parent 95f0c3f240
commit 4b38a398cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 4012 additions and 78 deletions

View file

@ -1,21 +0,0 @@
{
"critics": {
"lint": {
"engine": "standard"
},
"wc": {
"limit": 5000
}
},
"dependencies": {
"mute": [
"read-config-ng",
"socket.io",
"standard",
"bithound"
]
},
"ignore": [
"public/webssh2.bundle.js",
]
}

View file

@ -1,36 +0,0 @@
---
engines:
csslint:
enabled: true
exclude_paths:
- "client/public/*"
duplication:
exclude_paths:
- "client/public/*"
- "workspace/*"
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- "node_modules/"
- "client/public/*"
- "workspace/*"

View file

@ -1,4 +1,6 @@
language: node_js
node_js:
- 6
- 10
- 14
- 16
before_install:
- npm i -g snyk

15
Jenkinsfile vendored
View file

@ -1,15 +0,0 @@
pipeline {
agent {
docker {
image 'node:6-alpine'
args '-p 3000:3000'
}
}
stages {
stage('Build') {
steps {
sh 'npm install'
}
}
}
}

2
Makefile Normal file
View file

@ -0,0 +1,2 @@
test:
cd ./app; npm run test

View file

@ -1,4 +1,4 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.1
version: v1.19.0
ignore: {}
patch: {}

View file

@ -9,7 +9,7 @@
"user": {
"name": null,
"password": null,
"privatekey": null
"privatekey": null,
"overridebasic": false
},
"ssh": {

4003
app/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -26,7 +26,7 @@
}
],
"engines": {
"node": ">= 6"
"node": ">= 14"
},
"bugs": {
"url": "https://github.com/billchurch/WebSSH2/issues"
@ -72,6 +72,7 @@
"nodaemon": "0.0.5",
"prettier": "^2.3.0",
"snazzy": "^9.0.0",
"snyk": "^1.603.0",
"socket.io-client": "^4.1.1",
"source-map-loader": "^2.0.1",
"standard-version": "^9.3.0",