@oddbird/css-toggles
Version:
Polyfill for the proposed CSS Toggles syntax
66 lines (65 loc) • 2.44 kB
JSON
{
"name": "@oddbird/css-toggles",
"version": "1.1.0",
"description": "Polyfill for the proposed CSS Toggles syntax",
"license": "BSD-3-Clause",
"publishConfig": {
"access": "public"
},
"author": "OddBird <birds@oddbird.net> (oddbird.net)",
"repository": {
"type": "git",
"url": "https://github.com/oddbird/css-toggles.git"
},
"bugs": "https://github.com/oddbird/css-toggles/issues",
"homepage": "https://toggles.oddbird.net",
"keywords": [
"css",
"polyfill",
"toggle"
],
"type": "module",
"main": "dist/css-toggles.js",
"module": "dist/css-toggles.js",
"files": [
"README.md",
"src/**/*.js",
"dist/css-toggles.iife.min.js",
"dist/css-toggles.min.js",
"dist/css-toggles.js",
"package.json"
],
"scripts": {
"build:iife:minified": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.iife.min.js --format=iife --minify",
"build:esm:minified": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.min.js --format=esm --minify",
"build:esm:debug": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.js --format=esm",
"build": "rm -rf dist && yarn build:esm:debug && yarn build:esm:minified && yarn build:iife:minified",
"dev": "rm -rf dist && esbuild --bundle src/css-toggles.js --format=esm --servedir=. --outdir=dist --sourcemap --serve=3000",
"format:css": "stylelint --fix src/**/*.css",
"format:js": "prettier --write {src,tests}/**/*.js && eslint --fix {src,tests}/**/*.js",
"format": "yarn format:css && yarn format:js",
"lint:css": "stylelint src/**/*.css",
"lint:js": "prettier --check {src,tests}/**/*.js && eslint {src,tests}/**/*.js",
"lint": "yarn lint:css && yarn lint:js",
"prepack": "yarn build",
"preview": "rm -rf dist && yarn build && esbuild --servedir=. --serve=\"${PORT:-3000}\" --log-level=\"${LEVEL:-info}\"",
"test": "playwright test",
"test:ci": "playwright test --browser=all"
},
"devDependencies": {
"@playwright/test": "^1.21.1",
"esbuild": "^0.14.36",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-promise": "^6.0.0",
"prettier": "^2.6.2",
"stylelint": "^14.7.1",
"stylelint-config-standard": "^25.0.0"
},
"dependencies": {
"stylis": "^4.1.0"
}
}