UNPKG

cookie-though

Version:

Easy to use, minimal footprint application that manages cookie preferences. <br> So delicious, you'll never need another library again 😄

90 lines (89 loc) • 3.15 kB
{ "name": "cookie-though", "version": "v1.5.0", "license": "MIT", "homepage": "https://cookiethough.dev", "main": "dist/lib.js", "types": "dist/types/lib.d.ts", "repository": { "type": "git", "url": "https://github.com/inthepocket/cookie-though" }, "keywords": [ "cookies", "cookie", "cookie preferences", "browser", "universal" ], "files": [ "dist" ], "scripts": { "build:site": "tsc --noEmit && parcel build src/index.html --no-source-maps --global CookieThough --out-dir public --no-content-hash && ./scripts/replace_css.sh staging", "build:lib": "parcel build src/lib.ts --no-source-maps --global CookieThough --out-dir dist --experimental-scope-hoisting && ./scripts/replace_css.sh", "build:docs": "npm run build:sass && npm run build:jekyll", "dev": "parcel src/index.html --global CookieThough", "dev:site": "./scripts/site_exist.sh && npm-run-all -p serve watch:sass watch:jekyll", "types": "tsc", "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", "markdown:fix": "markdownlint '**/*.md' --ignore node_modules --fix", "prettier:fix": "npm run prettier -- --write", "prettier": "prettier \"src/**/*.{js,ts,tsx}\"", "prepare": "./scripts/postinstall-local.sh", "deploy:site": "firebase deploy --token $FIREBASE_TOKEN --only hosting:site", "deploy:docs": "firebase deploy --token $FIREBASE_TOKEN --only hosting:docs", "test": "jest", "test:coverage": "jest --coverage --reporters=jest-junit", "build:sass": "dart-sass --style=compressed docs/_scss/docs.scss:docs/jekyll/css/docs.min.css", "watch:sass": "chokidar 'docs/_scss/**/*' -c 'npm run build:sass'", "build:jekyll": "bundle exec jekyll build --trace", "watch:jekyll": "chokidar 'docs/jekyll/**' '_config.yml' -c 'npm run build:jekyll && browser-sync reload'", "serve": "browser-sync start --http --server _site" }, "eslintIgnore": [ "dist/*" ], "dependencies": { "events": "3.3.0", "lodash.throttle": "4.1.1", "preact": "10.7.1" }, "browserslist": [ "> 0.25%", "last 2 versions", "IE >= 9" ], "devDependencies": { "@babel/core": "7.17.9", "@babel/plugin-transform-react-jsx": "7.17.3", "@types/enzyme": "3.10.12", "@types/jest": "27.4.1", "@types/lodash.throttle": "4.1.7", "@typescript-eslint/eslint-plugin": "5.20.0", "@typescript-eslint/parser": "5.20.0", "browser-sync": "2.27.9", "chokidar": "3.5.3", "chokidar-cli": "3.0.0", "dart-sass": "1.25.0", "enzyme": "3.11.0", "enzyme-adapter-preact-pure": "4.0.1", "enzyme-to-json": "3.6.2", "eslint": "8.13.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-react": "7.29.4", "eslint-plugin-react-hooks": "4.4.0", "firebase-tools": "9.22.0", "jest": "27.5.1", "jest-junit": "13.1.0", "jest-preset-preact": "4.0.5", "markdownlint-cli": "0.31.1", "npe": "1.2.0", "npm-run-all": "4.1.5", "parcel-bundler": "1.12.5", "preact-render-to-string": "5.1.21", "prettier": "2.6.2", "typescript": "4.6.3" } }