disabled windows builds (I don't want to mess with settings for crlf... windows should learn to behave lol)

added npx to install-husky
removed postinstall
This commit is contained in:
Rick van Lieshout 2022-07-31 12:14:11 +02:00
parent 78411dcf57
commit a2fd789751
3 changed files with 5 additions and 6 deletions

View File

@ -7,8 +7,8 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
node: ['10.x', '12.x', '14.x'] node: ["10.x", "12.x", "14.x"]
os: [ubuntu-latest, windows-latest, macOS-latest] os: [ubuntu-latest, macOS-latest]
steps: steps:
- name: Checkout repo - name: Checkout repo

5
package-lock.json generated
View File

@ -1,13 +1,12 @@
{ {
"name": "react-cookie-consent", "name": "react-cookie-consent",
"version": "8.0.0", "version": "7.6.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "react-cookie-consent", "name": "react-cookie-consent",
"version": "8.0.0", "version": "7.6.0",
"hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"js-cookie": "^2.2.1" "js-cookie": "^2.2.1"

View File

@ -39,7 +39,7 @@
"patch": "npm --no-git-tag-version version patch", "patch": "npm --no-git-tag-version version patch",
"prepare": "tsdx build", "prepare": "tsdx build",
"prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write", "prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write",
"postinstall": "husky install", "install-husky": "npx husky install",
"publish": "npx np", "publish": "npx np",
"size": "size-limit", "size": "size-limit",
"start": "tsdx watch", "start": "tsdx watch",