Skip to content

Commit

Permalink
Merge branch 'main' into 1058_code_style
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyliang220 authored Feb 25, 2021
2 parents c9ac829 + 9577d74 commit 7ea5b54
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"ontents",
"parallelised",
"patentpolicy",
"pinst",
"prevrecuri",
"prevversionuri",
"Pubrules",
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint && npm run hint && npm run cspell
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "specberus",
"version": "5.5.2",
"version": "5.5.3",
"description": "Specberus is a checker used at W3C to validate the compliance of Technical Reports with publication rules.",
"license": "MIT",
"main": "lib/validator",
Expand All @@ -12,37 +12,38 @@
"compression": "1.7.4",
"cors": "2.8.5",
"express": "4.17.1",
"express-handlebars": "5.2.0",
"express-handlebars": "5.2.1",
"insafe": "0.5.0",
"jsdom": "16.4.0",
"metaviewport-parser": "0.2.0",
"morgan": "1.10.0",
"node-w3capi": "1.9.0",
"promise": "8.1.0",
"puppeteer": "5.5.0",
"puppeteer": "7.1.0",
"request": "2.88.2",
"socket.io": "3.1.0",
"socket.io": "3.1.1",
"superagent": "6.1.0"
},
"devDependencies": {
"chai": "4.2.0",
"chai": "4.3.0",
"chai-as-promised": "7.1.1",
"cspell": "5.2.4",
"eslint": "7.19.0",
"eslint": "7.20.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "31.6.0",
"eslint-plugin-jsdoc": "32.2.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"expect.js": "0.3",
"husky": "^4.2.5",
"husky": "5.1.1",
"jsdoc": "3.6.6",
"minami": "1.2.3",
"mocha": "8.2.1",
"mocha": "8.3.0",
"nodemon": "2.0.7",
"nyc": "15.1.0",
"prettier": "2.2.1"
"pinst": "2.1.6"
},
"scripts": {
"audit": "npm audit | grep -oE 'https?\\:\\/\\/(www\\.)?(nodesecurity\\.io|npmjs\\.com)\\/advisories\\/[[:digit:]]+' | rev | cut -d '/' -f 1 | rev | diff known-vulns.txt -",
Expand All @@ -54,12 +55,10 @@
"coverage": "nyc npm test",
"build": "npm run lint && npm run test && npm run jsdoc",
"live": "nodemon --use_strict app",
"start": "node --use_strict app"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run cspell"
}
"start": "node --use_strict app",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"engines": {
"node": "14",
Expand Down

0 comments on commit 7ea5b54

Please sign in to comment.