UNPKG

1.92 kBJSONView Raw
1{
2 "name": "@oddbird/css-toggles",
3 "version": "1.0.2",
4 "description": "Polyfill for the proposed CSS Toggles syntax",
5 "publishConfig": {
6 "access": "public"
7 },
8 "author": "OddBird <birds@oddbird.net> (oddbird.net)",
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/oddbird/css-toggles.git"
12 },
13 "bugs": "https://github.com/oddbird/css-toggles/issues",
14 "homepage": "https://toggles.oddbird.net",
15 "keywords": [
16 "css",
17 "polyfill",
18 "toggle"
19 ],
20 "type": "module",
21 "main": "dist/css-toggles.js",
22 "module": "dist/css-toggles.js",
23 "files": [
24 "README.md",
25 "src/css-toggles.js",
26 "dist/css-toggles.iife.min.js",
27 "dist/css-toggles.min.js",
28 "dist/css-toggles.js",
29 "package.json"
30 ],
31 "scripts": {
32 "build:iife:minified": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.iife.min.js --format=iife --minify",
33 "build:esm:minified": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.min.js --format=esm --minify",
34 "build:esm:debug": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.js --format=esm",
35 "build": "rm -rf dist && yarn build:esm:debug && yarn build:esm:minified && yarn build:iife:minified",
36 "dev": "rm -rf dist && esbuild --bundle src/css-toggles.js --format=esm --servedir=. --outdir=dist --serve=3000 --sourcemap=inline",
37 "format:css": "stylelint --fix src/**/*.css",
38 "format:js": "prettier --write src/**/*.js",
39 "format": "yarn format:css && yarn format:js",
40 "lint:css": "stylelint src/**/*.css",
41 "lint:js": "prettier --check src/**/*.js",
42 "lint": "yarn lint:css && yarn lint:js",
43 "prepack": "yarn build",
44 "test": "echo 'TODO: ADD TESTS'"
45 },
46 "devDependencies": {
47 "esbuild": "^0.14.36",
48 "prettier": "^2.6.2",
49 "stylelint": "^14.7.1",
50 "stylelint-config-standard": "^25.0.0"
51 },
52 "dependencies": {
53 "stylis": "^4.1.0"
54 }
55}