fix: replace pnpm with npm in scripts

This commit is contained in:
Sam Potts 2023-03-10 07:26:37 +11:00
parent 2b3e483b36
commit 874bb8d3e8

View File

@ -30,12 +30,12 @@
}, },
"browserslist": "> 1%", "browserslist": "> 1%",
"scripts": { "scripts": {
"postinstall": "pnpm build", "postinstall": "npm run build",
"build": "gulp build", "build": "gulp build",
"lint": "eslint src/js && pnpm remark && stylelint **/*.scss", "lint": "eslint src/js && npm run remark && stylelint **/*.scss",
"lint:fix": "eslint --fix src/js && stylelint **/*.scss --fix", "lint:fix": "eslint --fix src/js && stylelint **/*.scss --fix",
"remark": "remark -f --use 'validate-links=repository:\"sampotts/plyr\"' '{,!(node_modules),.?**/}*.md'", "remark": "remark -f --use 'validate-links=repository:\"sampotts/plyr\"' '{,!(node_modules),.?**/}*.md'",
"deploy": "pnpm lint && gulp version && gulp build && gulp deploy", "deploy": "npm run lint && gulp version && gulp build && gulp deploy",
"format": "prettier --write \"./{src,demo/src}/**/*.{js,scss}\"", "format": "prettier --write \"./{src,demo/src}/**/*.{js,scss}\"",
"spellcheck": "cspell \"**/*.{js,md,scss,json}\" --no-must-find-files", "spellcheck": "cspell \"**/*.{js,md,scss,json}\" --no-must-find-files",
"start": "gulp" "start": "gulp"