mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 06:29:28 -07:00
feat: replace standard with eslint
This commit is contained in:
parent
46cffbf056
commit
dc0806e738
2 changed files with 236 additions and 534 deletions
12
package.json
12
package.json
|
@ -31,14 +31,18 @@
|
|||
"chai-as-promised": "^7.1.1",
|
||||
"chai-match-pattern": "^1.2.0",
|
||||
"clean-jsdoc-theme": "^3.2.4",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-n": "^15.7.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"husky": "^7.0.0",
|
||||
"jsdoc": "^3.6.6",
|
||||
"license-check-and-add": "^4.0.3",
|
||||
"lint-staged": "^11.0.0",
|
||||
"minify": "^9.1",
|
||||
"mocha": "^9.2.0",
|
||||
"nodemon": "^2.0.19",
|
||||
"standard": "^16.0.3"
|
||||
"nodemon": "^2.0.19"
|
||||
},
|
||||
"scripts": {
|
||||
"release": "yarn run test && yarn run release:bundle && yarn run release:minify",
|
||||
|
@ -48,8 +52,8 @@
|
|||
"license:add": "./node_modules/.bin/license-check-and-add add",
|
||||
"license:remove": "./node_modules/.bin/license-check-and-add remove",
|
||||
"docs:lib": "./node_modules/.bin/jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json",
|
||||
"standard:check": "./node_modules/.bin/standard ./src",
|
||||
"standard:fix": "./node_modules/.bin/standard --fix ./src",
|
||||
"lint": "eslint ./src",
|
||||
"lint:fix": "eslint ./src --fix",
|
||||
"mocha": "./node_modules/.bin/mocha",
|
||||
"test": "yarn run standard:check && yarn rome check ./src/* && yarn run license:check && yarn run mocha",
|
||||
"prepare": "husky install"
|
||||
|
|
Loading…
Reference in a new issue