Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: change package.json keys (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored Dec 7, 2023
1 parent 7e4e648 commit 62525c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm ci
- run: npm run lint
- run: |
git config clangFormat.binary node_modules/.bin/clang-format
git config clangFormat.style file
npm run format:clang:check
npm run lint
build-test-matrix:
strategy:
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"scripts": {
"install": "node scripts/check-build.mjs",
"clean": "rm -rf ./lib && rm -rf build",
"lint": "eslint ./src --ext .ts",
"format": "npm run format:eslint && npm run format:clang",
"format:eslint": "eslint --fix .",
"format:clang": "./node_modules/.bin/clang-format --style=file -i ./**/*.cc ",
"format:clang:export": "./node_modules/.bin/clang-format --style=google -dump-config > .clang-format",
"format:clang:check": "./node_modules/.bin/check-clang-format --style=file",
"lint": "npm run lint:eslint && npm run lint:clang",
"lint:eslint": "eslint . --format stylish",
"lint:clang": "./node_modules/.bin/check-clang-format --style=file",
"fix": "npm run fix:eslint && npm run fix:clang",
"fix:eslint": "eslint . --format stylish --fix",
"fix:clang": "./node_modules/.bin/clang-format --style=file -i ./**/*.cc ",
"build": "npm run build:bindings && npm run build:lib",
"build:lib:esm": "node ./esbuild.esm.mjs",
"build:lib:cjs": "node ./esbuild.cjs.mjs",
Expand Down

0 comments on commit 62525c5

Please sign in to comment.