Skip to content

Commit

Permalink
Update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Nov 30, 2023
1 parent 6714259 commit f70b27a
Show file tree
Hide file tree
Showing 14 changed files with 588 additions and 256 deletions.
26 changes: 21 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
"node": ">= 18"
},
"scripts": {
"test:lint": "standard",
"test:lint": "eslint .",
"test:converage": "c8 pnpm unit",
"test": "pnpm run /^test:/",
"unit": "node --test test/*.test.js",
"docs": "jsdoc2md src/*.js > DOCS.md",
"clean": "npx rimraf ./coverage",
"release": "standard-version"
"clean": "npx rimraf ./coverage"
},
"funding": [
{
Expand All @@ -34,17 +33,25 @@
"yaml": "^2.3.4"
},
"devDependencies": {
"@logux/eslint-config": "^52.0.2",
"@types/node": "^20.10.0",
"@types/postcss-import": "^14.0.3",
"c8": "^8.0.1",
"clean-publish": "^4.2.0",
"cssnano": "^6.0.1",
"eslint": "^8.54.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-perfectionist": "^2.5.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"jiti": "^1.21.0",
"jsdoc-to-markdown": "^8.0.0",
"postcss": "^8.4.31",
"postcss-import": "^15.1.0",
"postcss-nested": "^6.0.1",
"standard": "^17.1.0",
"sugarss": "^4.0.1",
"typescript": "5.3.2"
},
Expand All @@ -60,12 +67,21 @@
"optional": true
}
},
"eslintConfig": {
"extends": "@logux/eslint-config"
},
"c8": {
"exclude": [
"test/**/*"
],
"lines": 100,
"check-coverage": true
"check-coverage": true,
"reporter": [
"text",
"lcov"
],
"skip-full": true,
"clean": true
},
"prettier": {
"arrowParens": "avoid",
Expand Down

0 comments on commit f70b27a

Please sign in to comment.