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 }}
strategy:
matrix:
node: ['10.x', '12.x', '14.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
node: ["10.x", "12.x", "14.x"]
os: [ubuntu-latest, macOS-latest]
steps:
- name: Checkout repo

5
package-lock.json generated
View File

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

View File

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