Skip to content

Commit a1e8c04

Browse files
committed
Update npm scripts
1 parent 4d82e5a commit a1e8c04

5 files changed

Lines changed: 11 additions & 22 deletions

File tree

dist/index.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sourcemap-register.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
},
2626
"scripts": {
2727
"bundle": "npm run format:write && npm run package",
28-
"ci-test": "jest",
29-
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
30-
"format:write": "prettier --write **/*.ts",
31-
"format:check": "prettier --check **/*.ts",
28+
"ci-test": "npx jest",
29+
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
30+
"format:write": "npx prettier --write .",
31+
"format:check": "npx prettier --check .",
3232
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
33-
"package": "ncc build src/index.ts --license licenses.txt",
33+
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
3434
"package:watch": "npm run package -- --watch",
35-
"test": "jest",
35+
"test": "npx jest",
3636
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
3737
},
3838
"license": "MIT",

0 commit comments

Comments
 (0)