Skip to content

Commit

Permalink
package.json whitespace. Prettier config tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Sep 21, 2024
1 parent d6f79e1 commit f48752f
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 66 deletions.
124 changes: 62 additions & 62 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
{
"name": "biscuitman",
"version": "0.5.2",
"description": "Super lightweight open-source privacy consent manager for your website ",
"browser": "biscuitman.js",
"keywords": [
"privacy",
"cookie",
"cookies",
"trackers",
"cookie-consent",
"gdpr",
"consents",
"consent-manager"
],
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "node ./run.js build serve",
"build": "node ./run.js build",
"report": "node ./run.js report",
"test": "node --experimental-vm-modules --disable-warning=ExperimentalWarning ./node_modules/jest/bin/jest.js --verbose --runInBand --openHandlesTimeout=2000",
"lint": "eslint",
"coverage": "node --experimental-vm-modules --disable-warning=ExperimentalWarning ./node_modules/jest/bin/jest.js --runInBand --openHandlesTimeout=2000 --collectCoverage --",
"makecerts": "mkcert -cert-file server.crt -key-file server.key localhost 127.0.0.1 ::1",
"http": "npx http-server -p 8000 -a 0.0.0.0"
},
"test": "npm run test",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-for-of": "^7.24.7",
"@babel/preset-env": "^7.25.4",
"@eslint/js": "^9.10.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/core": "^1.7.26",
"@swc/jest": "^0.2.36",
"browser-sync": "^3.0.2",
"browserslist": "^4.23.3",
"dialog-polyfill": "^0.5.6",
"doiuse": "^6.0.2",
"eslint": "^9.10.0",
"globals": "^15.9.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"jest-puppeteer": "^10.1.1",
"lightningcss": "^1.27.0",
"puppeteer": "^23.4.0",
"rollup": "^4.21.3"
},
"browserslist": ">= 2%, last 2 years",
"author": "replete",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/replete/biscuitman.git"
},
"bugs": {
"url": "https://github.com/replete/biscuitman/issues"
},
"funding": "https://buymeacoffee.com/replete",
"homepage": "https://replete.github.io/biscuitman"
"name": "biscuitman",
"version": "0.5.2",
"description": "Super lightweight open-source privacy consent manager for your website ",
"browser": "biscuitman.js",
"keywords": [
"privacy",
"cookie",
"cookies",
"trackers",
"cookie-consent",
"gdpr",
"consents",
"consent-manager"
],
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "node ./run.js build serve",
"build": "node ./run.js build",
"report": "node ./run.js report",
"test": "node --experimental-vm-modules --disable-warning=ExperimentalWarning ./node_modules/jest/bin/jest.js --verbose --runInBand --openHandlesTimeout=2000",
"lint": "eslint",
"coverage": "node --experimental-vm-modules --disable-warning=ExperimentalWarning ./node_modules/jest/bin/jest.js --runInBand --openHandlesTimeout=2000 --collectCoverage --",
"makecerts": "mkcert -cert-file server.crt -key-file server.key localhost 127.0.0.1 ::1",
"http": "npx http-server -p 8000 -a 0.0.0.0"
},
"test": "npm run test",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-for-of": "^7.24.7",
"@babel/preset-env": "^7.25.4",
"@eslint/js": "^9.10.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/core": "^1.7.26",
"@swc/jest": "^0.2.36",
"browser-sync": "^3.0.2",
"browserslist": "^4.23.3",
"dialog-polyfill": "^0.5.6",
"doiuse": "^6.0.2",
"eslint": "^9.10.0",
"globals": "^15.9.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"jest-puppeteer": "^10.1.1",
"lightningcss": "^1.27.0",
"puppeteer": "^23.4.0",
"rollup": "^4.21.3"
},
"browserslist": ">= 2%, last 2 years",
"author": "replete",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/replete/biscuitman.git"
},
"bugs": {
"url": "https://github.com/replete/biscuitman/issues"
},
"funding": "https://buymeacoffee.com/replete",
"homepage": "https://replete.github.io/biscuitman"
}
1 change: 1 addition & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
const config = {
trailingComma: 'none',
tabWidth: 4,
useTabs:true,
semi: false,
singleQuote: true,
printWidth: 120
Expand Down
7 changes: 3 additions & 4 deletions src/biscuitman.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
padding: 20px;
background: var(--bg);
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.16);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Helvetica, Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
box-sizing: border-box;
z-index: 3;
display:none;
Expand Down Expand Up @@ -81,12 +80,12 @@
border-radius: 3px;
cursor: pointer;

&[data-id='accept'] {
&[data-id=accept] {
background: var(--c);
color: var(--bg) !important;
}

&[data-id='close'] {
&[data-id=close] {
border: none;
outline: none;
position: absolute;
Expand Down

0 comments on commit f48752f

Please sign in to comment.