Skip to content

Commit 312c9ee

Browse files
authored
Merge pull request #868 from actions/npm-scripts
Update npm scripts
2 parents 15d3a79 + fb83b27 commit 312c9ee

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

Diff for: dist/index.js

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/index.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/sourcemap-register.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+6-6
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)