build: replace npm with pnpm

Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
Ardalan Amini committed 2023-04-29 14:04:19 +03:30
1 parent 94ac0796b7
commit 1e734abbf9
1 file changed
+3 -3
+3 -3
View File
@@ -24,12 +24,12 @@
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"lint": "eslint src", "lint": "eslint src",
"lint:fix": "npm run lint -- --fix", "lint:fix": "pnpm lint -- --fix",
"lint:format": "prettier --write src", "lint:format": "prettier --write src",
"build": "tsc", "build": "tsc",
"build:watch": "npm run build -- --watch", "build:watch": "pnpm build -- --watch",
"package": "ncc build --out action --minify --source-map --license licenses.txt", "package": "ncc build --out action --minify --source-map --license licenses.txt",
"all": "npm run lint:fix && npm run build && npm run package", "all": "pnpm lint:fix && pnpm build && pnpm package",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"dependencies": { "dependencies": {